Package com.amazonaws.services.ec2.model
Class CreateDhcpOptionsRequest
java.lang.Object
com.amazonaws.AmazonWebServiceRequest
com.amazonaws.services.ec2.model.CreateDhcpOptionsRequest
- All Implemented Interfaces:
ReadLimitInfo
,DryRunSupportedRequest<CreateDhcpOptionsRequest>
,Serializable
,Cloneable
public class CreateDhcpOptionsRequest
extends AmazonWebServiceRequest
implements Serializable, Cloneable, DryRunSupportedRequest<CreateDhcpOptionsRequest>
Contains the parameters for CreateDhcpOptions.
- See Also:
-
Field Summary
Fields inherited from class com.amazonaws.AmazonWebServiceRequest
NOOP
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for CreateDhcpOptionsRequest object.CreateDhcpOptionsRequest
(List<DhcpConfiguration> dhcpConfigurations) Constructs a new CreateDhcpOptionsRequest object. -
Method Summary
Modifier and TypeMethodDescriptionclone()
Creates a shallow clone of this request.boolean
A DHCP configuration option.This method is intended for internal use only.int
hashCode()
void
setDhcpConfigurations
(Collection<DhcpConfiguration> dhcpConfigurations) A DHCP configuration option.toString()
Returns a string representation of this object; useful for testing and debugging.withDhcpConfigurations
(DhcpConfiguration... dhcpConfigurations) A DHCP configuration option.withDhcpConfigurations
(Collection<DhcpConfiguration> dhcpConfigurations) A DHCP configuration option.Methods inherited from class com.amazonaws.AmazonWebServiceRequest
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
-
Constructor Details
-
CreateDhcpOptionsRequest
public CreateDhcpOptionsRequest()Default constructor for CreateDhcpOptionsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize the object after creating it. -
CreateDhcpOptionsRequest
Constructs a new CreateDhcpOptionsRequest object. Callers should use the setter or fluent setter (with...) methods to initialize any additional object members.- Parameters:
dhcpConfigurations
- A DHCP configuration option.
-
-
Method Details
-
getDhcpConfigurations
A DHCP configuration option.
- Returns:
- A DHCP configuration option.
-
setDhcpConfigurations
A DHCP configuration option.
- Parameters:
dhcpConfigurations
- A DHCP configuration option.
-
withDhcpConfigurations
A DHCP configuration option.
NOTE: This method appends the values to the existing list (if any). Use
setDhcpConfigurations(java.util.Collection)
orwithDhcpConfigurations(java.util.Collection)
if you want to override the existing values.- Parameters:
dhcpConfigurations
- A DHCP configuration option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
withDhcpConfigurations
public CreateDhcpOptionsRequest withDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations) A DHCP configuration option.
- Parameters:
dhcpConfigurations
- A DHCP configuration option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
getDryRunRequest
This method is intended for internal use only. Returns the marshaled request configured with additional parameters to enable operation dry-run.- Specified by:
getDryRunRequest
in interfaceDryRunSupportedRequest<CreateDhcpOptionsRequest>
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
Description copied from class:AmazonWebServiceRequest
Creates a shallow clone of this request. Explicitly does not clone the deep structure of the request object.- Overrides:
clone
in classAmazonWebServiceRequest
- See Also:
-