Interface Destination.Builder

    • Method Detail

      • type

        Destination.Builder type​(String type)

        The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is EVENT_DATA_STORE. For service-linked channels, the value is AWS_SERVICE.

        Parameters:
        type - The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is EVENT_DATA_STORE. For service-linked channels, the value is AWS_SERVICE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DestinationType, DestinationType
      • type

        Destination.Builder type​(DestinationType type)

        The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is EVENT_DATA_STORE. For service-linked channels, the value is AWS_SERVICE.

        Parameters:
        type - The type of destination for events arriving from a channel. For channels used for a CloudTrail Lake integration, the value is EVENT_DATA_STORE. For service-linked channels, the value is AWS_SERVICE.
        Returns:
        Returns a reference to this object so that method calls can be chained together.
        See Also:
        DestinationType, DestinationType
      • location

        Destination.Builder location​(String location)

        For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the Amazon Web Services service.

        Parameters:
        location - For channels used for a CloudTrail Lake integration, the location is the ARN of an event data store that receives events from a channel. For service-linked channels, the location is the name of the Amazon Web Services service.
        Returns:
        Returns a reference to this object so that method calls can be chained together.