@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateInternetGatewayRequest extends AmazonWebServiceRequest implements Serializable, Cloneable, DryRunSupportedRequest<CreateInternetGatewayRequest>
NOOP
Constructor and Description |
---|
CreateInternetGatewayRequest() |
Modifier and Type | Method and Description |
---|---|
CreateInternetGatewayRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
Request<CreateInternetGatewayRequest> |
getDryRunRequest()
This method is intended for internal use only.
|
List<TagSpecification> |
getTagSpecifications()
The tags to assign to the internet gateway.
|
int |
hashCode() |
void |
setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the internet gateway.
|
String |
toString()
Returns a string representation of this object.
|
CreateInternetGatewayRequest |
withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the internet gateway.
|
CreateInternetGatewayRequest |
withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the internet gateway.
|
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 List<TagSpecification> getTagSpecifications()
The tags to assign to the internet gateway.
public void setTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the internet gateway.
tagSpecifications
- The tags to assign to the internet gateway.public CreateInternetGatewayRequest withTagSpecifications(TagSpecification... tagSpecifications)
The tags to assign to the internet gateway.
NOTE: This method appends the values to the existing list (if any). Use
setTagSpecifications(java.util.Collection)
or withTagSpecifications(java.util.Collection)
if
you want to override the existing values.
tagSpecifications
- The tags to assign to the internet gateway.public CreateInternetGatewayRequest withTagSpecifications(Collection<TagSpecification> tagSpecifications)
The tags to assign to the internet gateway.
tagSpecifications
- The tags to assign to the internet gateway.public Request<CreateInternetGatewayRequest> getDryRunRequest()
getDryRunRequest
in interface DryRunSupportedRequest<CreateInternetGatewayRequest>
public String toString()
toString
in class Object
Object.toString()
public CreateInternetGatewayRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()