Interface Destination.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Destination.Builder,Destination>, SdkBuilder<Destination.Builder,Destination>, SdkPojo
Enclosing class:
Destination

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

    • destinationName

      Destination.Builder destinationName(String destinationName)

      The name of the destination.

      Parameters:
      destinationName - The name of the destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • targetArn

      Destination.Builder targetArn(String targetArn)

      The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).

      Parameters:
      targetArn - The Amazon Resource Name (ARN) of the physical target where the log events are delivered (for example, a Kinesis stream).
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      Destination.Builder roleArn(String roleArn)

      A role for impersonation, used when delivering log events to the target.

      Parameters:
      roleArn - A role for impersonation, used when delivering log events to the target.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accessPolicy

      Destination.Builder accessPolicy(String accessPolicy)

      An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.

      Parameters:
      accessPolicy - An IAM policy document that governs which Amazon Web Services accounts can create subscription filters against this destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • arn

      The ARN of this destination.

      Parameters:
      arn - The ARN of this destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • creationTime

      Destination.Builder creationTime(Long creationTime)

      The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.

      Parameters:
      creationTime - The creation time of the destination, expressed as the number of milliseconds after Jan 1, 1970 00:00:00 UTC.
      Returns:
      Returns a reference to this object so that method calls can be chained together.