@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationRestoreConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the method and snapshot to use when restarting an application using previously saved application state.
Constructor and Description |
---|
ApplicationRestoreConfiguration() |
Modifier and Type | Method and Description |
---|---|
ApplicationRestoreConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationRestoreType()
Specifies how the application should be restored.
|
String |
getSnapshotName()
The identifier of an existing snapshot of application state to use to restart an application.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationRestoreType(String applicationRestoreType)
Specifies how the application should be restored.
|
void |
setSnapshotName(String snapshotName)
The identifier of an existing snapshot of application state to use to restart an application.
|
String |
toString()
Returns a string representation of this object.
|
ApplicationRestoreConfiguration |
withApplicationRestoreType(ApplicationRestoreType applicationRestoreType)
Specifies how the application should be restored.
|
ApplicationRestoreConfiguration |
withApplicationRestoreType(String applicationRestoreType)
Specifies how the application should be restored.
|
ApplicationRestoreConfiguration |
withSnapshotName(String snapshotName)
The identifier of an existing snapshot of application state to use to restart an application.
|
public void setApplicationRestoreType(String applicationRestoreType)
Specifies how the application should be restored.
applicationRestoreType
- Specifies how the application should be restored.ApplicationRestoreType
public String getApplicationRestoreType()
Specifies how the application should be restored.
ApplicationRestoreType
public ApplicationRestoreConfiguration withApplicationRestoreType(String applicationRestoreType)
Specifies how the application should be restored.
applicationRestoreType
- Specifies how the application should be restored.ApplicationRestoreType
public ApplicationRestoreConfiguration withApplicationRestoreType(ApplicationRestoreType applicationRestoreType)
Specifies how the application should be restored.
applicationRestoreType
- Specifies how the application should be restored.ApplicationRestoreType
public void setSnapshotName(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_SNAPSHOT
is specified for the
ApplicationRestoreType
.
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_SNAPSHOT
is specified for the
ApplicationRestoreType
.public String getSnapshotName()
The identifier of an existing snapshot of application state to use to restart an application. The application
uses this value if RESTORE_FROM_CUSTOM_SNAPSHOT
is specified for the
ApplicationRestoreType
.
RESTORE_FROM_CUSTOM_SNAPSHOT
is specified for the
ApplicationRestoreType
.public ApplicationRestoreConfiguration withSnapshotName(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_SNAPSHOT
is specified for the
ApplicationRestoreType
.
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_SNAPSHOT
is specified for the
ApplicationRestoreType
.public String toString()
toString
in class Object
Object.toString()
public ApplicationRestoreConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.