com.pulumi.aws.fsx.outputs.DataRepositoryAssociationS3 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.fsx.outputs;
import com.pulumi.aws.fsx.outputs.DataRepositoryAssociationS3AutoExportPolicy;
import com.pulumi.aws.fsx.outputs.DataRepositoryAssociationS3AutoImportPolicy;
import com.pulumi.core.annotations.CustomType;
import java.util.Objects;
import java.util.Optional;
import javax.annotation.Nullable;
@CustomType
public final class DataRepositoryAssociationS3 {
/**
* @return Specifies the type of updated objects that will be automatically exported from your file system to the linked S3 bucket. See the `events` configuration block.
*
*/
private @Nullable DataRepositoryAssociationS3AutoExportPolicy autoExportPolicy;
/**
* @return Specifies the type of updated objects that will be automatically imported from the linked S3 bucket to your file system. See the `events` configuration block.
*
*/
private @Nullable DataRepositoryAssociationS3AutoImportPolicy autoImportPolicy;
private DataRepositoryAssociationS3() {}
/**
* @return Specifies the type of updated objects that will be automatically exported from your file system to the linked S3 bucket. See the `events` configuration block.
*
*/
public Optional autoExportPolicy() {
return Optional.ofNullable(this.autoExportPolicy);
}
/**
* @return Specifies the type of updated objects that will be automatically imported from the linked S3 bucket to your file system. See the `events` configuration block.
*
*/
public Optional autoImportPolicy() {
return Optional.ofNullable(this.autoImportPolicy);
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(DataRepositoryAssociationS3 defaults) {
return new Builder(defaults);
}
@CustomType.Builder
public static final class Builder {
private @Nullable DataRepositoryAssociationS3AutoExportPolicy autoExportPolicy;
private @Nullable DataRepositoryAssociationS3AutoImportPolicy autoImportPolicy;
public Builder() {}
public Builder(DataRepositoryAssociationS3 defaults) {
Objects.requireNonNull(defaults);
this.autoExportPolicy = defaults.autoExportPolicy;
this.autoImportPolicy = defaults.autoImportPolicy;
}
@CustomType.Setter
public Builder autoExportPolicy(@Nullable DataRepositoryAssociationS3AutoExportPolicy autoExportPolicy) {
this.autoExportPolicy = autoExportPolicy;
return this;
}
@CustomType.Setter
public Builder autoImportPolicy(@Nullable DataRepositoryAssociationS3AutoImportPolicy autoImportPolicy) {
this.autoImportPolicy = autoImportPolicy;
return this;
}
public DataRepositoryAssociationS3 build() {
final var _resultValue = new DataRepositoryAssociationS3();
_resultValue.autoExportPolicy = autoExportPolicy;
_resultValue.autoImportPolicy = autoImportPolicy;
return _resultValue;
}
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy