@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 the channel.
|
String |
getName()
The name of the CloudTrail channel.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller) |
void |
setChannelArn(String channelArn)
The Amazon Resource Name (ARN) of the 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 the channel.
|
Channel |
withName(String name)
The name of the CloudTrail channel.
|
public void setChannelArn(String channelArn)
The Amazon Resource Name (ARN) of the channel.
channelArn - The Amazon Resource Name (ARN) of the channel.public String getChannelArn()
The Amazon Resource Name (ARN) of the channel.
public Channel withChannelArn(String channelArn)
The Amazon Resource Name (ARN) of the channel.
channelArn - The Amazon Resource Name (ARN) of the 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 ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
marshall in interface StructuredPojoCopyright © 2022. All rights reserved.