|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.AssociateDhcpOptionsRequest
public class AssociateDhcpOptionsRequest
Container for the parameters to the AssociateDhcpOptions operation
.
Associates a set of DHCP options (that you've previously created) with the specified VPC. Or, associates the default DHCP options with the VPC. The default set consists of the standard EC2 host name, no domain name, no DNS server, no NTP server, and no NetBIOS server or node type. After you associate the options with the VPC, any existing instances and all new instances that you launch in that VPC use the options. For more information about the supported DHCP options and using them with Amazon VPC, go to Using DHCP Options in the Amazon Virtual Private Cloud Developer Guide.
AmazonEC2.associateDhcpOptions(AssociateDhcpOptionsRequest)
,
Serialized FormConstructor Summary | |
---|---|
AssociateDhcpOptionsRequest()
Default constructor for a new AssociateDhcpOptionsRequest object. |
|
AssociateDhcpOptionsRequest(String vpcId)
Constructs a new AssociateDhcpOptionsRequest object. |
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
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. |
int |
hashCode()
|
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()
Returns a string representation of this object; useful for testing and debugging. |
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, getRequestClientOptions, getRequestCredentials, setRequestCredentials |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public AssociateDhcpOptionsRequest()
public AssociateDhcpOptionsRequest(String vpcId)
vpcId
- The ID of the VPC to associate the DHCP options with.Method Detail |
---|
public String getDhcpOptionsId()
public void setDhcpOptionsId(String dhcpOptionsId)
dhcpOptionsId
- The ID of the DHCP options to associate with the VPC. Specify
"default" to associate the default DHCP options with the VPC.public AssociateDhcpOptionsRequest withDhcpOptionsId(String dhcpOptionsId)
Returns a reference to this object so that method calls can be chained together.
dhcpOptionsId
- The ID of the DHCP options to associate with the VPC. Specify
"default" to associate the default DHCP options with the VPC.
public String getVpcId()
public void setVpcId(String vpcId)
vpcId
- The ID of the VPC to associate the DHCP options with.public AssociateDhcpOptionsRequest withVpcId(String vpcId)
Returns a reference to this object so that method calls can be chained together.
vpcId
- The ID of the VPC to associate the DHCP options with.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |