@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 AWS SMS.
|
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 String serverId()
The ID of the server.
public Instant seedReplicationTime()
The seed replication time.
public Integer frequency()
The time between consecutive replication runs, in hours.
public Boolean runOnce()
Indicates whether to run the replication job one time.
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 is deleted after the maximum number is reached and a new AMI is created.
public Boolean encrypted()
Indicates whether the replication job produces encrypted AMIs.
public 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 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 © 2020. All rights reserved.