@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateReplicationJobRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateReplicationJobRequest() |
Modifier and Type | Method and Description |
---|---|
CreateReplicationJobRequest |
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()
KMS key ID for replication jobs that produce encrypted AMIs.
|
String |
getLicenseType()
The license type to be used for the AMI created by a successful replication run.
|
Integer |
getNumberOfRecentAmisToKeep()
The maximum number of SMS-created AMIs to retain.
|
String |
getRoleName()
The name of the IAM role to be used by the AWS SMS.
|
Boolean |
getRunOnce()
|
Date |
getSeedReplicationTime()
The seed replication time.
|
String |
getServerId()
The identifier of the server.
|
int |
hashCode() |
Boolean |
isEncrypted()
When true, the replication job produces encrypted AMIs.
|
Boolean |
isRunOnce()
|
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)
KMS key ID for replication jobs that produce encrypted AMIs.
|
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 |
setNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
The maximum number of SMS-created AMIs to retain.
|
void |
setRoleName(String roleName)
The name of the IAM role to be used by the AWS SMS.
|
void |
setRunOnce(Boolean runOnce)
|
void |
setSeedReplicationTime(Date seedReplicationTime)
The seed replication time.
|
void |
setServerId(String serverId)
The identifier of the server.
|
String |
toString()
Returns a string representation of this object.
|
CreateReplicationJobRequest |
withDescription(String description)
The description of the replication job.
|
CreateReplicationJobRequest |
withEncrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs.
|
CreateReplicationJobRequest |
withFrequency(Integer frequency)
The time between consecutive replication runs, in hours.
|
CreateReplicationJobRequest |
withKmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs.
|
CreateReplicationJobRequest |
withLicenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
|
CreateReplicationJobRequest |
withLicenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
|
CreateReplicationJobRequest |
withNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
The maximum number of SMS-created AMIs to retain.
|
CreateReplicationJobRequest |
withRoleName(String roleName)
The name of the IAM role to be used by the AWS SMS.
|
CreateReplicationJobRequest |
withRunOnce(Boolean runOnce)
|
CreateReplicationJobRequest |
withSeedReplicationTime(Date seedReplicationTime)
The seed replication time.
|
CreateReplicationJobRequest |
withServerId(String serverId)
The identifier of the server.
|
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 setServerId(String serverId)
The identifier of the server.
serverId
- The identifier of the server.public String getServerId()
The identifier of the server.
public CreateReplicationJobRequest withServerId(String serverId)
The identifier of the server.
serverId
- The identifier of the server.public void setSeedReplicationTime(Date seedReplicationTime)
The seed replication time.
seedReplicationTime
- The seed replication time.public Date getSeedReplicationTime()
The seed replication time.
public CreateReplicationJobRequest withSeedReplicationTime(Date seedReplicationTime)
The seed replication time.
seedReplicationTime
- The seed replication time.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 CreateReplicationJobRequest withFrequency(Integer frequency)
The time between consecutive replication runs, in hours.
frequency
- The time between consecutive replication runs, in hours.public void setRunOnce(Boolean runOnce)
runOnce
- public Boolean getRunOnce()
public CreateReplicationJobRequest withRunOnce(Boolean runOnce)
runOnce
- public Boolean isRunOnce()
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 CreateReplicationJobRequest 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 CreateReplicationJobRequest 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 the AWS SMS.
roleName
- The name of the IAM role to be used by the AWS SMS.public String getRoleName()
The name of the IAM role to be used by the AWS SMS.
public CreateReplicationJobRequest withRoleName(String roleName)
The name of the IAM role to be used by the AWS SMS.
roleName
- The name of the IAM role to be used by the 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 CreateReplicationJobRequest 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 CreateReplicationJobRequest 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 CreateReplicationJobRequest 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
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 CreateReplicationJobRequest 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 CreateReplicationJobRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.