com.amazonaws.services.ec2.model
Class DeleteDhcpOptionsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.DeleteDhcpOptionsRequest
All Implemented Interfaces:
DryRunSupportedRequest<DeleteDhcpOptionsRequest>, java.io.Serializable

public class DeleteDhcpOptionsRequest
extends AmazonWebServiceRequest
implements java.io.Serializable, DryRunSupportedRequest<DeleteDhcpOptionsRequest>

Container for the parameters to the DeleteDhcpOptions operation.

Deletes the specified set of DHCP options. You must disassociate the set of DHCP options before you can delete it. You can disassociate the set of DHCP options by associating either a new set of options or the default set of options with the VPC.

See Also:
AmazonEC2.deleteDhcpOptions(DeleteDhcpOptionsRequest), Serialized Form

Constructor Summary
DeleteDhcpOptionsRequest()
          Default constructor for a new DeleteDhcpOptionsRequest object.
DeleteDhcpOptionsRequest(java.lang.String dhcpOptionsId)
          Constructs a new DeleteDhcpOptionsRequest object.
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getDhcpOptionsId()
          The ID of the DHCP options set.
 Request<DeleteDhcpOptionsRequest> getDryRunRequest()
          This method is intended for internal use only.
 int hashCode()
           
 void setDhcpOptionsId(java.lang.String dhcpOptionsId)
          The ID of the DHCP options set.
 java.lang.String toString()
          Returns a string representation of this object; useful for testing and debugging.
 DeleteDhcpOptionsRequest withDhcpOptionsId(java.lang.String dhcpOptionsId)
          The ID of the DHCP options set.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters, getDelegationToken, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setDelegationToken, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DeleteDhcpOptionsRequest

public DeleteDhcpOptionsRequest()
Default constructor for a new DeleteDhcpOptionsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize this object after creating it.


DeleteDhcpOptionsRequest

public DeleteDhcpOptionsRequest(java.lang.String dhcpOptionsId)
Constructs a new DeleteDhcpOptionsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.

Parameters:
dhcpOptionsId - The ID of the DHCP options set.
Method Detail

getDhcpOptionsId

public java.lang.String getDhcpOptionsId()
The ID of the DHCP options set.

Returns:
The ID of the DHCP options set.

setDhcpOptionsId

public void setDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the DHCP options set.

Parameters:
dhcpOptionsId - The ID of the DHCP options set.

withDhcpOptionsId

public DeleteDhcpOptionsRequest withDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the DHCP options set.

Returns a reference to this object so that method calls can be chained together.

Parameters:
dhcpOptionsId - The ID of the DHCP options set.
Returns:
A reference to this updated object so that method calls can be chained together.

getDryRunRequest

public Request<DeleteDhcpOptionsRequest> getDryRunRequest()
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.

Specified by:
getDryRunRequest in interface DryRunSupportedRequest<DeleteDhcpOptionsRequest>

toString

public java.lang.String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class java.lang.Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.