Interface S3Action.Builder

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

@Mutable @NotThreadSafe public static interface S3Action.Builder extends SdkPojo, CopyableBuilder<S3Action.Builder,S3Action>
  • Method Details

    • actionFailurePolicy

      S3Action.Builder actionFailurePolicy(String actionFailurePolicy)

      A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified the bucket has been deleted.

      Parameters:
      actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified the bucket has been deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • actionFailurePolicy

      S3Action.Builder actionFailurePolicy(ActionFailurePolicy actionFailurePolicy)

      A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified the bucket has been deleted.

      Parameters:
      actionFailurePolicy - A policy that states what to do in the case of failure. The action will fail if there are configuration errors. For example, the specified the bucket has been deleted.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • roleArn

      S3Action.Builder roleArn(String roleArn)

      The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. This role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey APIs for the given bucket.

      Parameters:
      roleArn - The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3. This role must have access to the s3:PutObject, kms:Encrypt, and kms:GenerateDataKey APIs for the given bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Bucket

      S3Action.Builder s3Bucket(String s3Bucket)

      The bucket name of the S3 bucket to write to.

      Parameters:
      s3Bucket - The bucket name of the S3 bucket to write to.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3Prefix

      S3Action.Builder s3Prefix(String s3Prefix)

      The S3 prefix to use for the write to the s3 bucket.

      Parameters:
      s3Prefix - The S3 prefix to use for the write to the s3 bucket.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • s3SseKmsKeyId

      S3Action.Builder s3SseKmsKeyId(String s3SseKmsKeyId)

      The KMS Key ID to use to encrypt the message in S3.

      Parameters:
      s3SseKmsKeyId - The KMS Key ID to use to encrypt the message in S3.
      Returns:
      Returns a reference to this object so that method calls can be chained together.