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

com.pulumi.aws.s3control.outputs.MultiRegionAccessPointDetailsRegion Maven / Gradle / Ivy

Go to download

A Pulumi package for creating and managing Amazon Web Services (AWS) cloud resources.

The 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.aws.s3control.outputs;

import com.pulumi.core.annotations.CustomType;
import com.pulumi.exceptions.MissingRequiredPropertyException;
import java.lang.String;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;

@CustomType
public final class MultiRegionAccessPointDetailsRegion {
    private String bucket;
    private @Nullable String bucketAccountId;
    private @Nullable String region;

    private MultiRegionAccessPointDetailsRegion() {}
    public String bucket() {
        return this.bucket;
    }
    public Optional bucketAccountId() {
        return Optional.ofNullable(this.bucketAccountId);
    }
    public Optional region() {
        return Optional.ofNullable(this.region);
    }

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

    public static Builder builder(MultiRegionAccessPointDetailsRegion defaults) {
        return new Builder(defaults);
    }
    @CustomType.Builder
    public static final class Builder {
        private String bucket;
        private @Nullable String bucketAccountId;
        private @Nullable String region;
        public Builder() {}
        public Builder(MultiRegionAccessPointDetailsRegion defaults) {
    	      Objects.requireNonNull(defaults);
    	      this.bucket = defaults.bucket;
    	      this.bucketAccountId = defaults.bucketAccountId;
    	      this.region = defaults.region;
        }

        @CustomType.Setter
        public Builder bucket(String bucket) {
            if (bucket == null) {
              throw new MissingRequiredPropertyException("MultiRegionAccessPointDetailsRegion", "bucket");
            }
            this.bucket = bucket;
            return this;
        }
        @CustomType.Setter
        public Builder bucketAccountId(@Nullable String bucketAccountId) {

            this.bucketAccountId = bucketAccountId;
            return this;
        }
        @CustomType.Setter
        public Builder region(@Nullable String region) {

            this.region = region;
            return this;
        }
        public MultiRegionAccessPointDetailsRegion build() {
            final var _resultValue = new MultiRegionAccessPointDetailsRegion();
            _resultValue.bucket = bucket;
            _resultValue.bucketAccountId = bucketAccountId;
            _resultValue.region = region;
            return _resultValue;
        }
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy