Class GetBackupSelectionResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.backup.model.BackupResponse
-
- software.amazon.awssdk.services.backup.model.GetBackupSelectionResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetBackupSelectionResponse.Builder,GetBackupSelectionResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetBackupSelectionResponse extends BackupResponse implements ToCopyableBuilder<GetBackupSelectionResponse.Builder,GetBackupSelectionResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetBackupSelectionResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringbackupPlanId()Uniquely identifies a backup plan.BackupSelectionbackupSelection()Specifies the body of a request to assign a set of resources to a backup plan.static GetBackupSelectionResponse.Builderbuilder()InstantcreationDate()The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC).StringcreatorRequestId()A 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()List<SdkField<?>>sdkFields()StringselectionId()Uniquely identifies the body of a request to assign a set of resources to a backup plan.static Class<? extends GetBackupSelectionResponse.Builder>serializableBuilderClass()GetBackupSelectionResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.backup.model.BackupResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
backupSelection
public final BackupSelection backupSelection()
Specifies the body of a request to assign a set of resources to a backup plan.
- Returns:
- Specifies the body of a request to assign a set of resources to a backup plan.
-
selectionId
public final String selectionId()
Uniquely identifies the body of a request to assign a set of resources to a backup plan.
- Returns:
- Uniquely identifies the body of a request to assign a set of resources to a backup plan.
-
backupPlanId
public final String backupPlanId()
Uniquely identifies a backup plan.
- Returns:
- Uniquely identifies a backup plan.
-
creationDate
public final Instant creationDate()
The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The value of
CreationDateis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.- Returns:
- The date and time a backup selection is created, in Unix format and Coordinated Universal Time (UTC). The
value of
CreationDateis accurate to milliseconds. For example, the value 1516925490.087 represents Friday, January 26, 2018 12:11:30.087 AM.
-
creatorRequestId
public final String creatorRequestId()
A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
- Returns:
- A unique string that identifies the request and allows failed requests to be retried without the risk of running the operation twice.
-
toBuilder
public GetBackupSelectionResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetBackupSelectionResponse.Builder,GetBackupSelectionResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetBackupSelectionResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetBackupSelectionResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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 classSdkResponse
-
-