Interface S3Action.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<S3Action.Builder,S3Action>,SdkBuilder<S3Action.Builder,S3Action>,SdkPojo
- Enclosing class:
- S3Action
public static interface S3Action.Builder extends SdkPojo, CopyableBuilder<S3Action.Builder,S3Action>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3Action.BuilderactionFailurePolicy(String actionFailurePolicy)A policy that states what to do in the case of failure.S3Action.BuilderactionFailurePolicy(ActionFailurePolicy actionFailurePolicy)A policy that states what to do in the case of failure.S3Action.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the IAM Role to use while writing to S3.S3Action.Builders3Bucket(String s3Bucket)The bucket name of the S3 bucket to write to.S3Action.Builders3Prefix(String s3Prefix)The S3 prefix to use for the write to the s3 bucket.S3Action.Builders3SseKmsKeyId(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, sdkFields
-
-
-
-
Method Detail
-
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,ActionFailurePolicy
-
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:
ActionFailurePolicy,ActionFailurePolicy
-
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.
-
-