@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSubnetGroupRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSubnetGroupRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSubnetGroupRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description for the subnet group.
|
String |
getSubnetGroupName()
The name of the subnet group.
|
List<String> |
getSubnetIds()
A list of VPC subnet IDs for the subnet group.
|
List<Tag> |
getTags()
A list of tags to be added to this resource.
|
int |
hashCode() |
void |
setDescription(String description)
A description for the subnet group.
|
void |
setSubnetGroupName(String subnetGroupName)
The name of the subnet group.
|
void |
setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the subnet group.
|
void |
setTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateSubnetGroupRequest |
withDescription(String description)
A description for the subnet group.
|
CreateSubnetGroupRequest |
withSubnetGroupName(String subnetGroupName)
The name of the subnet group.
|
CreateSubnetGroupRequest |
withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the subnet group.
|
CreateSubnetGroupRequest |
withSubnetIds(String... subnetIds)
A list of VPC subnet IDs for the subnet group.
|
CreateSubnetGroupRequest |
withTags(Collection<Tag> tags)
A list of tags to be added to this resource.
|
CreateSubnetGroupRequest |
withTags(Tag... tags)
A list of tags to be added to this resource.
|
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 void setSubnetGroupName(String subnetGroupName)
The name of the subnet group.
subnetGroupName
- The name of the subnet group.public String getSubnetGroupName()
The name of the subnet group.
public CreateSubnetGroupRequest withSubnetGroupName(String subnetGroupName)
The name of the subnet group.
subnetGroupName
- The name of the subnet group.public void setDescription(String description)
A description for the subnet group.
description
- A description for the subnet group.public String getDescription()
A description for the subnet group.
public CreateSubnetGroupRequest withDescription(String description)
A description for the subnet group.
description
- A description for the subnet group.public List<String> getSubnetIds()
A list of VPC subnet IDs for the subnet group.
public void setSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the subnet group.
subnetIds
- A list of VPC subnet IDs for the subnet group.public CreateSubnetGroupRequest withSubnetIds(String... subnetIds)
A list of VPC subnet IDs for the subnet group.
NOTE: This method appends the values to the existing list (if any). Use
setSubnetIds(java.util.Collection)
or withSubnetIds(java.util.Collection)
if you want to
override the existing values.
subnetIds
- A list of VPC subnet IDs for the subnet group.public CreateSubnetGroupRequest withSubnetIds(Collection<String> subnetIds)
A list of VPC subnet IDs for the subnet group.
subnetIds
- A list of VPC subnet IDs for the subnet group.public List<Tag> getTags()
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
public void setTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public CreateSubnetGroupRequest withTags(Tag... tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public CreateSubnetGroupRequest withTags(Collection<Tag> tags)
A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a tag value, although null is accepted.
tags
- A list of tags to be added to this resource. A tag is a key-value pair. A tag key must be accompanied by a
tag value, although null is accepted.public String toString()
toString
in class Object
Object.toString()
public CreateSubnetGroupRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()