Class DataReplicationSettings
- java.lang.Object
-
- software.amazon.awssdk.services.workspaces.model.DataReplicationSettings
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<DataReplicationSettings.Builder,DataReplicationSettings>
@Generated("software.amazon.awssdk:codegen") public final class DataReplicationSettings extends Object implements SdkPojo, Serializable, ToCopyableBuilder<DataReplicationSettings.Builder,DataReplicationSettings>
Describes the data replication settings.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceDataReplicationSettings.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DataReplicationSettings.Builderbuilder()DataReplicationdataReplication()Indicates whether data replication is enabled, and if enabled, the type of data replication.StringdataReplicationAsString()Indicates whether data replication is enabled, and if enabled, the type of data replication.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()InstantrecoverySnapshotTime()The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating data.List<SdkField<?>>sdkFields()static Class<? extends DataReplicationSettings.Builder>serializableBuilderClass()DataReplicationSettings.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
-
dataReplication
public final DataReplication dataReplication()
Indicates whether data replication is enabled, and if enabled, the type of data replication.
If the service returns an enum value that is not available in the current SDK version,
dataReplicationwill returnDataReplication.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataReplicationAsString().- Returns:
- Indicates whether data replication is enabled, and if enabled, the type of data replication.
- See Also:
DataReplication
-
dataReplicationAsString
public final String dataReplicationAsString()
Indicates whether data replication is enabled, and if enabled, the type of data replication.
If the service returns an enum value that is not available in the current SDK version,
dataReplicationwill returnDataReplication.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromdataReplicationAsString().- Returns:
- Indicates whether data replication is enabled, and if enabled, the type of data replication.
- See Also:
DataReplication
-
recoverySnapshotTime
public final Instant recoverySnapshotTime()
The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating data.
- Returns:
- The date and time at which the last successful snapshot was taken of the primary WorkSpace used for replicating data.
-
toBuilder
public DataReplicationSettings.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<DataReplicationSettings.Builder,DataReplicationSettings>
-
builder
public static DataReplicationSettings.Builder builder()
-
serializableBuilderClass
public static Class<? extends DataReplicationSettings.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.
-
-