com.pulumi.aws.s3.inputs.BucketReplicationConfigRuleDestinationAccessControlTranslationArgs 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.s3.inputs;
import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
public final class BucketReplicationConfigRuleDestinationAccessControlTranslationArgs extends com.pulumi.resources.ResourceArgs {
public static final BucketReplicationConfigRuleDestinationAccessControlTranslationArgs Empty = new BucketReplicationConfigRuleDestinationAccessControlTranslationArgs();
/**
* Specifies the replica ownership. For default and valid values, see [PUT bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) in the Amazon S3 API Reference. Valid values: `Destination`.
*
*/
@Import(name="owner", required=true)
private Output owner;
/**
* @return Specifies the replica ownership. For default and valid values, see [PUT bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) in the Amazon S3 API Reference. Valid values: `Destination`.
*
*/
public Output owner() {
return this.owner;
}
private BucketReplicationConfigRuleDestinationAccessControlTranslationArgs() {}
private BucketReplicationConfigRuleDestinationAccessControlTranslationArgs(BucketReplicationConfigRuleDestinationAccessControlTranslationArgs $) {
this.owner = $.owner;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(BucketReplicationConfigRuleDestinationAccessControlTranslationArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private BucketReplicationConfigRuleDestinationAccessControlTranslationArgs $;
public Builder() {
$ = new BucketReplicationConfigRuleDestinationAccessControlTranslationArgs();
}
public Builder(BucketReplicationConfigRuleDestinationAccessControlTranslationArgs defaults) {
$ = new BucketReplicationConfigRuleDestinationAccessControlTranslationArgs(Objects.requireNonNull(defaults));
}
/**
* @param owner Specifies the replica ownership. For default and valid values, see [PUT bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) in the Amazon S3 API Reference. Valid values: `Destination`.
*
* @return builder
*
*/
public Builder owner(Output owner) {
$.owner = owner;
return this;
}
/**
* @param owner Specifies the replica ownership. For default and valid values, see [PUT bucket replication](https://docs.aws.amazon.com/AmazonS3/latest/API/RESTBucketPUTreplication.html) in the Amazon S3 API Reference. Valid values: `Destination`.
*
* @return builder
*
*/
public Builder owner(String owner) {
return owner(Output.of(owner));
}
public BucketReplicationConfigRuleDestinationAccessControlTranslationArgs build() {
if ($.owner == null) {
throw new MissingRequiredPropertyException("BucketReplicationConfigRuleDestinationAccessControlTranslationArgs", "owner");
}
return $;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy