public class AssociateDhcpOptionsRequest extends AmazonWebServiceRequest implements java.io.Serializable
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.
| コンストラクタと説明 |
|---|
AssociateDhcpOptionsRequest()
Default constructor for a new AssociateDhcpOptionsRequest object.
|
AssociateDhcpOptionsRequest(java.lang.String vpcId)
Constructs a new AssociateDhcpOptionsRequest object.
|
| 修飾子とタイプ | メソッドと説明 |
|---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDhcpOptionsId()
The ID of the DHCP options to associate with the VPC.
|
java.lang.String |
getVpcId()
The ID of the VPC to associate the DHCP options with.
|
int |
hashCode() |
void |
setDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the DHCP options to associate with the VPC.
|
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC to associate the DHCP options with.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
AssociateDhcpOptionsRequest |
withDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the DHCP options to associate with the VPC.
|
AssociateDhcpOptionsRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC to associate the DHCP options with.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, setRequestCredentialspublic AssociateDhcpOptionsRequest()
public AssociateDhcpOptionsRequest(java.lang.String vpcId)
vpcId - The ID of the VPC to associate the DHCP options with.public java.lang.String getDhcpOptionsId()
public void setDhcpOptionsId(java.lang.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(java.lang.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 java.lang.String getVpcId()
public void setVpcId(java.lang.String vpcId)
vpcId - The ID of the VPC to associate the DHCP options with.public AssociateDhcpOptionsRequest withVpcId(java.lang.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 java.lang.String toString()
toString クラス内 java.lang.ObjectObject.toString()public int hashCode()
hashCode クラス内 java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals クラス内 java.lang.Object