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

com.pulumi.alicloud.cr.outputs.GetChainsChain 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.cr.outputs;

import com.pulumi.alicloud.cr.outputs.GetChainsChainChainConfig;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.List;
import java.util.Objects;

@CustomType
public final class GetChainsChain {
    /**
     * @return The configuration of delivery chain.
     * 
     */
    private List chainConfigs;
    /**
     * @return The ID of delivery chain.
     * 
     */
    private String chainId;
    /**
     * @return The name of delivery chain.
     * 
     */
    private String chainName;
    /**
     * @return The creation time of delivery chain.
     * 
     */
    private String createTime;
    /**
     * @return The description of delivery chain.
     * 
     */
    private String description;
    /**
     * @return The resource ID of the delivery chain. The value formats as `<instance_id>:<chain_id>`.
     * 
     */
    private String id;
    /**
     * @return The ID of CR Enterprise Edition instance.
     * 
     */
    private String instanceId;
    /**
     * @return The modification time of delivery chain description.
     * 
     */
    private String modifiedTime;
    /**
     * @return Delivery chain scope ID.
     * 
     */
    private String scopeId;
    /**
     * @return Delivery chain scope type.
     * 
     */
    private String scopeType;

    private GetChainsChain() {}
    /**
     * @return The configuration of delivery chain.
     * 
     */
    public List chainConfigs() {
        return this.chainConfigs;
    }
    /**
     * @return The ID of delivery chain.
     * 
     */
    public String chainId() {
        return this.chainId;
    }
    /**
     * @return The name of delivery chain.
     * 
     */
    public String chainName() {
        return this.chainName;
    }
    /**
     * @return The creation time of delivery chain.
     * 
     */
    public String createTime() {
        return this.createTime;
    }
    /**
     * @return The description of delivery chain.
     * 
     */
    public String description() {
        return this.description;
    }
    /**
     * @return The resource ID of the delivery chain. The value formats as `<instance_id>:<chain_id>`.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return The ID of CR Enterprise Edition instance.
     * 
     */
    public String instanceId() {
        return this.instanceId;
    }
    /**
     * @return The modification time of delivery chain description.
     * 
     */
    public String modifiedTime() {
        return this.modifiedTime;
    }
    /**
     * @return Delivery chain scope ID.
     * 
     */
    public String scopeId() {
        return this.scopeId;
    }
    /**
     * @return Delivery chain scope type.
     * 
     */
    public String scopeType() {
        return this.scopeType;
    }

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

    public static Builder builder(GetChainsChain defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private List chainConfigs;
        private String chainId;
        private String chainName;
        private String createTime;
        private String description;
        private String id;
        private String instanceId;
        private String modifiedTime;
        private String scopeId;
        private String scopeType;
        public Builder() {}
        public Builder(GetChainsChain defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.chainConfigs = defaults.chainConfigs;
    	      this.chainId = defaults.chainId;
    	      this.chainName = defaults.chainName;
    	      this.createTime = defaults.createTime;
    	      this.description = defaults.description;
    	      this.id = defaults.id;
    	      this.instanceId = defaults.instanceId;
    	      this.modifiedTime = defaults.modifiedTime;
    	      this.scopeId = defaults.scopeId;
    	      this.scopeType = defaults.scopeType;
        }

        @CustomType.Setter
        public Builder chainConfigs(List chainConfigs) {
            if (chainConfigs == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "chainConfigs");
            }
            this.chainConfigs = chainConfigs;
            return this;
        }
        public Builder chainConfigs(GetChainsChainChainConfig... chainConfigs) {
            return chainConfigs(List.of(chainConfigs));
        }
        @CustomType.Setter
        public Builder chainId(String chainId) {
            if (chainId == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "chainId");
            }
            this.chainId = chainId;
            return this;
        }
        @CustomType.Setter
        public Builder chainName(String chainName) {
            if (chainName == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "chainName");
            }
            this.chainName = chainName;
            return this;
        }
        @CustomType.Setter
        public Builder createTime(String createTime) {
            if (createTime == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "createTime");
            }
            this.createTime = createTime;
            return this;
        }
        @CustomType.Setter
        public Builder description(String description) {
            if (description == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "description");
            }
            this.description = description;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder instanceId(String instanceId) {
            if (instanceId == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "instanceId");
            }
            this.instanceId = instanceId;
            return this;
        }
        @CustomType.Setter
        public Builder modifiedTime(String modifiedTime) {
            if (modifiedTime == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "modifiedTime");
            }
            this.modifiedTime = modifiedTime;
            return this;
        }
        @CustomType.Setter
        public Builder scopeId(String scopeId) {
            if (scopeId == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "scopeId");
            }
            this.scopeId = scopeId;
            return this;
        }
        @CustomType.Setter
        public Builder scopeType(String scopeType) {
            if (scopeType == null) {
              throw new MissingRequiredPropertyException("GetChainsChain", "scopeType");
            }
            this.scopeType = scopeType;
            return this;
        }
        public GetChainsChain build() {
            final var _resultValue = new GetChainsChain();
            _resultValue.chainConfigs = chainConfigs;
            _resultValue.chainId = chainId;
            _resultValue.chainName = chainName;
            _resultValue.createTime = createTime;
            _resultValue.description = description;
            _resultValue.id = id;
            _resultValue.instanceId = instanceId;
            _resultValue.modifiedTime = modifiedTime;
            _resultValue.scopeId = scopeId;
            _resultValue.scopeType = scopeType;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy