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 Summary
Modifier and TypeMethodDescriptionactionFailurePolicy
(String actionFailurePolicy) A policy that states what to do in the case of failure.actionFailurePolicy
(ActionFailurePolicy actionFailurePolicy) A policy that states what to do in the case of failure.The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3.The bucket name of the S3 bucket to write to.The S3 prefix to use for the write to the s3 bucket.s3SseKmsKeyId
(String s3SseKmsKeyId) The KMS Key ID to use to encrypt the message in S3.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
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
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
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
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
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
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.
-