public final class PutInstructionFileRequest extends AmazonWebServiceRequest implements MaterialsDescriptionProvider, EncryptionMaterialsFactory
| Constructor and Description | 
|---|
PutInstructionFileRequest(S3ObjectId s3ObjectId,
                         EncryptionMaterials encryptionMaterials,
                         java.lang.String suffix)  | 
PutInstructionFileRequest(S3ObjectId s3ObjectId,
                         java.util.Map<java.lang.String,java.lang.String> matDesc,
                         java.lang.String suffix)  | 
| Modifier and Type | Method and Description | 
|---|---|
PutObjectRequest | 
createPutObjectRequest(S3Object s3Object)
Creates and returns a  
PutObjectRequest for the instruction file
 with the specified suffix. | 
AccessControlList | 
getAccessControlList()
Returns the optional access control list for the new object. 
 | 
CannedAccessControlList | 
getCannedAcl()
Gets the optional pre-configured access control policy to use for the new
 object. 
 | 
EncryptionMaterials | 
getEncryptionMaterials()
Returns the encryption materials if specified; or null if not. 
 | 
java.util.Map<java.lang.String,java.lang.String> | 
getMaterialsDescription()
Returns the material description for the new instruction file. 
 | 
java.lang.String | 
getRedirectLocation()
Gets the optional redirect location for the new object. 
 | 
S3ObjectId | 
getS3ObjectId()
Returns the S3 object id for which the new instruction file will be
 created. 
 | 
java.lang.String | 
getStorageClass()
Gets the optional Amazon S3 storage class to use when storing the new
 object. 
 | 
java.lang.String | 
getSuffix()
Returns the suffix for the new instruction file. 
 | 
void | 
setAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object. 
 | 
void | 
setCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new
 object. 
 | 
void | 
setRedirectLocation(java.lang.String redirectLocation)
Sets the optional redirect location for the new object. 
 | 
void | 
setStorageClass(StorageClass storageClass)
Sets the optional Amazon S3 storage class to use when storing the new
 object. 
 | 
void | 
setStorageClass(java.lang.String storageClass)
Sets the optional Amazon S3 storage class to use when storing the new
 object. 
 | 
PutInstructionFileRequest | 
withAccessControlList(AccessControlList accessControlList)
Sets the optional access control list for the new object. 
 | 
PutInstructionFileRequest | 
withCannedAcl(CannedAccessControlList cannedAcl)
Sets the optional pre-configured access control policy to use for the new
 object. 
 | 
PutInstructionFileRequest | 
withRedirectLocation(java.lang.String redirectLocation)
Sets the optional redirect location for the new object.Returns this
  
PutObjectRequest, enabling additional method calls to be chained
 together. | 
PutInstructionFileRequest | 
withStorageClass(StorageClass storageClass)
Sets the optional Amazon S3 storage class to use when storing the new
 object. 
 | 
PutInstructionFileRequest | 
withStorageClass(java.lang.String storageClass)
Sets the optional Amazon S3 storage class to use when storing the new
 object. 
 | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic PutInstructionFileRequest(S3ObjectId s3ObjectId, java.util.Map<java.lang.String,java.lang.String> matDesc, java.lang.String suffix)
s3ObjectId - id of the corresponding s3 object.matDesc - material description of the instruction filesuffix - suffix of the instruction file to be putpublic PutInstructionFileRequest(S3ObjectId s3ObjectId, EncryptionMaterials encryptionMaterials, java.lang.String suffix)
s3ObjectId - id of the corresponding s3 object.encryptionMaterials - encryption materials to be used for the instruction filesuffix - suffix of the instruction file to be putpublic S3ObjectId getS3ObjectId()
public java.util.Map<java.lang.String,java.lang.String> getMaterialsDescription()
getMaterialsDescription in interface MaterialsDescriptionProviderpublic EncryptionMaterials getEncryptionMaterials()
getEncryptionMaterials in interface EncryptionMaterialsFactorypublic java.lang.String getSuffix()
public CannedAccessControlList getCannedAcl()
AbstractPutObjectRequest.setCannedAcl(CannedAccessControlList), 
PutObjectRequest.withCannedAcl(CannedAccessControlList)public void setCannedAcl(CannedAccessControlList cannedAcl)
cannedAcl - The optional pre-configured access control policy to use for
            the new object.AbstractPutObjectRequest.getCannedAcl(), 
PutObjectRequest.withCannedAcl(CannedAccessControlList)public PutInstructionFileRequest withCannedAcl(CannedAccessControlList cannedAcl)
PutObjectRequest, enabling additional method
 calls to be chained together.cannedAcl - The optional pre-configured access control policy to use for
            the new object.PutObjectRequest, enabling additional method calls
         to be chained together.AbstractPutObjectRequest.getCannedAcl(), 
AbstractPutObjectRequest.setCannedAcl(CannedAccessControlList)public AccessControlList getAccessControlList()
public void setAccessControlList(AccessControlList accessControlList)
accessControlList - The access control list for the new object.public PutInstructionFileRequest withAccessControlList(AccessControlList accessControlList)
PutObjectRequest,
 enabling additional method calls to be chained together.accessControlList - The access control list for the new object.public java.lang.String getRedirectLocation()
public void setRedirectLocation(java.lang.String redirectLocation)
redirectLocation - The redirect location for the new object.public PutInstructionFileRequest withRedirectLocation(java.lang.String redirectLocation)
PutObjectRequest, enabling additional method calls to be chained
 together.redirectLocation - The redirect location for the new object.public java.lang.String getStorageClass()
 For more information on available Amazon S3 storage classes, see the
 StorageClass enumeration.
 
setStorageClass(String), 
setStorageClass(StorageClass), 
withStorageClass(StorageClass), 
withStorageClass(String)public void setStorageClass(java.lang.String storageClass)
 For more information on Amazon S3 storage classes and available values,
 see the StorageClass enumeration.
 
storageClass - The storage class to use when storing the new object.getStorageClass(), 
setStorageClass(String), 
withStorageClass(StorageClass), 
withStorageClass(String)public PutInstructionFileRequest withStorageClass(java.lang.String storageClass)
PutObjectRequest, enabling additional method
 calls to be chained together. If not specified, the default standard
 storage class will be used when storing the object.
 
 For more information on Amazon S3 storage classes and available values,
 see the StorageClass enumeration.
 
storageClass - The storage class to use when storing the new object.PutObjectRequest, enabling additional method calls
         to be chained together.getStorageClass(), 
setStorageClass(StorageClass), 
setStorageClass(String), 
withStorageClass(StorageClass)public void setStorageClass(StorageClass storageClass)
 For more information on Amazon S3 storage classes and available values,
 see the StorageClass enumeration.
 
storageClass - The storage class to use when storing the new object.getStorageClass(), 
setStorageClass(String)public PutInstructionFileRequest withStorageClass(StorageClass storageClass)
PutObjectRequest, enabling additional method
 calls to be chained together. If not specified, the default standard
 storage class will be used when storing the object.
 
 For more information on Amazon S3 storage classes and available values,
 see the StorageClass enumeration.
 
storageClass - The storage class to use when storing the new object.PutObjectRequest, enabling additional method calls
         to be chained together.getStorageClass(), 
setStorageClass(StorageClass), 
setStorageClass(String), 
withStorageClass(String)public PutObjectRequest createPutObjectRequest(S3Object s3Object)
PutObjectRequest for the instruction file
 with the specified suffix.Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.