All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.pulumi.azurenative.awsconnector.inputs.AccessControlTranslationArgs Maven / Gradle / Ivy

There is a newer version: 2.72.0
Show newest version
// *** 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.inputs;

import com.pulumi.core.Output;
import com.pulumi.core.annotations.Import;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;


/**
 * Definition of AccessControlTranslation
 * 
 */
public final class AccessControlTranslationArgs extends com.pulumi.resources.ResourceArgs {

    public static final AccessControlTranslationArgs Empty = new AccessControlTranslationArgs();

    /**
     * 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*.
     * 
     */
    @Import(name="owner")
    private @Nullable 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*.
     * 
     */
    public Optional> owner() {
        return Optional.ofNullable(this.owner);
    }

    private AccessControlTranslationArgs() {}

    private AccessControlTranslationArgs(AccessControlTranslationArgs $) {
        this.owner = $.owner;
    }

    public static Builder builder() {
        return new Builder();
    }
    public static Builder builder(AccessControlTranslationArgs defaults) {
        return new Builder(defaults);
    }

    public static final class Builder {
        private AccessControlTranslationArgs $;

        public Builder() {
            $ = new AccessControlTranslationArgs();
        }

        public Builder(AccessControlTranslationArgs defaults) {
            $ = new AccessControlTranslationArgs(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*.
         * 
         * @return builder
         * 
         */
        public Builder owner(@Nullable 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*.
         * 
         * @return builder
         * 
         */
        public Builder owner(String owner) {
            return owner(Output.of(owner));
        }

        public AccessControlTranslationArgs build() {
            return $;
        }
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy