All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.alicloud.oos.outputs.GetPatchBaselinesBaseline Maven / Gradle / Ivy

There is a newer version: 3.63.0-alpha.1727424957
Show newest version
// *** WARNING: this file was generated by pulumi-java-gen. ***
// *** Do not edit by hand unless you're certain you know what you are doing! ***

package com.pulumi.alicloud.oos.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.Boolean;
import java.lang.String;
import java.util.Objects;

@CustomType
public final class GetPatchBaselinesBaseline {
    /**
     * @return Accept the rules.
     * 
     */
    private String approvalRules;
    /**
     * @return The create time of patch baselines.
     * 
     */
    private String createTime;
    /**
     * @return The user who created the patch baselines.
     * 
     */
    private String createdBy;
    /**
     * @return Patches baseline description information.
     * 
     */
    private String description;
    /**
     * @return The ID of the Patch Baseline. Its value is same as `patch_baseline_name`.
     * 
     */
    private String id;
    /**
     * @return Whether it is the default patch baseline.
     * 
     */
    private Boolean isDefault;
    /**
     * @return Operating system type.
     * 
     */
    private String operationSystem;
    /**
     * @return Patch baseline ID.
     * 
     */
    private String patchBaselineId;
    /**
     * @return The name of the patch baseline.
     * 
     */
    private String patchBaselineName;
    /**
     * @return Patch baseline sharing type.
     * 
     */
    private String shareType;
    /**
     * @return The user who updated the patch baselines.
     * 
     */
    private String updatedBy;
    /**
     * @return The update time of patch baselines.
     * 
     */
    private String updatedDate;

    private GetPatchBaselinesBaseline() {}
    /**
     * @return Accept the rules.
     * 
     */
    public String approvalRules() {
        return this.approvalRules;
    }
    /**
     * @return The create time of patch baselines.
     * 
     */
    public String createTime() {
        return this.createTime;
    }
    /**
     * @return The user who created the patch baselines.
     * 
     */
    public String createdBy() {
        return this.createdBy;
    }
    /**
     * @return Patches baseline description information.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The ID of the Patch Baseline. Its value is same as `patch_baseline_name`.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return Whether it is the default patch baseline.
     * 
     */
    public Boolean isDefault() {
        return this.isDefault;
    }
    /**
     * @return Operating system type.
     * 
     */
    public String operationSystem() {
        return this.operationSystem;
    }
    /**
     * @return Patch baseline ID.
     * 
     */
    public String patchBaselineId() {
        return this.patchBaselineId;
    }
    /**
     * @return The name of the patch baseline.
     * 
     */
    public String patchBaselineName() {
        return this.patchBaselineName;
    }
    /**
     * @return Patch baseline sharing type.
     * 
     */
    public String shareType() {
        return this.shareType;
    }
    /**
     * @return The user who updated the patch baselines.
     * 
     */
    public String updatedBy() {
        return this.updatedBy;
    }
    /**
     * @return The update time of patch baselines.
     * 
     */
    public String updatedDate() {
        return this.updatedDate;
    }

    public static Builder builder() {
        return new Builder();
    }

    public static Builder builder(GetPatchBaselinesBaseline defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String approvalRules;
        private String createTime;
        private String createdBy;
        private String description;
        private String id;
        private Boolean isDefault;
        private String operationSystem;
        private String patchBaselineId;
        private String patchBaselineName;
        private String shareType;
        private String updatedBy;
        private String updatedDate;
        public Builder() {}
        public Builder(GetPatchBaselinesBaseline defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.approvalRules = defaults.approvalRules;
    	      this.createTime = defaults.createTime;
    	      this.createdBy = defaults.createdBy;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.isDefault = defaults.isDefault;
    	      this.operationSystem = defaults.operationSystem;
    	      this.patchBaselineId = defaults.patchBaselineId;
    	      this.patchBaselineName = defaults.patchBaselineName;
    	      this.shareType = defaults.shareType;
    	      this.updatedBy = defaults.updatedBy;
    	      this.updatedDate = defaults.updatedDate;
        }

        @CustomType.Setter
        public Builder approvalRules(String approvalRules) {
            if (approvalRules == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "approvalRules");
            }
            this.approvalRules = approvalRules;
            return this;
        }
        @CustomType.Setter
        public Builder createTime(String createTime) {
            if (createTime == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "createTime");
            }
            this.createTime = createTime;
            return this;
        }
        @CustomType.Setter
        public Builder createdBy(String createdBy) {
            if (createdBy == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "createdBy");
            }
            this.createdBy = createdBy;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder isDefault(Boolean isDefault) {
            if (isDefault == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "isDefault");
            }
            this.isDefault = isDefault;
            return this;
        }
        @CustomType.Setter
        public Builder operationSystem(String operationSystem) {
            if (operationSystem == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "operationSystem");
            }
            this.operationSystem = operationSystem;
            return this;
        }
        @CustomType.Setter
        public Builder patchBaselineId(String patchBaselineId) {
            if (patchBaselineId == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "patchBaselineId");
            }
            this.patchBaselineId = patchBaselineId;
            return this;
        }
        @CustomType.Setter
        public Builder patchBaselineName(String patchBaselineName) {
            if (patchBaselineName == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "patchBaselineName");
            }
            this.patchBaselineName = patchBaselineName;
            return this;
        }
        @CustomType.Setter
        public Builder shareType(String shareType) {
            if (shareType == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "shareType");
            }
            this.shareType = shareType;
            return this;
        }
        @CustomType.Setter
        public Builder updatedBy(String updatedBy) {
            if (updatedBy == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "updatedBy");
            }
            this.updatedBy = updatedBy;
            return this;
        }
        @CustomType.Setter
        public Builder updatedDate(String updatedDate) {
            if (updatedDate == null) {
              throw new MissingRequiredPropertyException("GetPatchBaselinesBaseline", "updatedDate");
            }
            this.updatedDate = updatedDate;
            return this;
        }
        public GetPatchBaselinesBaseline build() {
            final var _resultValue = new GetPatchBaselinesBaseline();
            _resultValue.approvalRules = approvalRules;
            _resultValue.createTime = createTime;
            _resultValue.createdBy = createdBy;
            _resultValue.description = description;
            _resultValue.id = id;
            _resultValue.isDefault = isDefault;
            _resultValue.operationSystem = operationSystem;
            _resultValue.patchBaselineId = patchBaselineId;
            _resultValue.patchBaselineName = patchBaselineName;
            _resultValue.shareType = shareType;
            _resultValue.updatedBy = updatedBy;
            _resultValue.updatedDate = updatedDate;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy