@Generated(value="software.amazon.awssdk:codegen") public final class S3Storage extends Object implements 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) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
prefix()
The beginning of the file name of the AMI.
|
static Class<? extends S3Storage.Builder> |
serializableBuilderClass() |
S3Storage.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
String |
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.
|
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 String 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()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<S3Storage.Builder,S3Storage>
public static S3Storage.Builder builder()
public static Class<? extends S3Storage.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.