@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSinkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateSinkRequest() |
Modifier and Type | Method and Description |
---|---|
CreateSinkRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSinkRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSinkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getName()
A name for the sink.
|
Map<String,String> |
getTags()
Assigns one or more tags (key-value pairs) to the link.
|
int |
hashCode() |
void |
setName(String name)
A name for the sink.
|
void |
setTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the link.
|
String |
toString()
Returns a string representation of this object.
|
CreateSinkRequest |
withName(String name)
A name for the sink.
|
CreateSinkRequest |
withTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the link.
|
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 setName(String name)
A name for the sink.
name
- A name for the sink.public String getName()
A name for the sink.
public CreateSinkRequest withName(String name)
A name for the sink.
name
- A name for the sink.public Map<String,String> getTags()
Assigns one or more tags (key-value pairs) to the link.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
public void setTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the link.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
tags
- Assigns one or more tags (key-value pairs) to the link.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
public CreateSinkRequest withTags(Map<String,String> tags)
Assigns one or more tags (key-value pairs) to the link.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
tags
- Assigns one or more tags (key-value pairs) to the link.
Tags can help you organize and categorize your resources. You can also use them to scope user permissions by granting a user permission to access or change only resources with certain tag values.
For more information about using tags to control access, see Controlling access to Amazon Web Services resources using tags.
public CreateSinkRequest addTagsEntry(String key, String value)
public CreateSinkRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateSinkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()