@Generated(value="software.amazon.awssdk:codegen") public final class CreateReplicationJobRequest extends SmsRequest implements ToCopyableBuilder<CreateReplicationJobRequest.Builder,CreateReplicationJobRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateReplicationJobRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateReplicationJobRequest.Builder |
builder() |
String |
description()
The description of the replication job.
|
Boolean |
encrypted()
When true, the replication job produces encrypted AMIs.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
Integer |
frequency()
The time between consecutive replication runs, in hours.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
kmsKeyId()
KMS key ID for replication jobs that produce encrypted AMIs.
|
LicenseType |
licenseType()
The license type to be used for the AMI created by a successful replication run.
|
String |
licenseTypeAsString()
The license type to be used for the AMI created by a successful replication run.
|
Integer |
numberOfRecentAmisToKeep()
The maximum number of SMS-created AMIs to retain.
|
String |
roleName()
The name of the IAM role to be used by the AWS SMS.
|
Boolean |
runOnce()
|
List<SdkField<?>> |
sdkFields() |
Instant |
seedReplicationTime()
The seed replication time.
|
static Class<? extends CreateReplicationJobRequest.Builder> |
serializableBuilderClass() |
String |
serverId()
The identifier of the server.
|
CreateReplicationJobRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic String serverId()
The identifier of the server.
public Instant seedReplicationTime()
The seed replication time.
public Integer frequency()
The time between consecutive replication runs, in hours.
public Boolean runOnce()
public LicenseType licenseType()
The license type to be used for the AMI created by a successful replication run.
If the service returns an enum value that is not available in the current SDK version, licenseType will
return LicenseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
licenseTypeAsString().
LicenseTypepublic String licenseTypeAsString()
The license type to be used for the AMI created by a successful replication run.
If the service returns an enum value that is not available in the current SDK version, licenseType will
return LicenseType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from
licenseTypeAsString().
LicenseTypepublic String roleName()
The name of the IAM role to be used by the AWS SMS.
public String description()
The description of the replication job.
public 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.
public Boolean encrypted()
When true, the replication job produces encrypted AMIs. See also KmsKeyId below.
KmsKeyId below.public 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.
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.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateReplicationJobRequest.Builder,CreateReplicationJobRequest>toBuilder in class SmsRequestpublic static CreateReplicationJobRequest.Builder builder()
public static Class<? extends CreateReplicationJobRequest.Builder> serializableBuilderClass()
public int hashCode()
hashCode in class AwsRequestpublic boolean equals(Object obj)
equals in class AwsRequestpublic boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic String toString()
public <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2019. All rights reserved.