com.pulumi.azurenative.awsconnector.outputs.ProviderResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-native Show documentation
Show all versions of azure-native Show documentation
A native Pulumi package for creating and managing Azure 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.azurenative.awsconnector.outputs;
import com.pulumi.core.annotations.CustomType;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class ProviderResponse {
/**
* @return <p>Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric and created in the same Amazon Web Services Region as the cluster. If the KMS key was created in a different account, the <a href='https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html'>IAM principal</a> must have access to the KMS key. For more information, see <a href='https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html'>Allowing users in other accounts to use a KMS key</a> in the <i>Key Management Service Developer Guide</i>.</p>
*
*/
private @Nullable String keyArn;
private ProviderResponse() {}
/**
* @return <p>Amazon Resource Name (ARN) or alias of the KMS key. The KMS key must be symmetric and created in the same Amazon Web Services Region as the cluster. If the KMS key was created in a different account, the <a href='https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_terms-and-concepts.html'>IAM principal</a> must have access to the KMS key. For more information, see <a href='https://docs.aws.amazon.com/kms/latest/developerguide/key-policy-modifying-external-accounts.html'>Allowing users in other accounts to use a KMS key</a> in the <i>Key Management Service Developer Guide</i>.</p>
*
*/
public Optional keyArn() {
return Optional.ofNullable(this.keyArn);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(ProviderResponse defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable String keyArn;
public Builder() {}
public Builder(ProviderResponse defaults) {
Objects.requireNonNull(defaults);
this.keyArn = defaults.keyArn;
}
@CustomType.Setter
public Builder keyArn(@Nullable String keyArn) {
this.keyArn = keyArn;
return this;
}
public ProviderResponse build() {
final var _resultValue = new ProviderResponse();
_resultValue.keyArn = keyArn;
return _resultValue;
}
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy