com.pulumi.aws.iam.outputs.GetAccountAliasResult Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws Show documentation
Show all versions of aws Show documentation
A Pulumi package for creating and managing Amazon Web Services (AWS) cloud 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.aws.iam.outputs;
import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
@CustomType
public final class GetAccountAliasResult {
/**
* @return Alias associated with the AWS account.
*
*/
private String accountAlias;
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
private String id;
private GetAccountAliasResult() {}
/**
* @return Alias associated with the AWS account.
*
*/
public String accountAlias() {
return this.accountAlias;
}
/**
* @return The provider-assigned unique ID for this managed resource.
*
*/
public String id() {
return this.id;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetAccountAliasResult defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String accountAlias;
private String id;
public Builder() {}
public Builder(GetAccountAliasResult defaults) {
Objects.requireNonNull(defaults);
this.accountAlias = defaults.accountAlias;
this.id = defaults.id;
}
@CustomType.Setter
public Builder accountAlias(String accountAlias) {
if (accountAlias == null) {
throw new MissingRequiredPropertyException("GetAccountAliasResult", "accountAlias");
}
this.accountAlias = accountAlias;
return this;
}
@CustomType.Setter
public Builder id(String id) {
if (id == null) {
throw new MissingRequiredPropertyException("GetAccountAliasResult", "id");
}
this.id = id;
return this;
}
public GetAccountAliasResult build() {
final var _resultValue = new GetAccountAliasResult();
_resultValue.accountAlias = accountAlias;
_resultValue.id = id;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy