Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.pulumi.aws.efs.inputs.FileSystemLifecyclePolicyArgs Maven / Gradle / Ivy
Go to download
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.efs.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;
public final class FileSystemLifecyclePolicyArgs extends com.pulumi.resources.ResourceArgs {
public static final FileSystemLifecyclePolicyArgs Empty = new FileSystemLifecyclePolicyArgs();
/**
* Indicates how long it takes to transition files to the archive storage class. Requires transition_to_ia, Elastic Throughput and General Purpose performance mode. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
*
*/
@Import(name="transitionToArchive")
private @Nullable Output transitionToArchive;
/**
* @return Indicates how long it takes to transition files to the archive storage class. Requires transition_to_ia, Elastic Throughput and General Purpose performance mode. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
*
*/
public Optional> transitionToArchive() {
return Optional.ofNullable(this.transitionToArchive);
}
/**
* Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
*
*/
@Import(name="transitionToIa")
private @Nullable Output transitionToIa;
/**
* @return Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
*
*/
public Optional> transitionToIa() {
return Optional.ofNullable(this.transitionToIa);
}
/**
* Describes the policy used to transition a file from infequent access storage to primary storage. Valid values: `AFTER_1_ACCESS`.
*
*/
@Import(name="transitionToPrimaryStorageClass")
private @Nullable Output transitionToPrimaryStorageClass;
/**
* @return Describes the policy used to transition a file from infequent access storage to primary storage. Valid values: `AFTER_1_ACCESS`.
*
*/
public Optional> transitionToPrimaryStorageClass() {
return Optional.ofNullable(this.transitionToPrimaryStorageClass);
}
private FileSystemLifecyclePolicyArgs() {}
private FileSystemLifecyclePolicyArgs(FileSystemLifecyclePolicyArgs $) {
this.transitionToArchive = $.transitionToArchive;
this.transitionToIa = $.transitionToIa;
this.transitionToPrimaryStorageClass = $.transitionToPrimaryStorageClass;
}
public static Builder builder() {
return new Builder();
}
public static Builder builder(FileSystemLifecyclePolicyArgs defaults) {
return new Builder(defaults);
}
public static final class Builder {
private FileSystemLifecyclePolicyArgs $;
public Builder() {
$ = new FileSystemLifecyclePolicyArgs();
}
public Builder(FileSystemLifecyclePolicyArgs defaults) {
$ = new FileSystemLifecyclePolicyArgs(Objects.requireNonNull(defaults));
}
/**
* @param transitionToArchive Indicates how long it takes to transition files to the archive storage class. Requires transition_to_ia, Elastic Throughput and General Purpose performance mode. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
*
* @return builder
*
*/
public Builder transitionToArchive(@Nullable Output transitionToArchive) {
$.transitionToArchive = transitionToArchive;
return this;
}
/**
* @param transitionToArchive Indicates how long it takes to transition files to the archive storage class. Requires transition_to_ia, Elastic Throughput and General Purpose performance mode. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
*
* @return builder
*
*/
public Builder transitionToArchive(String transitionToArchive) {
return transitionToArchive(Output.of(transitionToArchive));
}
/**
* @param transitionToIa Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
*
* @return builder
*
*/
public Builder transitionToIa(@Nullable Output transitionToIa) {
$.transitionToIa = transitionToIa;
return this;
}
/**
* @param transitionToIa Indicates how long it takes to transition files to the IA storage class. Valid values: `AFTER_1_DAY`, `AFTER_7_DAYS`, `AFTER_14_DAYS`, `AFTER_30_DAYS`, `AFTER_60_DAYS`, `AFTER_90_DAYS`, `AFTER_180_DAYS`, `AFTER_270_DAYS`, or `AFTER_365_DAYS`.
*
* @return builder
*
*/
public Builder transitionToIa(String transitionToIa) {
return transitionToIa(Output.of(transitionToIa));
}
/**
* @param transitionToPrimaryStorageClass Describes the policy used to transition a file from infequent access storage to primary storage. Valid values: `AFTER_1_ACCESS`.
*
* @return builder
*
*/
public Builder transitionToPrimaryStorageClass(@Nullable Output transitionToPrimaryStorageClass) {
$.transitionToPrimaryStorageClass = transitionToPrimaryStorageClass;
return this;
}
/**
* @param transitionToPrimaryStorageClass Describes the policy used to transition a file from infequent access storage to primary storage. Valid values: `AFTER_1_ACCESS`.
*
* @return builder
*
*/
public Builder transitionToPrimaryStorageClass(String transitionToPrimaryStorageClass) {
return transitionToPrimaryStorageClass(Output.of(transitionToPrimaryStorageClass));
}
public FileSystemLifecyclePolicyArgs build() {
return $;
}
}
}