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

com.pulumi.alicloud.oos.outputs.GetStateConfigurationsConfiguration 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.String;
import java.util.Map;
import java.util.Objects;

@CustomType
public final class GetStateConfigurationsConfiguration {
    /**
     * @return The configuration mode.
     * 
     */
    private String configureMode;
    /**
     * @return The creation time.
     * 
     */
    private String createTime;
    /**
     * @return The description.
     * 
     */
    private String description;
    /**
     * @return The ID of the State Configuration.
     * 
     */
    private String id;
    /**
     * @return The parameters.
     * 
     */
    private String parameters;
    /**
     * @return The ID of the resource group.
     * 
     */
    private String resourceGroupId;
    /**
     * @return The schedule expression.
     * 
     */
    private String scheduleExpression;
    /**
     * @return The schedule type.
     * 
     */
    private String scheduleType;
    /**
     * @return The ID of the final state configuration.
     * 
     */
    private String stateConfigurationId;
    /**
     * @return The tag of the resource.
     * 
     */
    private Map tags;
    /**
     * @return The target resource.
     * 
     */
    private String targets;
    /**
     * @return The ID of the template.
     * 
     */
    private String templateId;
    /**
     * @return The name of the template.
     * 
     */
    private String templateName;
    /**
     * @return The version of the template.
     * 
     */
    private String templateVersion;
    /**
     * @return The time when the configuration is updated.
     * 
     */
    private String updateTime;

    private GetStateConfigurationsConfiguration() {}
    /**
     * @return The configuration mode.
     * 
     */
    public String configureMode() {
        return this.configureMode;
    }
    /**
     * @return The creation time.
     * 
     */
    public String createTime() {
        return this.createTime;
    }
    /**
     * @return The description.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The ID of the State Configuration.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The parameters.
     * 
     */
    public String parameters() {
        return this.parameters;
    }
    /**
     * @return The ID of the resource group.
     * 
     */
    public String resourceGroupId() {
        return this.resourceGroupId;
    }
    /**
     * @return The schedule expression.
     * 
     */
    public String scheduleExpression() {
        return this.scheduleExpression;
    }
    /**
     * @return The schedule type.
     * 
     */
    public String scheduleType() {
        return this.scheduleType;
    }
    /**
     * @return The ID of the final state configuration.
     * 
     */
    public String stateConfigurationId() {
        return this.stateConfigurationId;
    }
    /**
     * @return The tag of the resource.
     * 
     */
    public Map tags() {
        return this.tags;
    }
    /**
     * @return The target resource.
     * 
     */
    public String targets() {
        return this.targets;
    }
    /**
     * @return The ID of the template.
     * 
     */
    public String templateId() {
        return this.templateId;
    }
    /**
     * @return The name of the template.
     * 
     */
    public String templateName() {
        return this.templateName;
    }
    /**
     * @return The version of the template.
     * 
     */
    public String templateVersion() {
        return this.templateVersion;
    }
    /**
     * @return The time when the configuration is updated.
     * 
     */
    public String updateTime() {
        return this.updateTime;
    }

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

    public static Builder builder(GetStateConfigurationsConfiguration defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String configureMode;
        private String createTime;
        private String description;
        private String id;
        private String parameters;
        private String resourceGroupId;
        private String scheduleExpression;
        private String scheduleType;
        private String stateConfigurationId;
        private Map tags;
        private String targets;
        private String templateId;
        private String templateName;
        private String templateVersion;
        private String updateTime;
        public Builder() {}
        public Builder(GetStateConfigurationsConfiguration defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.configureMode = defaults.configureMode;
    	      this.createTime = defaults.createTime;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.parameters = defaults.parameters;
    	      this.resourceGroupId = defaults.resourceGroupId;
    	      this.scheduleExpression = defaults.scheduleExpression;
    	      this.scheduleType = defaults.scheduleType;
    	      this.stateConfigurationId = defaults.stateConfigurationId;
    	      this.tags = defaults.tags;
    	      this.targets = defaults.targets;
    	      this.templateId = defaults.templateId;
    	      this.templateName = defaults.templateName;
    	      this.templateVersion = defaults.templateVersion;
    	      this.updateTime = defaults.updateTime;
        }

        @CustomType.Setter
        public Builder configureMode(String configureMode) {
            if (configureMode == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "configureMode");
            }
            this.configureMode = configureMode;
            return this;
        }
        @CustomType.Setter
        public Builder createTime(String createTime) {
            if (createTime == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "createTime");
            }
            this.createTime = createTime;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder parameters(String parameters) {
            if (parameters == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "parameters");
            }
            this.parameters = parameters;
            return this;
        }
        @CustomType.Setter
        public Builder resourceGroupId(String resourceGroupId) {
            if (resourceGroupId == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "resourceGroupId");
            }
            this.resourceGroupId = resourceGroupId;
            return this;
        }
        @CustomType.Setter
        public Builder scheduleExpression(String scheduleExpression) {
            if (scheduleExpression == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "scheduleExpression");
            }
            this.scheduleExpression = scheduleExpression;
            return this;
        }
        @CustomType.Setter
        public Builder scheduleType(String scheduleType) {
            if (scheduleType == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "scheduleType");
            }
            this.scheduleType = scheduleType;
            return this;
        }
        @CustomType.Setter
        public Builder stateConfigurationId(String stateConfigurationId) {
            if (stateConfigurationId == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "stateConfigurationId");
            }
            this.stateConfigurationId = stateConfigurationId;
            return this;
        }
        @CustomType.Setter
        public Builder tags(Map tags) {
            if (tags == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "tags");
            }
            this.tags = tags;
            return this;
        }
        @CustomType.Setter
        public Builder targets(String targets) {
            if (targets == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "targets");
            }
            this.targets = targets;
            return this;
        }
        @CustomType.Setter
        public Builder templateId(String templateId) {
            if (templateId == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "templateId");
            }
            this.templateId = templateId;
            return this;
        }
        @CustomType.Setter
        public Builder templateName(String templateName) {
            if (templateName == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "templateName");
            }
            this.templateName = templateName;
            return this;
        }
        @CustomType.Setter
        public Builder templateVersion(String templateVersion) {
            if (templateVersion == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "templateVersion");
            }
            this.templateVersion = templateVersion;
            return this;
        }
        @CustomType.Setter
        public Builder updateTime(String updateTime) {
            if (updateTime == null) {
              throw new MissingRequiredPropertyException("GetStateConfigurationsConfiguration", "updateTime");
            }
            this.updateTime = updateTime;
            return this;
        }
        public GetStateConfigurationsConfiguration build() {
            final var _resultValue = new GetStateConfigurationsConfiguration();
            _resultValue.configureMode = configureMode;
            _resultValue.createTime = createTime;
            _resultValue.description = description;
            _resultValue.id = id;
            _resultValue.parameters = parameters;
            _resultValue.resourceGroupId = resourceGroupId;
            _resultValue.scheduleExpression = scheduleExpression;
            _resultValue.scheduleType = scheduleType;
            _resultValue.stateConfigurationId = stateConfigurationId;
            _resultValue.tags = tags;
            _resultValue.targets = targets;
            _resultValue.templateId = templateId;
            _resultValue.templateName = templateName;
            _resultValue.templateVersion = templateVersion;
            _resultValue.updateTime = updateTime;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy