Class CfnTieringConfiguration.ResourceSelectionProperty.Builder
java.lang.Object
software.amazon.awscdk.services.backup.CfnTieringConfiguration.ResourceSelectionProperty.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<CfnTieringConfiguration.ResourceSelectionProperty>
- Enclosing interface:
CfnTieringConfiguration.ResourceSelectionProperty
@Stability(Stable)
public static final class CfnTieringConfiguration.ResourceSelectionProperty.Builder
extends Object
implements software.amazon.jsii.Builder<CfnTieringConfiguration.ResourceSelectionProperty>
A builder for
CfnTieringConfiguration.ResourceSelectionProperty-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the configured instance.Sets the value ofCfnTieringConfiguration.ResourceSelectionProperty.getResources()resourceType(String resourceType) Sets the value ofCfnTieringConfiguration.ResourceSelectionProperty.getResourceType()tieringDownSettingsInDays(Number tieringDownSettingsInDays)
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
resources
@Stability(Stable) public CfnTieringConfiguration.ResourceSelectionProperty.Builder resources(List<String> resources) Sets the value ofCfnTieringConfiguration.ResourceSelectionProperty.getResources()- Parameters:
resources- the value to be set. This parameter is required.- Returns:
this
-
resourceType
@Stability(Stable) public CfnTieringConfiguration.ResourceSelectionProperty.Builder resourceType(String resourceType) Sets the value ofCfnTieringConfiguration.ResourceSelectionProperty.getResourceType()- Parameters:
resourceType- the value to be set. This parameter is required.- Returns:
this
-
tieringDownSettingsInDays
@Stability(Stable) public CfnTieringConfiguration.ResourceSelectionProperty.Builder tieringDownSettingsInDays(Number tieringDownSettingsInDays) - Parameters:
tieringDownSettingsInDays- the value to be set. This parameter is required.- Returns:
this
-
build
Builds the configured instance.- Specified by:
buildin interfacesoftware.amazon.jsii.Builder<CfnTieringConfiguration.ResourceSelectionProperty>- Returns:
- a new instance of
CfnTieringConfiguration.ResourceSelectionProperty - Throws:
NullPointerException- if any required attribute was not provided
-