public class CreateDhcpOptionsRequest extends AmazonWebServiceRequest implements Serializable, DryRunSupportedRequest<CreateDhcpOptionsRequest>
CreateDhcpOptions operation
.
Creates a set of DHCP options that you can then associate with one or more VPCs, causing all existing and new instances that you launch in those VPCs to use the set of DHCP options. The following table lists the individual DHCP options you can specify. For more information about the options, go to http://www.ietf.org/rfc/rfc2132.txt
Constructor and Description |
---|
CreateDhcpOptionsRequest()
Default constructor for a new CreateDhcpOptionsRequest object.
|
CreateDhcpOptionsRequest(List<DhcpConfiguration> dhcpConfigurations)
Constructs a new CreateDhcpOptionsRequest object.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
List<DhcpConfiguration> |
getDhcpConfigurations()
A set of one or more DHCP configurations.
|
Request<CreateDhcpOptionsRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
int |
hashCode() |
void |
setDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
A set of one or more DHCP configurations.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateDhcpOptionsRequest |
withDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
A set of one or more DHCP configurations.
|
CreateDhcpOptionsRequest |
withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
A set of one or more DHCP configurations.
|
copyPrivateRequestParameters, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setRequestCredentials, setRequestMetricCollector, withRequestMetricCollector
public CreateDhcpOptionsRequest()
public CreateDhcpOptionsRequest(List<DhcpConfiguration> dhcpConfigurations)
dhcpConfigurations
- A set of one or more DHCP configurations.public List<DhcpConfiguration> getDhcpConfigurations()
public void setDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
dhcpConfigurations
- A set of one or more DHCP configurations.public CreateDhcpOptionsRequest withDhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
Returns a reference to this object so that method calls can be chained together.
dhcpConfigurations
- A set of one or more DHCP configurations.public CreateDhcpOptionsRequest withDhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
Returns a reference to this object so that method calls can be chained together.
dhcpConfigurations
- A set of one or more DHCP configurations.public Request<CreateDhcpOptionsRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateDhcpOptionsRequest>
public String toString()
toString
in class Object
Object.toString()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.