Class S3Storage
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<S3Storage.Builder,S3Storage>
Describes the storage parameters for Amazon S3 and Amazon S3 buckets for an instance store-backed AMI.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe access key ID of the owner of the bucket.final Stringbucket()The bucket in which to store the AMI.static S3Storage.Builderbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final Stringprefix()The beginning of the file name of the AMI.static Class<? extends S3Storage.Builder>final StringtoString()Returns a string representation of this object.final SdkBytesAn Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.final StringThe signature of the JSON document.Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
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.
- Returns:
- 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.
-
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:
- 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.
-
prefix
The beginning of the file name of the AMI.
- Returns:
- The beginning of the file name of the AMI.
-
uploadPolicy
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
- Returns:
- An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
-
uploadPolicySignature
The signature of the JSON document.
- Returns:
- The signature of the JSON document.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<S3Storage.Builder,S3Storage>
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-