@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSourceNetworkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSourceNetworkRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSourceNetworkRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSourceNetworkRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSourceNetworkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getOriginAccountID()
Account containing the VPC to protect.
|
String |
getOriginRegion()
Region containing the VPC to protect.
|
Map<String,String> |
getTags()
A set of tags to be associated with the Source Network resource.
|
String |
getVpcID()
Which VPC ID to protect.
|
int |
hashCode() |
void |
setOriginAccountID(String originAccountID)
Account containing the VPC to protect.
|
void |
setOriginRegion(String originRegion)
Region containing the VPC to protect.
|
void |
setTags(Map<String,String> tags)
A set of tags to be associated with the Source Network resource.
|
void |
setVpcID(String vpcID)
Which VPC ID to protect.
|
String |
toString()
Returns a string representation of this object.
|
CreateSourceNetworkRequest |
withOriginAccountID(String originAccountID)
Account containing the VPC to protect.
|
CreateSourceNetworkRequest |
withOriginRegion(String originRegion)
Region containing the VPC to protect.
|
CreateSourceNetworkRequest |
withTags(Map<String,String> tags)
A set of tags to be associated with the Source Network resource.
|
CreateSourceNetworkRequest |
withVpcID(String vpcID)
Which VPC ID to protect.
|
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 setOriginAccountID(String originAccountID)
Account containing the VPC to protect.
originAccountID
- Account containing the VPC to protect.public String getOriginAccountID()
Account containing the VPC to protect.
public CreateSourceNetworkRequest withOriginAccountID(String originAccountID)
Account containing the VPC to protect.
originAccountID
- Account containing the VPC to protect.public void setOriginRegion(String originRegion)
Region containing the VPC to protect.
originRegion
- Region containing the VPC to protect.public String getOriginRegion()
Region containing the VPC to protect.
public CreateSourceNetworkRequest withOriginRegion(String originRegion)
Region containing the VPC to protect.
originRegion
- Region containing the VPC to protect.public Map<String,String> getTags()
A set of tags to be associated with the Source Network resource.
public void setTags(Map<String,String> tags)
A set of tags to be associated with the Source Network resource.
tags
- A set of tags to be associated with the Source Network resource.public CreateSourceNetworkRequest withTags(Map<String,String> tags)
A set of tags to be associated with the Source Network resource.
tags
- A set of tags to be associated with the Source Network resource.public CreateSourceNetworkRequest addTagsEntry(String key, String value)
public CreateSourceNetworkRequest clearTagsEntries()
public void setVpcID(String vpcID)
Which VPC ID to protect.
vpcID
- Which VPC ID to protect.public String getVpcID()
Which VPC ID to protect.
public CreateSourceNetworkRequest withVpcID(String vpcID)
Which VPC ID to protect.
vpcID
- Which VPC ID to protect.public String toString()
toString
in class Object
Object.toString()
public CreateSourceNetworkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()