Interface Subscription.Builder

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

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

    • id

      A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
      Parameters:
      id - A descriptive or arbitrary ID for the subscription. This value must be unique within the subscription definition version. Max length is 128 characters with pattern ''[a-zA-Z0-9:_-]+''.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • source

      Subscription.Builder source(String source)
      The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.
      Parameters:
      source - The source of the subscription. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • subject

      Subscription.Builder subject(String subject)
      The MQTT topic used to route the message.
      Parameters:
      subject - The MQTT topic used to route the message.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • target

      Subscription.Builder target(String target)
      Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.
      Parameters:
      target - Where the message is sent to. Can be a thing ARN, a Lambda function ARN, a connector ARN, 'cloud' (which represents the AWS IoT cloud), or 'GGShadowService'.
      Returns:
      Returns a reference to this object so that method calls can be chained together.