@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateSinkResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
CreateSinkResult() |
Modifier and Type | Method and Description |
---|---|
CreateSinkResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateSinkResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateSinkResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the sink that is newly created.
|
String |
getId()
The random ID string that Amazon Web Services generated as part of the sink ARN.
|
String |
getName()
The name of the sink.
|
Map<String,String> |
getTags()
The tags assigned to the sink.
|
int |
hashCode() |
void |
setArn(String arn)
The ARN of the sink that is newly created.
|
void |
setId(String id)
The random ID string that Amazon Web Services generated as part of the sink ARN.
|
void |
setName(String name)
The name of the sink.
|
void |
setTags(Map<String,String> tags)
The tags assigned to the sink.
|
String |
toString()
Returns a string representation of this object.
|
CreateSinkResult |
withArn(String arn)
The ARN of the sink that is newly created.
|
CreateSinkResult |
withId(String id)
The random ID string that Amazon Web Services generated as part of the sink ARN.
|
CreateSinkResult |
withName(String name)
The name of the sink.
|
CreateSinkResult |
withTags(Map<String,String> tags)
The tags assigned to the sink.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArn(String arn)
The ARN of the sink that is newly created.
arn
- The ARN of the sink that is newly created.public String getArn()
The ARN of the sink that is newly created.
public CreateSinkResult withArn(String arn)
The ARN of the sink that is newly created.
arn
- The ARN of the sink that is newly created.public void setId(String id)
The random ID string that Amazon Web Services generated as part of the sink ARN.
id
- The random ID string that Amazon Web Services generated as part of the sink ARN.public String getId()
The random ID string that Amazon Web Services generated as part of the sink ARN.
public CreateSinkResult withId(String id)
The random ID string that Amazon Web Services generated as part of the sink ARN.
id
- The random ID string that Amazon Web Services generated as part of the sink ARN.public void setName(String name)
The name of the sink.
name
- The name of the sink.public String getName()
The name of the sink.
public CreateSinkResult withName(String name)
The name of the sink.
name
- The name of the sink.public Map<String,String> getTags()
The tags assigned to the sink.
public void setTags(Map<String,String> tags)
The tags assigned to the sink.
tags
- The tags assigned to the sink.public CreateSinkResult withTags(Map<String,String> tags)
The tags assigned to the sink.
tags
- The tags assigned to the sink.public CreateSinkResult addTagsEntry(String key, String value)
public CreateSinkResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateSinkResult clone()