@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateReplicationJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateReplicationJobRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateReplicationJobRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the replication job.
|
Boolean |
getEncrypted()
When true, the replication job produces encrypted AMIs .
|
Integer |
getFrequency()
The time between consecutive replication runs, in hours.
|
String |
getKmsKeyId()
|
String |
getLicenseType()
The license type to be used for the AMI created by a successful replication run.
|
Date |
getNextReplicationRunStartTime()
The start time of the next replication run.
|
Integer |
getNumberOfRecentAmisToKeep()
The maximum number of SMS-created AMIs to retain.
|
String |
getReplicationJobId()
The identifier of the replication job.
|
String |
getRoleName()
The name of the IAM role to be used by AWS SMS.
|
int |
hashCode() |
Boolean |
isEncrypted()
When true, the replication job produces encrypted AMIs .
|
void |
setDescription(String description)
The description of the replication job.
|
void |
setEncrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs .
|
void |
setFrequency(Integer frequency)
The time between consecutive replication runs, in hours.
|
void |
setKmsKeyId(String kmsKeyId)
|
void |
setLicenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
|
void |
setLicenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
|
void |
setNextReplicationRunStartTime(Date nextReplicationRunStartTime)
The start time of the next replication run.
|
void |
setNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
The maximum number of SMS-created AMIs to retain.
|
void |
setReplicationJobId(String replicationJobId)
The identifier of the replication job.
|
void |
setRoleName(String roleName)
The name of the IAM role to be used by AWS SMS.
|
String |
toString()
Returns a string representation of this object.
|
UpdateReplicationJobRequest |
withDescription(String description)
The description of the replication job.
|
UpdateReplicationJobRequest |
withEncrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs .
|
UpdateReplicationJobRequest |
withFrequency(Integer frequency)
The time between consecutive replication runs, in hours.
|
UpdateReplicationJobRequest |
withKmsKeyId(String kmsKeyId)
|
UpdateReplicationJobRequest |
withLicenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
|
UpdateReplicationJobRequest |
withLicenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
|
UpdateReplicationJobRequest |
withNextReplicationRunStartTime(Date nextReplicationRunStartTime)
The start time of the next replication run.
|
UpdateReplicationJobRequest |
withNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
The maximum number of SMS-created AMIs to retain.
|
UpdateReplicationJobRequest |
withReplicationJobId(String replicationJobId)
The identifier of the replication job.
|
UpdateReplicationJobRequest |
withRoleName(String roleName)
The name of the IAM role to be used by AWS SMS.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setReplicationJobId(String replicationJobId)
The identifier of the replication job.
replicationJobId
- The identifier of the replication job.public String getReplicationJobId()
The identifier of the replication job.
public UpdateReplicationJobRequest withReplicationJobId(String replicationJobId)
The identifier of the replication job.
replicationJobId
- The identifier of the replication job.public void setFrequency(Integer frequency)
The time between consecutive replication runs, in hours.
frequency
- The time between consecutive replication runs, in hours.public Integer getFrequency()
The time between consecutive replication runs, in hours.
public UpdateReplicationJobRequest withFrequency(Integer frequency)
The time between consecutive replication runs, in hours.
frequency
- The time between consecutive replication runs, in hours.public void setNextReplicationRunStartTime(Date nextReplicationRunStartTime)
The start time of the next replication run.
nextReplicationRunStartTime
- The start time of the next replication run.public Date getNextReplicationRunStartTime()
The start time of the next replication run.
public UpdateReplicationJobRequest withNextReplicationRunStartTime(Date nextReplicationRunStartTime)
The start time of the next replication run.
nextReplicationRunStartTime
- The start time of the next replication run.public void setLicenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
licenseType
- The license type to be used for the AMI created by a successful replication run.LicenseType
public String getLicenseType()
The license type to be used for the AMI created by a successful replication run.
LicenseType
public UpdateReplicationJobRequest withLicenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
licenseType
- The license type to be used for the AMI created by a successful replication run.LicenseType
public void setLicenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
licenseType
- The license type to be used for the AMI created by a successful replication run.LicenseType
public UpdateReplicationJobRequest withLicenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
licenseType
- The license type to be used for the AMI created by a successful replication run.LicenseType
public void setRoleName(String roleName)
The name of the IAM role to be used by AWS SMS.
roleName
- The name of the IAM role to be used by AWS SMS.public String getRoleName()
The name of the IAM role to be used by AWS SMS.
public UpdateReplicationJobRequest withRoleName(String roleName)
The name of the IAM role to be used by AWS SMS.
roleName
- The name of the IAM role to be used by AWS SMS.public void setDescription(String description)
The description of the replication job.
description
- The description of the replication job.public String getDescription()
The description of the replication job.
public UpdateReplicationJobRequest withDescription(String description)
The description of the replication job.
description
- The description of the replication job.public void setNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is reached and a new AMI is created.
numberOfRecentAmisToKeep
- The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is
reached and a new AMI is created.public Integer getNumberOfRecentAmisToKeep()
The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is reached and a new AMI is created.
public UpdateReplicationJobRequest withNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is reached and a new AMI is created.
numberOfRecentAmisToKeep
- The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number is
reached and a new AMI is created.public void setEncrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs . See also KmsKeyId
below.
encrypted
- When true, the replication job produces encrypted AMIs . See also KmsKeyId
below.public Boolean getEncrypted()
When true, the replication job produces encrypted AMIs . See also KmsKeyId
below.
KmsKeyId
below.public UpdateReplicationJobRequest withEncrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs . See also KmsKeyId
below.
encrypted
- When true, the replication job produces encrypted AMIs . See also KmsKeyId
below.public Boolean isEncrypted()
When true, the replication job produces encrypted AMIs . See also KmsKeyId
below.
KmsKeyId
below.public void setKmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
kmsKeyId
- KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
public String getKmsKeyId()
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
public UpdateReplicationJobRequest withKmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
kmsKeyId
- KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
public String toString()
toString
in class Object
Object.toString()
public UpdateReplicationJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.