Class Channel
- java.lang.Object
-
- software.amazon.awssdk.services.cloudtrail.model.Channel
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<Channel.Builder,Channel>
@Generated("software.amazon.awssdk:codegen") public final class Channel extends Object implements SdkPojo, Serializable, ToCopyableBuilder<Channel.Builder,Channel>
Contains information about a returned CloudTrail channel.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceChannel.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Channel.Builderbuilder()StringchannelArn()The Amazon Resource Name (ARN) of a channel.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()Stringname()The name of the CloudTrail channel.List<SdkField<?>>sdkFields()static Class<? extends Channel.Builder>serializableBuilderClass()Channel.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
channelArn
public final String channelArn()
The Amazon Resource Name (ARN) of a channel.
- Returns:
- The Amazon Resource Name (ARN) of a channel.
-
name
public final String name()
The name of the CloudTrail channel. For service-linked channels, the name is
aws-service-channel/service-name/custom-suffixwhereservice-namerepresents the name of the Amazon Web Services service that created the channel andcustom-suffixrepresents the suffix created by the Amazon Web Services service.- Returns:
- The name of the CloudTrail channel. For service-linked channels, the name is
aws-service-channel/service-name/custom-suffixwhereservice-namerepresents the name of the Amazon Web Services service that created the channel andcustom-suffixrepresents the suffix created by the Amazon Web Services service.
-
toBuilder
public Channel.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<Channel.Builder,Channel>
-
builder
public static Channel.Builder builder()
-
serializableBuilderClass
public static Class<? extends Channel.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-