public class DeleteDhcpOptionsRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<DeleteDhcpOptionsRequest>
DeleteDhcpOptions operation.
Deletes a set of DHCP options that you specify. Amazon VPC returns an error if the set of options you specify is currently associated with a VPC. You can disassociate the set of options by associating either a new set of options or the default options with the VPC.
| Constructor and Description |
|---|
DeleteDhcpOptionsRequest()
Default constructor for a new DeleteDhcpOptionsRequest object.
|
DeleteDhcpOptionsRequest(String dhcpOptionsId)
Constructs a new DeleteDhcpOptionsRequest object.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getDhcpOptionsId()
The ID of the DHCP options set to delete.
|
Request<DeleteDhcpOptionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setDhcpOptionsId(String dhcpOptionsId)
The ID of the DHCP options set to delete.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DeleteDhcpOptionsRequest |
withDhcpOptionsId(String dhcpOptionsId)
The ID of the DHCP options set to delete.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollectorpublic DeleteDhcpOptionsRequest()
public DeleteDhcpOptionsRequest(String dhcpOptionsId)
dhcpOptionsId - The ID of the DHCP options set to delete.public String getDhcpOptionsId()
public void setDhcpOptionsId(String dhcpOptionsId)
dhcpOptionsId - The ID of the DHCP options set to delete.public DeleteDhcpOptionsRequest withDhcpOptionsId(String dhcpOptionsId)
Returns a reference to this object so that method calls can be chained together.
dhcpOptionsId - The ID of the DHCP options set to delete.public Request<DeleteDhcpOptionsRequest> getDryRunRequest()
getDryRunRequest in interface DryRunSupportedRequest<DeleteDhcpOptionsRequest>public String toString()
toString in class ObjectObject.toString()Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.