@Generated(value="software.amazon.awssdk:codegen") public final class UpdateReplicationJobRequest extends SmsRequest implements ToCopyableBuilder<UpdateReplicationJobRequest.Builder,UpdateReplicationJobRequest>
| Modifier and Type | Class and Description |
|---|---|
static interface |
UpdateReplicationJobRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static UpdateReplicationJobRequest.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()
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.
|
Instant |
nextReplicationRunStartTime()
The start time of the next replication run.
|
Integer |
numberOfRecentAmisToKeep()
The maximum number of SMS-created AMIs to retain.
|
String |
replicationJobId()
The ID of the replication job.
|
String |
roleName()
The name of the IAM role to be used by Server Migration Service.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends UpdateReplicationJobRequest.Builder> |
serializableBuilderClass() |
UpdateReplicationJobRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final String replicationJobId()
The ID of the replication job.
public final Integer frequency()
The time between consecutive replication runs, in hours.
public final Instant nextReplicationRunStartTime()
The start time of the next replication run.
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 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()
When true, the replication job produces encrypted AMIs. For more information, KmsKeyId.
KmsKeyId.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 enabled 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 enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
public UpdateReplicationJobRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<UpdateReplicationJobRequest.Builder,UpdateReplicationJobRequest>toBuilder in class SmsRequestpublic static UpdateReplicationJobRequest.Builder builder()
public static Class<? extends UpdateReplicationJobRequest.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.