@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ModifyManagedPrefixListRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<ModifyManagedPrefixListRequest>
NOOP| Constructor and Description | 
|---|
| ModifyManagedPrefixListRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| ModifyManagedPrefixListRequest | clone()Creates a shallow clone of this object for all fields except the handler context. | 
| boolean | equals(Object obj) | 
| List<AddPrefixListEntry> | getAddEntries()
 One or more entries to add to the prefix list. | 
| Long | getCurrentVersion()
 The current version of the prefix list. | 
| Request<ModifyManagedPrefixListRequest> | getDryRunRequest()This method is intended for internal use only. | 
| String | getPrefixListId()
 The ID of the prefix list. | 
| String | getPrefixListName()
 A name for the prefix list. | 
| List<RemovePrefixListEntry> | getRemoveEntries()
 One or more entries to remove from the prefix list. | 
| int | hashCode() | 
| void | setAddEntries(Collection<AddPrefixListEntry> addEntries)
 One or more entries to add to the prefix list. | 
| void | setCurrentVersion(Long currentVersion)
 The current version of the prefix list. | 
| void | setPrefixListId(String prefixListId)
 The ID of the prefix list. | 
| void | setPrefixListName(String prefixListName)
 A name for the prefix list. | 
| void | setRemoveEntries(Collection<RemovePrefixListEntry> removeEntries)
 One or more entries to remove from the prefix list. | 
| String | toString()Returns a string representation of this object. | 
| ModifyManagedPrefixListRequest | withAddEntries(AddPrefixListEntry... addEntries)
 One or more entries to add to the prefix list. | 
| ModifyManagedPrefixListRequest | withAddEntries(Collection<AddPrefixListEntry> addEntries)
 One or more entries to add to the prefix list. | 
| ModifyManagedPrefixListRequest | withCurrentVersion(Long currentVersion)
 The current version of the prefix list. | 
| ModifyManagedPrefixListRequest | withPrefixListId(String prefixListId)
 The ID of the prefix list. | 
| ModifyManagedPrefixListRequest | withPrefixListName(String prefixListName)
 A name for the prefix list. | 
| ModifyManagedPrefixListRequest | withRemoveEntries(Collection<RemovePrefixListEntry> removeEntries)
 One or more entries to remove from the prefix list. | 
| ModifyManagedPrefixListRequest | withRemoveEntries(RemovePrefixListEntry... removeEntries)
 One or more entries to remove from the prefix list. | 
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 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 ModifyManagedPrefixListRequest withPrefixListId(String prefixListId)
The ID of the prefix list.
prefixListId - The ID of the prefix list.public void setCurrentVersion(Long currentVersion)
The current version of the prefix list.
currentVersion - The current version of the prefix list.public Long getCurrentVersion()
The current version of the prefix list.
public ModifyManagedPrefixListRequest withCurrentVersion(Long currentVersion)
The current version of the prefix list.
currentVersion - The current version of the prefix list.public void setPrefixListName(String prefixListName)
A name for the prefix list.
prefixListName - A name for the prefix list.public String getPrefixListName()
A name for the prefix list.
public ModifyManagedPrefixListRequest withPrefixListName(String prefixListName)
A name for the prefix list.
prefixListName - A name for the prefix list.public List<AddPrefixListEntry> getAddEntries()
One or more entries to add to the prefix list.
public void setAddEntries(Collection<AddPrefixListEntry> addEntries)
One or more entries to add to the prefix list.
addEntries - One or more entries to add to the prefix list.public ModifyManagedPrefixListRequest withAddEntries(AddPrefixListEntry... addEntries)
One or more entries to add to the prefix list.
 NOTE: This method appends the values to the existing list (if any). Use
 setAddEntries(java.util.Collection) or withAddEntries(java.util.Collection) if you want to
 override the existing values.
 
addEntries - One or more entries to add to the prefix list.public ModifyManagedPrefixListRequest withAddEntries(Collection<AddPrefixListEntry> addEntries)
One or more entries to add to the prefix list.
addEntries - One or more entries to add to the prefix list.public List<RemovePrefixListEntry> getRemoveEntries()
One or more entries to remove from the prefix list.
public void setRemoveEntries(Collection<RemovePrefixListEntry> removeEntries)
One or more entries to remove from the prefix list.
removeEntries - One or more entries to remove from the prefix list.public ModifyManagedPrefixListRequest withRemoveEntries(RemovePrefixListEntry... removeEntries)
One or more entries to remove from the prefix list.
 NOTE: This method appends the values to the existing list (if any). Use
 setRemoveEntries(java.util.Collection) or withRemoveEntries(java.util.Collection) if you want
 to override the existing values.
 
removeEntries - One or more entries to remove from the prefix list.public ModifyManagedPrefixListRequest withRemoveEntries(Collection<RemovePrefixListEntry> removeEntries)
One or more entries to remove from the prefix list.
removeEntries - One or more entries to remove from the prefix list.public Request<ModifyManagedPrefixListRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<ModifyManagedPrefixListRequest>public String toString()
toString in class ObjectObject.toString()public ModifyManagedPrefixListRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()