@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()
Indicates whether 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()
The ID of the KMS key 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 Server Migration Service.
|
Boolean |
runOnce()
Indicates whether to run the replication job one time.
|
List<SdkField<?>> |
sdkFields() |
Instant |
seedReplicationTime()
The seed replication time.
|
static Class<? extends CreateReplicationJobRequest.Builder> |
serializableBuilderClass() |
String |
serverId()
The ID of the server.
|
CreateReplicationJobRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String serverId()
The ID of the server.
public final Instant seedReplicationTime()
The seed replication time.
public final Integer frequency()
The time between consecutive replication runs, in hours.
public final Boolean runOnce()
Indicates whether to run the replication job one time.
public final 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 final 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 final String roleName()
The name of the IAM role to be used by the Server Migration Service.
public final String description()
The description of the replication job.
public final Integer numberOfRecentAmisToKeep()
The maximum number of SMS-created AMIs to retain. The oldest is deleted after the maximum number is reached and a new AMI is created.
public final Boolean encrypted()
Indicates whether the replication job produces encrypted AMIs.
public final String kmsKeyId()
The ID of the KMS key for replication jobs that produce encrypted AMIs. This value can be any of the following:
KMS key ID
KMS key alias
ARN referring to the KMS key ID
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
KMS key ID
KMS key alias
ARN referring to the KMS key ID
ARN referring to the KMS key alias
If encrypted is true but a KMS key ID is not specified, the customer's default KMS key for Amazon 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 final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2022. All rights reserved.