@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ServerReplicationParameters extends Object implements Serializable, Cloneable, StructuredPojo
Replication parameters for replicating a server.
Constructor and Description |
---|
ServerReplicationParameters() |
Modifier and Type | Method and Description |
---|---|
ServerReplicationParameters |
clone() |
boolean |
equals(Object obj) |
Boolean |
getEncrypted()
When true, the replication job produces encrypted AMIs.
|
Integer |
getFrequency()
Frequency of creating replication jobs for the server.
|
String |
getKmsKeyId()
|
String |
getLicenseType()
License type for creating a replication job for the server.
|
Integer |
getNumberOfRecentAmisToKeep()
Number of recent AMIs to keep when creating a replication job for this server.
|
Boolean |
getRunOnce()
|
Date |
getSeedTime()
Seed time for creating a replication job for the server.
|
int |
hashCode() |
Boolean |
isEncrypted()
When true, the replication job produces encrypted AMIs.
|
Boolean |
isRunOnce()
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setEncrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs.
|
void |
setFrequency(Integer frequency)
Frequency of creating replication jobs for the server.
|
void |
setKmsKeyId(String kmsKeyId)
|
void |
setLicenseType(String licenseType)
License type for creating a replication job for the server.
|
void |
setNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
Number of recent AMIs to keep when creating a replication job for this server.
|
void |
setRunOnce(Boolean runOnce)
|
void |
setSeedTime(Date seedTime)
Seed time for creating a replication job for the server.
|
String |
toString()
Returns a string representation of this object.
|
ServerReplicationParameters |
withEncrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs.
|
ServerReplicationParameters |
withFrequency(Integer frequency)
Frequency of creating replication jobs for the server.
|
ServerReplicationParameters |
withKmsKeyId(String kmsKeyId)
|
ServerReplicationParameters |
withLicenseType(LicenseType licenseType)
License type for creating a replication job for the server.
|
ServerReplicationParameters |
withLicenseType(String licenseType)
License type for creating a replication job for the server.
|
ServerReplicationParameters |
withNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
Number of recent AMIs to keep when creating a replication job for this server.
|
ServerReplicationParameters |
withRunOnce(Boolean runOnce)
|
ServerReplicationParameters |
withSeedTime(Date seedTime)
Seed time for creating a replication job for the server.
|
public void setSeedTime(Date seedTime)
Seed time for creating a replication job for the server.
seedTime
- Seed time for creating a replication job for the server.public Date getSeedTime()
Seed time for creating a replication job for the server.
public ServerReplicationParameters withSeedTime(Date seedTime)
Seed time for creating a replication job for the server.
seedTime
- Seed time for creating a replication job for the server.public void setFrequency(Integer frequency)
Frequency of creating replication jobs for the server.
frequency
- Frequency of creating replication jobs for the server.public Integer getFrequency()
Frequency of creating replication jobs for the server.
public ServerReplicationParameters withFrequency(Integer frequency)
Frequency of creating replication jobs for the server.
frequency
- Frequency of creating replication jobs for the server.public void setRunOnce(Boolean runOnce)
runOnce
- public Boolean getRunOnce()
public ServerReplicationParameters withRunOnce(Boolean runOnce)
runOnce
- public Boolean isRunOnce()
public void setLicenseType(String licenseType)
License type for creating a replication job for the server.
licenseType
- License type for creating a replication job for the server.LicenseType
public String getLicenseType()
License type for creating a replication job for the server.
LicenseType
public ServerReplicationParameters withLicenseType(String licenseType)
License type for creating a replication job for the server.
licenseType
- License type for creating a replication job for the server.LicenseType
public ServerReplicationParameters withLicenseType(LicenseType licenseType)
License type for creating a replication job for the server.
licenseType
- License type for creating a replication job for the server.LicenseType
public void setNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
Number of recent AMIs to keep when creating a replication job for this server.
numberOfRecentAmisToKeep
- Number of recent AMIs to keep when creating a replication job for this server.public Integer getNumberOfRecentAmisToKeep()
Number of recent AMIs to keep when creating a replication job for this server.
public ServerReplicationParameters withNumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
Number of recent AMIs to keep when creating a replication job for this server.
numberOfRecentAmisToKeep
- Number of recent AMIs to keep when creating a replication job for this server.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 ServerReplicationParameters 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 ServerReplicationParameters 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 ServerReplicationParameters clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.