@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetSinkResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetSinkResult() |
Modifier and Type | Method and Description |
---|---|
GetSinkResult |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
GetSinkResult |
clearTagsEntries()
Removes all the entries added into Tags.
|
GetSinkResult |
clone() |
boolean |
equals(Object obj) |
String |
getArn()
The ARN of the sink.
|
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.
|
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.
|
GetSinkResult |
withArn(String arn)
The ARN of the sink.
|
GetSinkResult |
withId(String id)
The random ID string that Amazon Web Services generated as part of the sink ARN.
|
GetSinkResult |
withName(String name)
The name of the sink.
|
GetSinkResult |
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.
arn
- The ARN of the sink.public String getArn()
The ARN of the sink.
public GetSinkResult withArn(String arn)
The ARN of the sink.
arn
- The ARN of the sink.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 GetSinkResult 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 GetSinkResult 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 GetSinkResult withTags(Map<String,String> tags)
The tags assigned to the sink.
tags
- The tags assigned to the sink.public GetSinkResult addTagsEntry(String key, String value)
public GetSinkResult clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public GetSinkResult clone()