Interface RestoreTestingSelectionForGet.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<RestoreTestingSelectionForGet.Builder,
,RestoreTestingSelectionForGet> SdkBuilder<RestoreTestingSelectionForGet.Builder,
,RestoreTestingSelectionForGet> SdkPojo
- Enclosing class:
RestoreTestingSelectionForGet
-
Method Summary
Modifier and TypeMethodDescriptioncreationTime
(Instant creationTime) The date and time that a restore testing selection was created, in Unix format and Coordinated Universal Time (UTC).creatorRequestId
(String creatorRequestId) This identifies the request and allows failed requests to be retried without the risk of running the operation twice.iamRoleArn
(String iamRoleArn) The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example:arn:aws:iam::123456789012:role/S3Access
.protectedResourceArns
(String... protectedResourceArns) You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both.protectedResourceArns
(Collection<String> protectedResourceArns) You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both.protectedResourceConditions
(Consumer<ProtectedResourceConditions.Builder> protectedResourceConditions) In a resource testing selection, this parameter filters by specific conditions such asStringEquals
orStringNotEquals
.protectedResourceConditions
(ProtectedResourceConditions protectedResourceConditions) In a resource testing selection, this parameter filters by specific conditions such asStringEquals
orStringNotEquals
.protectedResourceType
(String protectedResourceType) The type of Amazon Web Services resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.restoreMetadataOverrides
(Map<String, String> restoreMetadataOverrides) You can override certain restore metadata keys by including the parameterRestoreMetadataOverrides
in the body ofRestoreTestingSelection
.restoreTestingPlanName
(String restoreTestingPlanName) The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.restoreTestingSelectionName
(String restoreTestingSelectionName) This is the unique name of the restore testing selection that belongs to the related restore testing plan.validationWindowHours
(Integer validationWindowHours) This is amount of hours (1 to 168) available to run a validation script on the data.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
creationTime
The date and time that a restore testing selection was created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 201812:11:30.087 AM.- Parameters:
creationTime
- The date and time that a restore testing selection was created, in Unix format and Coordinated Universal Time (UTC). The value ofCreationTime
is accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 201812:11:30.087 AM.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
creatorRequestId
This identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes a
CreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Parameters:
creatorRequestId
- This identifies the request and allows failed requests to be retried without the risk of running the operation twice. If the request includes aCreatorRequestId
that matches an existing backup plan, that plan is returned. This parameter is optional.If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
iamRoleArn
The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example:
arn:aws:iam::123456789012:role/S3Access
.- Parameters:
iamRoleArn
- The Amazon Resource Name (ARN) of the IAM role that Backup uses to create the target resource; for example:arn:aws:iam::123456789012:role/S3Access
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResourceArns
RestoreTestingSelectionForGet.Builder protectedResourceArns(Collection<String> protectedResourceArns) You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both.- Parameters:
protectedResourceArns
- You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResourceArns
You can include specific ARNs, such as
ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both.- Parameters:
protectedResourceArns
- You can include specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]
or you can include a wildcard:ProtectedResourceArns: ["*"]
, but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResourceConditions
RestoreTestingSelectionForGet.Builder protectedResourceConditions(ProtectedResourceConditions protectedResourceConditions) In a resource testing selection, this parameter filters by specific conditions such as
StringEquals
orStringNotEquals
.- Parameters:
protectedResourceConditions
- In a resource testing selection, this parameter filters by specific conditions such asStringEquals
orStringNotEquals
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
protectedResourceConditions
default RestoreTestingSelectionForGet.Builder protectedResourceConditions(Consumer<ProtectedResourceConditions.Builder> protectedResourceConditions) In a resource testing selection, this parameter filters by specific conditions such as
This is a convenience method that creates an instance of theStringEquals
orStringNotEquals
.ProtectedResourceConditions.Builder
avoiding the need to create one manually viaProtectedResourceConditions.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprotectedResourceConditions(ProtectedResourceConditions)
.- Parameters:
protectedResourceConditions
- a consumer that will call methods onProtectedResourceConditions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
protectedResourceType
The type of Amazon Web Services resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.
- Parameters:
protectedResourceType
- The type of Amazon Web Services resource included in a resource testing selection; for example, an Amazon EBS volume or an Amazon RDS database.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreMetadataOverrides
RestoreTestingSelectionForGet.Builder restoreMetadataOverrides(Map<String, String> restoreMetadataOverrides) You can override certain restore metadata keys by including the parameter
RestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata.
- Parameters:
restoreMetadataOverrides
- You can override certain restore metadata keys by including the parameterRestoreMetadataOverrides
in the body ofRestoreTestingSelection
. Key values are not case sensitive.See the complete list of restore testing inferred metadata.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingPlanName
The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.
- Parameters:
restoreTestingPlanName
- The RestoreTestingPlanName is a unique string that is the name of the restore testing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
restoreTestingSelectionName
RestoreTestingSelectionForGet.Builder restoreTestingSelectionName(String restoreTestingSelectionName) This is the unique name of the restore testing selection that belongs to the related restore testing plan.
- Parameters:
restoreTestingSelectionName
- This is the unique name of the restore testing selection that belongs to the related restore testing plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
validationWindowHours
This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.
- Parameters:
validationWindowHours
- This is amount of hours (1 to 168) available to run a validation script on the data. The data will be deleted upon the completion of the validation script or the end of the specified retention period, whichever comes first.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-