Class DestinationBackup
- java.lang.Object
-
- software.amazon.awssdk.services.cloudhsmv2.model.DestinationBackup
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DestinationBackup.Builder,DestinationBackup>
@Generated("software.amazon.awssdk:codegen") public final class DestinationBackup extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DestinationBackup.Builder,DestinationBackup>
Contains information about the backup that will be copied and created by the CopyBackupToRegion operation.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDestinationBackup.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DestinationBackup.Builderbuilder()InstantcreateTimestamp()The date and time when both the source backup was created.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends DestinationBackup.Builder>serializableBuilderClass()StringsourceBackup()The identifier (ID) of the source backup from which the new backup was copied.StringsourceCluster()The identifier (ID) of the cluster containing the source backup from which the new backup was copied.StringsourceRegion()The AWS region that contains the source backup from which the new backup was copied.DestinationBackup.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
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
-
createTimestamp
public final Instant createTimestamp()
The date and time when both the source backup was created.
- Returns:
- The date and time when both the source backup was created.
-
sourceRegion
public final String sourceRegion()
The AWS region that contains the source backup from which the new backup was copied.
- Returns:
- The AWS region that contains the source backup from which the new backup was copied.
-
sourceBackup
public final String sourceBackup()
The identifier (ID) of the source backup from which the new backup was copied.
- Returns:
- The identifier (ID) of the source backup from which the new backup was copied.
-
sourceCluster
public final String sourceCluster()
The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
- Returns:
- The identifier (ID) of the cluster containing the source backup from which the new backup was copied.
-
toBuilder
public DestinationBackup.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DestinationBackup.Builder,DestinationBackup>
-
builder
public static DestinationBackup.Builder builder()
-
serializableBuilderClass
public static Class<? extends DestinationBackup.Builder> serializableBuilderClass()
-
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.
-
-