com.pulumi.alicloud.kms.outputs.GetAliasesAlias Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alicloud Show documentation
Show all versions of alicloud Show documentation
A Pulumi package for creating and managing AliCloud resources.
// *** 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;
}
}
}