Class CreateRestoreTestingSelectionRequest
- java.lang.Object
-
- software.amazon.awssdk.core.SdkRequest
-
- software.amazon.awssdk.awscore.AwsRequest
-
- software.amazon.awssdk.services.backup.model.BackupRequest
-
- software.amazon.awssdk.services.backup.model.CreateRestoreTestingSelectionRequest
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreateRestoreTestingSelectionRequest.Builder,CreateRestoreTestingSelectionRequest>
@Generated("software.amazon.awssdk:codegen") public final class CreateRestoreTestingSelectionRequest extends BackupRequest implements ToCopyableBuilder<CreateRestoreTestingSelectionRequest.Builder,CreateRestoreTestingSelectionRequest>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateRestoreTestingSelectionRequest.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CreateRestoreTestingSelectionRequest.Builderbuilder()StringcreatorRequestId()This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringrestoreTestingPlanName()Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.RestoreTestingSelectionForCreaterestoreTestingSelection()This consists ofRestoreTestingSelectionName,ProtectedResourceType, and one of the following:List<SdkField<?>>sdkFields()static Class<? extends CreateRestoreTestingSelectionRequest.Builder>serializableBuilderClass()CreateRestoreTestingSelectionRequest.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfiguration
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
creatorRequestId
public final String creatorRequestId()
This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
- Returns:
- This is an optional unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice. If used, this parameter must contain 1 to 50 alphanumeric or '-_.' characters.
-
restoreTestingPlanName
public final String restoreTestingPlanName()
Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.
- Returns:
- Input the restore testing plan name that was returned from the related CreateRestoreTestingPlan request.
-
restoreTestingSelection
public final RestoreTestingSelectionForCreate restoreTestingSelection()
This consists of
RestoreTestingSelectionName,ProtectedResourceType, and one of the following:-
ProtectedResourceArns -
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for
ProtectedResourceArnsalong withProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs inProtectedResourceArns.- Returns:
- This consists of
RestoreTestingSelectionName,ProtectedResourceType, and one of the following:-
ProtectedResourceArns -
ProtectedResourceConditions
Each protected resource type can have one single value.
A restore testing selection can include a wildcard value ("*") for
ProtectedResourceArnsalong withProtectedResourceConditions. Alternatively, you can include up to 30 specific protected resource ARNs inProtectedResourceArns. -
-
-
toBuilder
public CreateRestoreTestingSelectionRequest.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateRestoreTestingSelectionRequest.Builder,CreateRestoreTestingSelectionRequest>- Specified by:
toBuilderin classBackupRequest
-
builder
public static CreateRestoreTestingSelectionRequest.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateRestoreTestingSelectionRequest.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsRequest
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkRequest
-
-