Class ApplicationRestoreConfiguration
- java.lang.Object
-
- software.amazon.awssdk.services.kinesisanalyticsv2.model.ApplicationRestoreConfiguration
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApplicationRestoreConfiguration.Builder,ApplicationRestoreConfiguration>
@Generated("software.amazon.awssdk:codegen") public final class ApplicationRestoreConfiguration extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationRestoreConfiguration.Builder,ApplicationRestoreConfiguration>
Specifies the method and snapshot to use when restarting an application using previously saved application state.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApplicationRestoreConfiguration.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationRestoreTypeapplicationRestoreType()Specifies how the application should be restored.StringapplicationRestoreTypeAsString()Specifies how the application should be restored.static ApplicationRestoreConfiguration.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()List<SdkField<?>>sdkFields()static Class<? extends ApplicationRestoreConfiguration.Builder>serializableBuilderClass()StringsnapshotName()The identifier of an existing snapshot of application state to use to restart an application.ApplicationRestoreConfiguration.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
-
applicationRestoreType
public final ApplicationRestoreType applicationRestoreType()
Specifies how the application should be restored.
If the service returns an enum value that is not available in the current SDK version,
applicationRestoreTypewill returnApplicationRestoreType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapplicationRestoreTypeAsString().- Returns:
- Specifies how the application should be restored.
- See Also:
ApplicationRestoreType
-
applicationRestoreTypeAsString
public final String applicationRestoreTypeAsString()
Specifies how the application should be restored.
If the service returns an enum value that is not available in the current SDK version,
applicationRestoreTypewill returnApplicationRestoreType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromapplicationRestoreTypeAsString().- Returns:
- Specifies how the application should be restored.
- See Also:
ApplicationRestoreType
-
snapshotName
public final String snapshotName()
The identifier of an existing snapshot of application state to use to restart an application. The application uses this value if
RESTORE_FROM_CUSTOM_SNAPSHOTis specified for theApplicationRestoreType.- Returns:
- The identifier of an existing snapshot of application state to use to restart an application. The
application uses this value if
RESTORE_FROM_CUSTOM_SNAPSHOTis specified for theApplicationRestoreType.
-
toBuilder
public ApplicationRestoreConfiguration.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplicationRestoreConfiguration.Builder,ApplicationRestoreConfiguration>
-
builder
public static ApplicationRestoreConfiguration.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationRestoreConfiguration.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.
-
-