com.amazonaws.services.ec2.model
Class AssociateDhcpOptionsRequest

java.lang.Object
  extended by com.amazonaws.AmazonWebServiceRequest
      extended by com.amazonaws.services.ec2.model.AssociateDhcpOptionsRequest

public class AssociateDhcpOptionsRequest
extends AmazonWebServiceRequest


Constructor Summary
AssociateDhcpOptionsRequest()
           
 
Method Summary
 String getDhcpOptionsId()
          The ID of the DHCP options to associate with the VPC.
 String getVpcId()
          The ID of the VPC to associate the DHCP options with.
 void setDhcpOptionsId(String dhcpOptionsId)
          The ID of the DHCP options to associate with the VPC.
 void setVpcId(String vpcId)
          The ID of the VPC to associate the DHCP options with.
 String toString()
           
 AssociateDhcpOptionsRequest withDhcpOptionsId(String dhcpOptionsId)
          The ID of the DHCP options to associate with the VPC.
 AssociateDhcpOptionsRequest withVpcId(String vpcId)
          The ID of the VPC to associate the DHCP options with.
 
Methods inherited from class com.amazonaws.AmazonWebServiceRequest
copyPrivateRequestParameters
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

AssociateDhcpOptionsRequest

public AssociateDhcpOptionsRequest()
Method Detail

getDhcpOptionsId

public String getDhcpOptionsId()
The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.

Returns:
The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.

setDhcpOptionsId

public void setDhcpOptionsId(String dhcpOptionsId)
The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.

Parameters:
dhcpOptionsId - The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.

withDhcpOptionsId

public AssociateDhcpOptionsRequest withDhcpOptionsId(String dhcpOptionsId)
The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.

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

Parameters:
dhcpOptionsId - The ID of the DHCP options to associate with the VPC. Specify "default" to associate the default DHCP options with the VPC.
Returns:
A reference to this updated object so that method calls can be chained together.

getVpcId

public String getVpcId()
The ID of the VPC to associate the DHCP options with.

Returns:
The ID of the VPC to associate the DHCP options with.

setVpcId

public void setVpcId(String vpcId)
The ID of the VPC to associate the DHCP options with.

Parameters:
vpcId - The ID of the VPC to associate the DHCP options with.

withVpcId

public AssociateDhcpOptionsRequest withVpcId(String vpcId)
The ID of the VPC to associate the DHCP options with.

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

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

toString

public String toString()
Overrides:
toString in class Object


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