@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RestoreManagedPrefixListVersionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<RestoreManagedPrefixListVersionRequest>
NOOP| Constructor and Description |
|---|
RestoreManagedPrefixListVersionRequest() |
| Modifier and Type | Method and Description |
|---|---|
RestoreManagedPrefixListVersionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Long |
getCurrentVersion()
The current version number for the prefix list.
|
Request<RestoreManagedPrefixListVersionRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
String |
getPrefixListId()
The ID of the prefix list.
|
Long |
getPreviousVersion()
The version to restore.
|
int |
hashCode() |
void |
setCurrentVersion(Long currentVersion)
The current version number for the prefix list.
|
void |
setPrefixListId(String prefixListId)
The ID of the prefix list.
|
void |
setPreviousVersion(Long previousVersion)
The version to restore.
|
String |
toString()
Returns a string representation of this object.
|
RestoreManagedPrefixListVersionRequest |
withCurrentVersion(Long currentVersion)
The current version number for the prefix list.
|
RestoreManagedPrefixListVersionRequest |
withPrefixListId(String prefixListId)
The ID of the prefix list.
|
RestoreManagedPrefixListVersionRequest |
withPreviousVersion(Long previousVersion)
The version to restore.
|
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, withSdkRequestTimeoutpublic RestoreManagedPrefixListVersionRequest()
public void setPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId - The ID of the prefix list.public String getPrefixListId()
The ID of the prefix list.
public RestoreManagedPrefixListVersionRequest withPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId - The ID of the prefix list.public void setPreviousVersion(Long previousVersion)
The version to restore.
previousVersion - The version to restore.public Long getPreviousVersion()
The version to restore.
public RestoreManagedPrefixListVersionRequest withPreviousVersion(Long previousVersion)
The version to restore.
previousVersion - The version to restore.public void setCurrentVersion(Long currentVersion)
The current version number for the prefix list.
currentVersion - The current version number for the prefix list.public Long getCurrentVersion()
The current version number for the prefix list.
public RestoreManagedPrefixListVersionRequest withCurrentVersion(Long currentVersion)
The current version number for the prefix list.
currentVersion - The current version number for the prefix list.public Request<RestoreManagedPrefixListVersionRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<RestoreManagedPrefixListVersionRequest>public String toString()
toString in class ObjectObject.toString()public RestoreManagedPrefixListVersionRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()