Class EventTargetKinesis.Builder

java.lang.Object
com.ngrok.definitions.EventTargetKinesis.Builder
Enclosing class:
EventTargetKinesis

public static class EventTargetKinesis.Builder extends Object
Builder class for EventTargetKinesis.
  • Method Details

    • auth

      public EventTargetKinesis.Builder auth(AwsAuth auth)
      Configuration for how to authenticate into your AWS account. Exactly one of role or creds should be configured.
      Parameters:
      auth - the value of the auth parameter as a AwsAuth
      Returns:
      this builder instance
    • auth

      Configuration for how to authenticate into your AWS account. Exactly one of role or creds should be configured.
      Parameters:
      auth - the value of the auth parameter as a AwsAuth, wrapped in an Optional
      Returns:
      this builder instance
    • streamArn

      public EventTargetKinesis.Builder streamArn(String streamArn)
      An Amazon Resource Name specifying the Kinesis stream to deposit events into.
      Parameters:
      streamArn - the value of the stream_arn parameter as a String
      Returns:
      this builder instance
    • streamArn

      public EventTargetKinesis.Builder streamArn(Optional<String> streamArn)
      An Amazon Resource Name specifying the Kinesis stream to deposit events into.
      Parameters:
      streamArn - the value of the stream_arn parameter as a String, wrapped in an Optional
      Returns:
      this builder instance
    • build

      public EventTargetKinesis build()
      Constructs the EventTargetKinesis instance.
      Returns:
      a new EventTargetKinesis