@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetChannelResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
| Constructor and Description |
|---|
GetChannelResult() |
| Modifier and Type | Method and Description |
|---|---|
GetChannelResult |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
The ARN of an channel returned by a
GetChannel request. |
List<Destination> |
getDestinations()
The Amazon Web Services service that created the service-linked channel.
|
String |
getName()
The name of the CloudTrail channel.
|
String |
getSource()
The event source for the CloudTrail channel.
|
SourceConfig |
getSourceConfig()
Provides information about the advanced event selectors configured for the channel, and whether the channel
applies to all regions or a single region.
|
int |
hashCode() |
void |
setChannelArn(String channelArn)
The ARN of an channel returned by a
GetChannel request. |
void |
setDestinations(Collection<Destination> destinations)
The Amazon Web Services service that created the service-linked channel.
|
void |
setName(String name)
The name of the CloudTrail channel.
|
void |
setSource(String source)
The event source for the CloudTrail channel.
|
void |
setSourceConfig(SourceConfig sourceConfig)
Provides information about the advanced event selectors configured for the channel, and whether the channel
applies to all regions or a single region.
|
String |
toString()
Returns a string representation of this object.
|
GetChannelResult |
withChannelArn(String channelArn)
The ARN of an channel returned by a
GetChannel request. |
GetChannelResult |
withDestinations(Collection<Destination> destinations)
The Amazon Web Services service that created the service-linked channel.
|
GetChannelResult |
withDestinations(Destination... destinations)
The Amazon Web Services service that created the service-linked channel.
|
GetChannelResult |
withName(String name)
The name of the CloudTrail channel.
|
GetChannelResult |
withSource(String source)
The event source for the CloudTrail channel.
|
GetChannelResult |
withSourceConfig(SourceConfig sourceConfig)
Provides information about the advanced event selectors configured for the channel, and whether the channel
applies to all regions or a single region.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadatapublic void setChannelArn(String channelArn)
The ARN of an channel returned by a GetChannel request.
channelArn - The ARN of an channel returned by a GetChannel request.public String getChannelArn()
The ARN of an channel returned by a GetChannel request.
GetChannel request.public GetChannelResult withChannelArn(String channelArn)
The ARN of an channel returned by a GetChannel request.
channelArn - The ARN of an channel returned by a GetChannel request.public void setName(String name)
The name of the CloudTrail channel. For service-linked channels, the value 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
generated by the Amazon Web Services service.
name - The name of the CloudTrail channel. For service-linked channels, the value 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 generated by the Amazon Web Services service.public String getName()
The name of the CloudTrail channel. For service-linked channels, the value 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
generated 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 generated by the Amazon Web Services service.public GetChannelResult withName(String name)
The name of the CloudTrail channel. For service-linked channels, the value 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
generated by the Amazon Web Services service.
name - The name of the CloudTrail channel. For service-linked channels, the value 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 generated by the Amazon Web Services service.public void setSource(String source)
The event source for the CloudTrail channel.
source - The event source for the CloudTrail channel.public String getSource()
The event source for the CloudTrail channel.
public GetChannelResult withSource(String source)
The event source for the CloudTrail channel.
source - The event source for the CloudTrail channel.public void setSourceConfig(SourceConfig sourceConfig)
Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all regions or a single region.
sourceConfig - Provides information about the advanced event selectors configured for the channel, and whether the
channel applies to all regions or a single region.public SourceConfig getSourceConfig()
Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all regions or a single region.
public GetChannelResult withSourceConfig(SourceConfig sourceConfig)
Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all regions or a single region.
sourceConfig - Provides information about the advanced event selectors configured for the channel, and whether the
channel applies to all regions or a single region.public List<Destination> getDestinations()
The Amazon Web Services service that created the service-linked channel.
public void setDestinations(Collection<Destination> destinations)
The Amazon Web Services service that created the service-linked channel.
destinations - The Amazon Web Services service that created the service-linked channel.public GetChannelResult withDestinations(Destination... destinations)
The Amazon Web Services service that created the service-linked channel.
NOTE: This method appends the values to the existing list (if any). Use
setDestinations(java.util.Collection) or withDestinations(java.util.Collection) if you want to
override the existing values.
destinations - The Amazon Web Services service that created the service-linked channel.public GetChannelResult withDestinations(Collection<Destination> destinations)
The Amazon Web Services service that created the service-linked channel.
destinations - The Amazon Web Services service that created the service-linked channel.public String toString()
toString in class ObjectObject.toString()public GetChannelResult clone()
Copyright © 2022. All rights reserved.