
com.pulumi.aws.s3control.outputs.StorageLensConfigurationStorageLensConfigurationExclude Maven / Gradle / Ivy
// *** 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 java.lang.String;
import java.util.List;
import java.util.Objects;
import javax.annotation.Nullable;
@CustomType
public final class StorageLensConfigurationStorageLensConfigurationExclude {
/**
* @return List of S3 bucket ARNs.
*
*/
private @Nullable List buckets;
/**
* @return List of AWS Regions.
*
*/
private @Nullable List regions;
private StorageLensConfigurationStorageLensConfigurationExclude() {}
/**
* @return List of S3 bucket ARNs.
*
*/
public List buckets() {
return this.buckets == null ? List.of() : this.buckets;
}
/**
* @return List of AWS Regions.
*
*/
public List regions() {
return this.regions == null ? List.of() : this.regions;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(StorageLensConfigurationStorageLensConfigurationExclude defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable List buckets;
private @Nullable List regions;
public Builder() {}
public Builder(StorageLensConfigurationStorageLensConfigurationExclude defaults) {
Objects.requireNonNull(defaults);
this.buckets = defaults.buckets;
this.regions = defaults.regions;
}
@CustomType.Setter
public Builder buckets(@Nullable List buckets) {
this.buckets = buckets;
return this;
}
public Builder buckets(String... buckets) {
return buckets(List.of(buckets));
}
@CustomType.Setter
public Builder regions(@Nullable List regions) {
this.regions = regions;
return this;
}
public Builder regions(String... regions) {
return regions(List.of(regions));
}
public StorageLensConfigurationStorageLensConfigurationExclude build() {
final var _resultValue = new StorageLensConfigurationStorageLensConfigurationExclude();
_resultValue.buckets = buckets;
_resultValue.regions = regions;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy