Class BackupResource.Builder
java.lang.Object
software.amazon.awscdk.services.backup.BackupResource.Builder
- All Implemented Interfaces:
software.amazon.jsii.Builder<BackupResource>
- Enclosing class:
BackupResource
@Stability(Stable)
public static final class BackupResource.Builder
extends Object
implements software.amazon.jsii.Builder<BackupResource>
A fluent builder for
BackupResource
.-
Method Summary
Modifier and TypeMethodDescriptionbuild()
static BackupResource.Builder
create()
static BackupResource.Builder
static BackupResource.Builder
The key in a key-value pair.operation
(TagOperation operation) An operation that is applied to a key-value pair used to filter resources in a selection.The value in a key-value pair.
-
Method Details
-
create
@Stability(Stable) public static BackupResource.Builder create(String resource, software.constructs.Construct construct) - Parameters:
resource
-construct
-- Returns:
- a new instance of
BackupResource.Builder
.
-
create
- Parameters:
resource
-- Returns:
- a new instance of
BackupResource.Builder
.
-
create
- Returns:
- a new instance of
BackupResource.Builder
.
-
key
The key in a key-value pair.For example, in
"ec2:ResourceTag/Department": "accounting"
,ec2:ResourceTag/Department
is the key.- Parameters:
key
- The key in a key-value pair. This parameter is required.- Returns:
this
-
value
The value in a key-value pair.For example, in
"ec2:ResourceTag/Department": "accounting"
,accounting
is the value.- Parameters:
value
- The value in a key-value pair. This parameter is required.- Returns:
this
-
operation
An operation that is applied to a key-value pair used to filter resources in a selection.Default: STRING_EQUALS
- Parameters:
operation
- An operation that is applied to a key-value pair used to filter resources in a selection. This parameter is required.- Returns:
this
-
build
- Specified by:
build
in interfacesoftware.amazon.jsii.Builder<BackupResource>
- Returns:
- a newly built instance of
BackupResource
.
-