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

com.pulumi.alicloud.kms.outputs.GetAliasesAlias 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.kms.outputs;

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

@CustomType
public final class GetAliasesAlias {
    /**
     * @return The unique identifier of the alias.
     * 
     */
    private String aliasName;
    /**
     * @return ID of the alias. The value is same as KMS alias_name.
     * 
     */
    private String id;
    /**
     * @return ID of the key.
     * 
     */
    private String keyId;

    private GetAliasesAlias() {}
    /**
     * @return The unique identifier of the alias.
     * 
     */
    public String aliasName() {
        return this.aliasName;
    }
    /**
     * @return ID of the alias. The value is same as KMS alias_name.
     * 
     */
    public String id() {
        return this.id;
    }
    /**
     * @return ID of the key.
     * 
     */
    public String keyId() {
        return this.keyId;
    }

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

    public static Builder builder(GetAliasesAlias defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String aliasName;
        private String id;
        private String keyId;
        public Builder() {}
        public Builder(GetAliasesAlias defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.aliasName = defaults.aliasName;
    	      this.id = defaults.id;
    	      this.keyId = defaults.keyId;
        }

        @CustomType.Setter
        public Builder aliasName(String aliasName) {
            if (aliasName == null) {
              throw new MissingRequiredPropertyException("GetAliasesAlias", "aliasName");
            }
            this.aliasName = aliasName;
            return this;
        }
        @CustomType.Setter
        public Builder id(String id) {
            if (id == null) {
              throw new MissingRequiredPropertyException("GetAliasesAlias", "id");
            }
            this.id = id;
            return this;
        }
        @CustomType.Setter
        public Builder keyId(String keyId) {
            if (keyId == null) {
              throw new MissingRequiredPropertyException("GetAliasesAlias", "keyId");
            }
            this.keyId = keyId;
            return this;
        }
        public GetAliasesAlias build() {
            final var _resultValue = new GetAliasesAlias();
            _resultValue.aliasName = aliasName;
            _resultValue.id = id;
            _resultValue.keyId = keyId;
            return _resultValue;
        }
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy