Interface GetChannelResponse.Builder

All Superinterfaces:
AwsResponse.Builder, Buildable, CloudTrailResponse.Builder, CopyableBuilder<GetChannelResponse.Builder,GetChannelResponse>, SdkBuilder<GetChannelResponse.Builder,GetChannelResponse>, SdkPojo, SdkResponse.Builder
Enclosing class:
GetChannelResponse

public static interface GetChannelResponse.Builder extends CloudTrailResponse.Builder, SdkPojo, CopyableBuilder<GetChannelResponse.Builder,GetChannelResponse>
  • Method Details

    • channelArn

      GetChannelResponse.Builder channelArn(String channelArn)

      The ARN of an channel returned by a GetChannel request.

      Parameters:
      channelArn - The ARN of an channel returned by a GetChannel request.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • 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 generated by the Amazon Web Services service.

      Parameters:
      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 generated by the Amazon Web Services service.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      The source for the CloudTrail channel.

      Parameters:
      source - The source for the CloudTrail channel.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceConfig

      GetChannelResponse.Builder sourceConfig(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.

      Parameters:
      sourceConfig - Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all Regions or a single Region.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • sourceConfig

      default GetChannelResponse.Builder sourceConfig(Consumer<SourceConfig.Builder> sourceConfig)

      Provides information about the advanced event selectors configured for the channel, and whether the channel applies to all Regions or a single Region.

      This is a convenience method that creates an instance of the SourceConfig.Builder avoiding the need to create one manually via SourceConfig.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to sourceConfig(SourceConfig).

      Parameters:
      sourceConfig - a consumer that will call methods on SourceConfig.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • destinations

      GetChannelResponse.Builder destinations(Collection<Destination> destinations)

      The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.

      Parameters:
      destinations - The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      GetChannelResponse.Builder destinations(Destination... destinations)

      The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.

      Parameters:
      destinations - The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • destinations

      The destinations for the channel. For channels created for integrations, the destinations are the event data stores that log events arriving through the channel. For service-linked channels, the destination is the Amazon Web Services service that created the service-linked channel to receive events.

      This is a convenience method that creates an instance of the Destination.Builder avoiding the need to create one manually via Destination.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to destinations(List<Destination>).

      Parameters:
      destinations - a consumer that will call methods on Destination.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • ingestionStatus

      GetChannelResponse.Builder ingestionStatus(IngestionStatus ingestionStatus)

      A table showing information about the most recent successful and failed attempts to ingest events.

      Parameters:
      ingestionStatus - A table showing information about the most recent successful and failed attempts to ingest events.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • ingestionStatus

      default GetChannelResponse.Builder ingestionStatus(Consumer<IngestionStatus.Builder> ingestionStatus)

      A table showing information about the most recent successful and failed attempts to ingest events.

      This is a convenience method that creates an instance of the IngestionStatus.Builder avoiding the need to create one manually via IngestionStatus.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to ingestionStatus(IngestionStatus).

      Parameters:
      ingestionStatus - a consumer that will call methods on IngestionStatus.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also: