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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description S3Storage.Builder
awsAccessKeyId(String awsAccessKeyId)
The access key ID of the owner of the bucket.S3Storage.Builder
bucket(String bucket)
The bucket in which to store the AMI.S3Storage.Builder
prefix(String prefix)
The beginning of the file name of the AMI.S3Storage.Builder
uploadPolicy(SdkBytes uploadPolicy)
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.S3Storage.Builder
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 Detail
-
awsAccessKeyId
S3Storage.Builder awsAccessKeyId(String 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
S3Storage.Builder bucket(String 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
S3Storage.Builder prefix(String 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
S3Storage.Builder uploadPolicy(SdkBytes 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
S3Storage.Builder uploadPolicySignature(String 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.
-
-