@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class Channel extends Object implements Serializable, Cloneable, StructuredPojo
Contains information about a returned CloudTrail channel.
Constructor and Description |
---|
Channel() |
Modifier and Type | Method and Description |
---|---|
Channel |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The Amazon Resource Name (ARN) of a channel.
|
String |
getName()
The name of the CloudTrail channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelArn(String channelArn)
The Amazon Resource Name (ARN) of a channel.
|
void |
setName(String name)
The name of the CloudTrail channel.
|
String |
toString()
Returns a string representation of this object.
|
Channel |
withChannelArn(String channelArn)
The Amazon Resource Name (ARN) of a channel.
|
Channel |
withName(String name)
The name of the CloudTrail channel.
|
public void setChannelArn(String channelArn)
The Amazon Resource Name (ARN) of a channel.
channelArn
- The Amazon Resource Name (ARN) of a channel.public String getChannelArn()
The Amazon Resource Name (ARN) of a channel.
public Channel withChannelArn(String channelArn)
The Amazon Resource Name (ARN) of a channel.
channelArn
- The Amazon Resource Name (ARN) of a channel.public void setName(String name)
The name of the CloudTrail channel. For service-linked channels, the name is
aws-service-channel/service-name/custom-suffix
where service-name
represents the name
of the Amazon Web Services service that created the channel and custom-suffix
represents the suffix
created by the Amazon Web Services service.
name
- The name of the CloudTrail channel. For service-linked channels, the name is
aws-service-channel/service-name/custom-suffix
where service-name
represents the
name of the Amazon Web Services service that created the channel and custom-suffix
represents
the suffix created by the Amazon Web Services service.public String getName()
The name of the CloudTrail channel. For service-linked channels, the name is
aws-service-channel/service-name/custom-suffix
where service-name
represents the name
of the Amazon Web Services service that created the channel and custom-suffix
represents the suffix
created by the Amazon Web Services service.
aws-service-channel/service-name/custom-suffix
where service-name
represents
the name of the Amazon Web Services service that created the channel and custom-suffix
represents the suffix created by the Amazon Web Services service.public Channel withName(String name)
The name of the CloudTrail channel. For service-linked channels, the name is
aws-service-channel/service-name/custom-suffix
where service-name
represents the name
of the Amazon Web Services service that created the channel and custom-suffix
represents the suffix
created by the Amazon Web Services service.
name
- The name of the CloudTrail channel. For service-linked channels, the name is
aws-service-channel/service-name/custom-suffix
where service-name
represents the
name of the Amazon Web Services service that created the channel and custom-suffix
represents
the suffix created by the Amazon Web Services service.public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.