public class AssociateDhcpOptionsRequest extends AmazonWebServiceRequest implements java.io.Serializable, java.lang.Cloneable, DryRunSupportedRequest<AssociateDhcpOptionsRequest>
Contains the parameters for AssociateDhcpOptions.
Modifier and Type | Field and Description |
---|---|
private java.lang.String |
dhcpOptionsId
The ID of the DHCP options set, or
default to associate no
DHCP options with the VPC. |
private java.lang.String |
vpcId
The ID of the VPC.
|
NOOP
Constructor and Description |
---|
AssociateDhcpOptionsRequest()
Default constructor for AssociateDhcpOptionsRequest object.
|
AssociateDhcpOptionsRequest(java.lang.String vpcId)
Constructs a new AssociateDhcpOptionsRequest object.
|
Modifier and Type | Method and Description |
---|---|
AssociateDhcpOptionsRequest |
clone()
Creates a shallow clone of this request.
|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDhcpOptionsId()
The ID of the DHCP options set, or
default to associate no
DHCP options with the VPC. |
Request<AssociateDhcpOptionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
java.lang.String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the DHCP options set, or
default to associate no
DHCP options with the VPC. |
void |
setVpcId(java.lang.String vpcId)
The ID of the VPC.
|
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 set, or
default to associate no
DHCP options with the VPC. |
AssociateDhcpOptionsRequest |
withVpcId(java.lang.String vpcId)
The ID of the VPC.
|
copyBaseTo, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
private java.lang.String dhcpOptionsId
The ID of the DHCP options set, or default
to associate no
DHCP options with the VPC.
private java.lang.String vpcId
The ID of the VPC.
public AssociateDhcpOptionsRequest()
public AssociateDhcpOptionsRequest(java.lang.String vpcId)
vpcId
- The ID of the VPC.public void setDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the DHCP options set, or default
to associate no
DHCP options with the VPC.
dhcpOptionsId
- The ID of the DHCP options set, or default
to
associate no DHCP options with the VPC.public java.lang.String getDhcpOptionsId()
The ID of the DHCP options set, or default
to associate no
DHCP options with the VPC.
default
to
associate no DHCP options with the VPC.public AssociateDhcpOptionsRequest withDhcpOptionsId(java.lang.String dhcpOptionsId)
The ID of the DHCP options set, or default
to associate no
DHCP options with the VPC.
dhcpOptionsId
- The ID of the DHCP options set, or default
to
associate no DHCP options with the VPC.public void setVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public java.lang.String getVpcId()
The ID of the VPC.
public AssociateDhcpOptionsRequest withVpcId(java.lang.String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public Request<AssociateDhcpOptionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AssociateDhcpOptionsRequest>
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public AssociateDhcpOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()