Interface RestoreTestingSelectionForUpdate.Builder
- All Superinterfaces:
- Buildable,- CopyableBuilder<RestoreTestingSelectionForUpdate.Builder,,- RestoreTestingSelectionForUpdate> - SdkBuilder<RestoreTestingSelectionForUpdate.Builder,,- RestoreTestingSelectionForUpdate> - SdkPojo
- Enclosing class:
- RestoreTestingSelectionForUpdate
- 
Method SummaryModifier and TypeMethodDescriptioniamRoleArn(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 a list of 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 a list of specific ARNs, such asProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.protectedResourceConditions(Consumer<ProtectedResourceConditions.Builder> protectedResourceConditions) The conditions that you define for resources in your restore testing plan using tags.protectedResourceConditions(ProtectedResourceConditions protectedResourceConditions) The conditions that you define for resources in your restore testing plan using tags.restoreMetadataOverrides(Map<String, String> restoreMetadataOverrides) You can override certain restore metadata keys by including the parameterRestoreMetadataOverridesin the body ofRestoreTestingSelection.validationWindowHours(Integer validationWindowHours) This value represents the time, in hours, data is retained after a restore test so that optional validation can be completed.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFields
- 
Method Details- 
iamRoleArnThe 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.
 
- 
protectedResourceArnsRestoreTestingSelectionForUpdate.Builder protectedResourceArns(Collection<String> protectedResourceArns) You can include a list of specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.- Parameters:
- protectedResourceArns- You can include a list of specific ARNs, such as- ProtectedResourceArns: ["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.
 
- 
protectedResourceArnsYou can include a list of specific ARNs, such as ProtectedResourceArns: ["arn:aws:...", "arn:aws:..."]or you can include a wildcard:ProtectedResourceArns: ["*"], but not both.- Parameters:
- protectedResourceArns- You can include a list of specific ARNs, such as- ProtectedResourceArns: ["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.
 
- 
protectedResourceConditionsRestoreTestingSelectionForUpdate.Builder protectedResourceConditions(ProtectedResourceConditions protectedResourceConditions) The conditions that you define for resources in your restore testing plan using tags. - Parameters:
- protectedResourceConditions- The conditions that you define for resources in your restore testing plan using tags.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
protectedResourceConditionsdefault RestoreTestingSelectionForUpdate.Builder protectedResourceConditions(Consumer<ProtectedResourceConditions.Builder> protectedResourceConditions) The conditions that you define for resources in your restore testing plan using tags. This is a convenience method that creates an instance of theProtectedResourceConditions.Builderavoiding the need to create one manually viaProtectedResourceConditions.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprotectedResourceConditions(ProtectedResourceConditions).- Parameters:
- protectedResourceConditions- a consumer that will call methods on- ProtectedResourceConditions.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
- 
restoreMetadataOverridesRestoreTestingSelectionForUpdate.Builder restoreMetadataOverrides(Map<String, String> restoreMetadataOverrides) You can override certain restore metadata keys by including the parameter RestoreMetadataOverridesin 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 parameter- RestoreMetadataOverridesin the body of- RestoreTestingSelection. 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.
 
- 
validationWindowHoursThis value represents the time, in hours, data is retained after a restore test so that optional validation can be completed. Accepted value is an integer between 0 and 168 (the hourly equivalent of seven days). - Parameters:
- validationWindowHours- This value represents the time, in hours, data is retained after a restore test so that optional validation can be completed.- Accepted value is an integer between 0 and 168 (the hourly equivalent of seven days). 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
 
-