Interface S3Storage.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<S3Storage.Builder,
,S3Storage> SdkBuilder<S3Storage.Builder,
,S3Storage> SdkPojo
- Enclosing class:
S3Storage
public static interface S3Storage.Builder
extends SdkPojo, CopyableBuilder<S3Storage.Builder,S3Storage>
-
Method Summary
Modifier and TypeMethodDescriptionawsAccessKeyId
(String awsAccessKeyId) The access key ID of the owner of the bucket.The bucket in which to store the AMI.The beginning of the file name of the AMI.uploadPolicy
(SdkBytes uploadPolicy) An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.uploadPolicySignature
(String uploadPolicySignature) The signature of the JSON document.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 Details
-
awsAccessKeyId
The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best Practices for Amazon Web Services accounts in the Account ManagementReference Guide.
- Parameters:
awsAccessKeyId
- The access key ID of the owner of the bucket. Before you specify a value for your access key ID, review and follow the guidance in Best Practices for Amazon Web Services accounts in the Account ManagementReference Guide.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
bucket
The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.
- Parameters:
bucket
- The bucket in which to store the AMI. You can specify a bucket that you already own or a new bucket that Amazon EC2 creates on your behalf. If you specify a bucket that belongs to someone else, Amazon EC2 returns an error.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
prefix
The beginning of the file name of the AMI.
- Parameters:
prefix
- The beginning of the file name of the AMI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadPolicy
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
- Parameters:
uploadPolicy
- An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
uploadPolicySignature
The signature of the JSON document.
- Parameters:
uploadPolicySignature
- The signature of the JSON document.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-