com.pulumi.aws.kms.outputs.GetKeyMultiRegionConfigurationReplicaKey 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.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 GetKeyMultiRegionConfigurationReplicaKey {
/**
* @return The key ARN of a primary or replica key of a multi-Region key.
*
*/
private String arn;
/**
* @return The AWS Region of a primary or replica key in a multi-Region key.
*
*/
private String region;
private GetKeyMultiRegionConfigurationReplicaKey() {}
/**
* @return The key ARN of a primary or replica key of a multi-Region key.
*
*/
public String arn() {
return this.arn;
}
/**
* @return The AWS Region of a primary or replica key in a multi-Region key.
*
*/
public String region() {
return this.region;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(GetKeyMultiRegionConfigurationReplicaKey defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private String arn;
private String region;
public Builder() {}
public Builder(GetKeyMultiRegionConfigurationReplicaKey defaults) {
Objects.requireNonNull(defaults);
this.arn = defaults.arn;
this.region = defaults.region;
}
@CustomType.Setter
public Builder arn(String arn) {
if (arn == null) {
throw new MissingRequiredPropertyException("GetKeyMultiRegionConfigurationReplicaKey", "arn");
}
this.arn = arn;
return this;
}
@CustomType.Setter
public Builder region(String region) {
if (region == null) {
throw new MissingRequiredPropertyException("GetKeyMultiRegionConfigurationReplicaKey", "region");
}
this.region = region;
return this;
}
public GetKeyMultiRegionConfigurationReplicaKey build() {
final var _resultValue = new GetKeyMultiRegionConfigurationReplicaKey();
_resultValue.arn = arn;
_resultValue.region = region;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy