@Generated(value="software.amazon.awssdk:codegen") public final class S3Storage extends Object implements SdkPojo, Serializable, ToCopyableBuilder<S3Storage.Builder,S3Storage>
Describes the storage parameters for S3 and S3 buckets for an instance store-backed AMI.
Modifier and Type | Class and Description |
---|---|
static interface |
S3Storage.Builder |
Modifier and Type | Method and Description |
---|---|
String |
awsAccessKeyId()
The access key ID of the owner of the bucket.
|
String |
bucket()
The bucket in which to store the AMI.
|
static S3Storage.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The beginning of the file name of the AMI.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends S3Storage.Builder> |
serializableBuilderClass() |
S3Storage.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
SdkBytes |
uploadPolicy()
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
|
String |
uploadPolicySignature()
The signature of the JSON document.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
copy
public 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 Managing AWS Access Keys.
public 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.
public String prefix()
The beginning of the file name of the AMI.
public SdkBytes uploadPolicy()
An Amazon S3 upload policy that gives Amazon EC2 permission to upload items into Amazon S3 on your behalf.
public String uploadPolicySignature()
The signature of the JSON document.
public S3Storage.Builder toBuilder()
toBuilder
in interface ToCopyableBuilder<S3Storage.Builder,S3Storage>
public static S3Storage.Builder builder()
public static Class<? extends S3Storage.Builder> serializableBuilderClass()
public boolean equalsBySdkFields(Object obj)
equalsBySdkFields
in interface SdkPojo
public String toString()
Copyright © 2019. All rights reserved.