public static final class IntelligentTieringConfiguration.Builder
extends java.lang.Object
IntelligentTieringConfiguration
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
IntelligentTieringConfiguration.Builder |
archiveAccessTierTime(Duration archiveAccessTierTime)
Sets the value of
IntelligentTieringConfiguration.getArchiveAccessTierTime() |
IntelligentTieringConfiguration |
build()
Builds the configured instance.
|
IntelligentTieringConfiguration.Builder |
deepArchiveAccessTierTime(Duration deepArchiveAccessTierTime)
Sets the value of
IntelligentTieringConfiguration.getDeepArchiveAccessTierTime() |
IntelligentTieringConfiguration.Builder |
name(java.lang.String name)
Sets the value of
IntelligentTieringConfiguration.getName() |
IntelligentTieringConfiguration.Builder |
prefix(java.lang.String prefix)
Sets the value of
IntelligentTieringConfiguration.getPrefix() |
IntelligentTieringConfiguration.Builder |
tags(java.util.List<? extends Tag> tags)
Sets the value of
IntelligentTieringConfiguration.getTags() |
public IntelligentTieringConfiguration.Builder name(java.lang.String name)
IntelligentTieringConfiguration.getName()
name
- Configuration name. This parameter is required.this
public IntelligentTieringConfiguration.Builder archiveAccessTierTime(Duration archiveAccessTierTime)
IntelligentTieringConfiguration.getArchiveAccessTierTime()
archiveAccessTierTime
- When enabled, Intelligent-Tiering will automatically move objects that haven’t been accessed for a minimum of 90 days to the Archive Access tier.this
public IntelligentTieringConfiguration.Builder deepArchiveAccessTierTime(Duration deepArchiveAccessTierTime)
IntelligentTieringConfiguration.getDeepArchiveAccessTierTime()
deepArchiveAccessTierTime
- When enabled, Intelligent-Tiering will automatically move objects that haven’t been accessed for a minimum of 180 days to the Deep Archive Access tier.this
public IntelligentTieringConfiguration.Builder prefix(java.lang.String prefix)
IntelligentTieringConfiguration.getPrefix()
prefix
- Add a filter to limit the scope of this configuration to a single prefix.this
public IntelligentTieringConfiguration.Builder tags(java.util.List<? extends Tag> tags)
IntelligentTieringConfiguration.getTags()
tags
- You can limit the scope of this rule to the key value pairs added below.this
public IntelligentTieringConfiguration build()
IntelligentTieringConfiguration
java.lang.NullPointerException
- if any required attribute was not provided