Interface CreateDestinationRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateDestinationRequest.Builder,CreateDestinationRequest>, IotWirelessRequest.Builder, SdkBuilder<CreateDestinationRequest.Builder,CreateDestinationRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateDestinationRequest

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

    • name

      The name of the new resource.

      Parameters:
      name - The name of the new resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • expressionType

      CreateDestinationRequest.Builder expressionType(String expressionType)

      The type of value in Expression.

      Parameters:
      expressionType - The type of value in Expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expressionType

      CreateDestinationRequest.Builder expressionType(ExpressionType expressionType)

      The type of value in Expression.

      Parameters:
      expressionType - The type of value in Expression.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • expression

      CreateDestinationRequest.Builder expression(String expression)

      The rule name or topic rule to send messages to.

      Parameters:
      expression - The rule name or topic rule to send messages to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateDestinationRequest.Builder description(String description)

      The description of the new resource.

      Parameters:
      description - The description of the new resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • roleArn

      The ARN of the IAM Role that authorizes the destination.

      Parameters:
      roleArn - The ARN of the IAM Role that authorizes the destination.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

      Parameters:
      tags - The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

      Parameters:
      tags - The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to attach to the new destination. Tags are metadata that you can use to manage a resource.

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

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

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

      CreateDestinationRequest.Builder clientRequestToken(String clientRequestToken)

      Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.

      Parameters:
      clientRequestToken - Each resource must have a unique client request token. The client token is used to implement idempotency. It ensures that the request completes no more than one time. If you retry a request with the same token and the same parameters, the request will complete successfully. However, if you try to create a new resource using the same token but different parameters, an HTTP 409 conflict occurs. If you omit this value, AWS SDKs will automatically generate a unique client request. For more information about idempotency, see Ensuring idempotency in Amazon EC2 API requests.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • overrideConfiguration

      CreateDestinationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.