@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AssociateDhcpOptionsRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<AssociateDhcpOptionsRequest>
Contains the parameters for AssociateDhcpOptions.
NOOP
Constructor and Description |
---|
AssociateDhcpOptionsRequest()
Default constructor for AssociateDhcpOptionsRequest object.
|
AssociateDhcpOptionsRequest(String vpcId)
Constructs a new AssociateDhcpOptionsRequest object.
|
Modifier and Type | Method and Description |
---|---|
AssociateDhcpOptionsRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
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.
|
String |
getVpcId()
The ID of the VPC.
|
int |
hashCode() |
void |
setDhcpOptionsId(String dhcpOptionsId)
The ID of the DHCP options set, or
default to associate no DHCP options with the VPC. |
void |
setVpcId(String vpcId)
The ID of the VPC.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
AssociateDhcpOptionsRequest |
withDhcpOptionsId(String dhcpOptionsId)
The ID of the DHCP options set, or
default to associate no DHCP options with the VPC. |
AssociateDhcpOptionsRequest |
withVpcId(String vpcId)
The ID of the VPC.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public AssociateDhcpOptionsRequest()
public AssociateDhcpOptionsRequest(String vpcId)
vpcId
- The ID of the VPC.public void setDhcpOptionsId(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 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(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(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public String getVpcId()
The ID of the VPC.
public AssociateDhcpOptionsRequest withVpcId(String vpcId)
The ID of the VPC.
vpcId
- The ID of the VPC.public Request<AssociateDhcpOptionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<AssociateDhcpOptionsRequest>
public String toString()
toString
in class Object
Object.toString()
public AssociateDhcpOptionsRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.