@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StartRecoveryRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
StartRecoveryRequest() |
Modifier and Type | Method and Description |
---|---|
StartRecoveryRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
StartRecoveryRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
StartRecoveryRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Boolean |
getIsDrill()
Whether this Source Server Recovery operation is a drill or not.
|
List<StartRecoveryRequestSourceServer> |
getSourceServers()
The Source Servers that we want to start a Recovery Job for.
|
Map<String,String> |
getTags()
The tags to be associated with the Recovery Job.
|
int |
hashCode() |
Boolean |
isDrill()
Whether this Source Server Recovery operation is a drill or not.
|
void |
setIsDrill(Boolean isDrill)
Whether this Source Server Recovery operation is a drill or not.
|
void |
setSourceServers(Collection<StartRecoveryRequestSourceServer> sourceServers)
The Source Servers that we want to start a Recovery Job for.
|
void |
setTags(Map<String,String> tags)
The tags to be associated with the Recovery Job.
|
String |
toString()
Returns a string representation of this object.
|
StartRecoveryRequest |
withIsDrill(Boolean isDrill)
Whether this Source Server Recovery operation is a drill or not.
|
StartRecoveryRequest |
withSourceServers(Collection<StartRecoveryRequestSourceServer> sourceServers)
The Source Servers that we want to start a Recovery Job for.
|
StartRecoveryRequest |
withSourceServers(StartRecoveryRequestSourceServer... sourceServers)
The Source Servers that we want to start a Recovery Job for.
|
StartRecoveryRequest |
withTags(Map<String,String> tags)
The tags to be associated with the Recovery Job.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setIsDrill(Boolean isDrill)
Whether this Source Server Recovery operation is a drill or not.
isDrill
- Whether this Source Server Recovery operation is a drill or not.public Boolean getIsDrill()
Whether this Source Server Recovery operation is a drill or not.
public StartRecoveryRequest withIsDrill(Boolean isDrill)
Whether this Source Server Recovery operation is a drill or not.
isDrill
- Whether this Source Server Recovery operation is a drill or not.public Boolean isDrill()
Whether this Source Server Recovery operation is a drill or not.
public List<StartRecoveryRequestSourceServer> getSourceServers()
The Source Servers that we want to start a Recovery Job for.
public void setSourceServers(Collection<StartRecoveryRequestSourceServer> sourceServers)
The Source Servers that we want to start a Recovery Job for.
sourceServers
- The Source Servers that we want to start a Recovery Job for.public StartRecoveryRequest withSourceServers(StartRecoveryRequestSourceServer... sourceServers)
The Source Servers that we want to start a Recovery Job for.
NOTE: This method appends the values to the existing list (if any). Use
setSourceServers(java.util.Collection)
or withSourceServers(java.util.Collection)
if you want
to override the existing values.
sourceServers
- The Source Servers that we want to start a Recovery Job for.public StartRecoveryRequest withSourceServers(Collection<StartRecoveryRequestSourceServer> sourceServers)
The Source Servers that we want to start a Recovery Job for.
sourceServers
- The Source Servers that we want to start a Recovery Job for.public Map<String,String> getTags()
The tags to be associated with the Recovery Job.
public void setTags(Map<String,String> tags)
The tags to be associated with the Recovery Job.
tags
- The tags to be associated with the Recovery Job.public StartRecoveryRequest withTags(Map<String,String> tags)
The tags to be associated with the Recovery Job.
tags
- The tags to be associated with the Recovery Job.public StartRecoveryRequest addTagsEntry(String key, String value)
public StartRecoveryRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public StartRecoveryRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()