@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ListSinksItem extends Object implements Serializable, Cloneable, StructuredPojo
A structure that contains information about one of this monitoring account's sinks.
Constructor and Description |
---|
ListSinksItem() |
Modifier and Type | Method and Description |
---|---|
ListSinksItem |
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.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
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.
|
String |
toString()
Returns a string representation of this object.
|
ListSinksItem |
withArn(String arn)
The ARN of the sink.
|
ListSinksItem |
withId(String id)
The random ID string that Amazon Web Services generated as part of the sink ARN.
|
ListSinksItem |
withName(String name)
The name of the sink.
|
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 ListSinksItem 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 ListSinksItem 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 ListSinksItem withName(String name)
The name of the sink.
name
- The name of the sink.public String toString()
toString
in class Object
Object.toString()
public ListSinksItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.