Package com.pulumi.alicloud.nas.inputs
Class LifecyclePolicyState.Builder
- java.lang.Object
-
- com.pulumi.alicloud.nas.inputs.LifecyclePolicyState.Builder
-
- Enclosing class:
- LifecyclePolicyState
public static final class LifecyclePolicyState.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()
Builder(LifecyclePolicyState defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description LifecyclePolicyState
build()
LifecyclePolicyState.Builder
fileSystemId(com.pulumi.core.Output<java.lang.String> fileSystemId)
LifecyclePolicyState.Builder
fileSystemId(java.lang.String fileSystemId)
LifecyclePolicyState.Builder
lifecyclePolicyName(com.pulumi.core.Output<java.lang.String> lifecyclePolicyName)
LifecyclePolicyState.Builder
lifecyclePolicyName(java.lang.String lifecyclePolicyName)
LifecyclePolicyState.Builder
lifecycleRuleName(com.pulumi.core.Output<java.lang.String> lifecycleRuleName)
LifecyclePolicyState.Builder
lifecycleRuleName(java.lang.String lifecycleRuleName)
LifecyclePolicyState.Builder
paths(com.pulumi.core.Output<java.util.List<java.lang.String>> paths)
LifecyclePolicyState.Builder
paths(java.lang.String... paths)
LifecyclePolicyState.Builder
paths(java.util.List<java.lang.String> paths)
LifecyclePolicyState.Builder
storageType(com.pulumi.core.Output<java.lang.String> storageType)
LifecyclePolicyState.Builder
storageType(java.lang.String storageType)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(LifecyclePolicyState defaults)
-
-
Method Detail
-
fileSystemId
public LifecyclePolicyState.Builder fileSystemId(@Nullable com.pulumi.core.Output<java.lang.String> fileSystemId)
- Parameters:
fileSystemId
- The ID of the file system.- Returns:
- builder
-
fileSystemId
public LifecyclePolicyState.Builder fileSystemId(java.lang.String fileSystemId)
- Parameters:
fileSystemId
- The ID of the file system.- Returns:
- builder
-
lifecyclePolicyName
public LifecyclePolicyState.Builder lifecyclePolicyName(@Nullable com.pulumi.core.Output<java.lang.String> lifecyclePolicyName)
- Parameters:
lifecyclePolicyName
- The name of the lifecycle management policy.- Returns:
- builder
-
lifecyclePolicyName
public LifecyclePolicyState.Builder lifecyclePolicyName(java.lang.String lifecyclePolicyName)
- Parameters:
lifecyclePolicyName
- The name of the lifecycle management policy.- Returns:
- builder
-
lifecycleRuleName
public LifecyclePolicyState.Builder lifecycleRuleName(@Nullable com.pulumi.core.Output<java.lang.String> lifecycleRuleName)
- Parameters:
lifecycleRuleName
- The rules in the lifecycle management policy. Valid values: `DEFAULT_ATIME_14`, `DEFAULT_ATIME_30`, `DEFAULT_ATIME_60`, `DEFAULT_ATIME_90`.- Returns:
- builder
-
lifecycleRuleName
public LifecyclePolicyState.Builder lifecycleRuleName(java.lang.String lifecycleRuleName)
- Parameters:
lifecycleRuleName
- The rules in the lifecycle management policy. Valid values: `DEFAULT_ATIME_14`, `DEFAULT_ATIME_30`, `DEFAULT_ATIME_60`, `DEFAULT_ATIME_90`.- Returns:
- builder
-
paths
public LifecyclePolicyState.Builder paths(@Nullable com.pulumi.core.Output<java.util.List<java.lang.String>> paths)
- Parameters:
paths
- The absolute path of the directory for which the lifecycle management policy is configured. Set a maximum of `10` path. The path value must be prefixed by a forward slash (/) and must be an existing path in the mount target.- Returns:
- builder
-
paths
public LifecyclePolicyState.Builder paths(java.util.List<java.lang.String> paths)
- Parameters:
paths
- The absolute path of the directory for which the lifecycle management policy is configured. Set a maximum of `10` path. The path value must be prefixed by a forward slash (/) and must be an existing path in the mount target.- Returns:
- builder
-
paths
public LifecyclePolicyState.Builder paths(java.lang.String... paths)
- Parameters:
paths
- The absolute path of the directory for which the lifecycle management policy is configured. Set a maximum of `10` path. The path value must be prefixed by a forward slash (/) and must be an existing path in the mount target.- Returns:
- builder
-
storageType
public LifecyclePolicyState.Builder storageType(@Nullable com.pulumi.core.Output<java.lang.String> storageType)
- Parameters:
storageType
- The storage type of the data that is dumped to the IA storage medium. Valid values: `InfrequentAccess`.- Returns:
- builder
-
storageType
public LifecyclePolicyState.Builder storageType(java.lang.String storageType)
- Parameters:
storageType
- The storage type of the data that is dumped to the IA storage medium. Valid values: `InfrequentAccess`.- Returns:
- builder
-
build
public LifecyclePolicyState build()
-
-