public static interface CreateReplicationJobRequest.Builder extends SmsRequest.Builder, SdkPojo, CopyableBuilder<CreateReplicationJobRequest.Builder,CreateReplicationJobRequest>
| Modifier and Type | Method and Description |
|---|---|
CreateReplicationJobRequest.Builder |
description(String description)
The description of the replication job.
|
CreateReplicationJobRequest.Builder |
encrypted(Boolean encrypted)
Indicates whether the replication job produces encrypted AMIs.
|
CreateReplicationJobRequest.Builder |
frequency(Integer frequency)
The time between consecutive replication runs, in hours.
|
CreateReplicationJobRequest.Builder |
kmsKeyId(String kmsKeyId)
The ID of the KMS key for replication jobs that produce encrypted AMIs.
|
CreateReplicationJobRequest.Builder |
licenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
|
CreateReplicationJobRequest.Builder |
licenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
|
CreateReplicationJobRequest.Builder |
numberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
The maximum number of SMS-created AMIs to retain.
|
CreateReplicationJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) |
CreateReplicationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) |
CreateReplicationJobRequest.Builder |
roleName(String roleName)
The name of the IAM role to be used by the Server Migration Service.
|
CreateReplicationJobRequest.Builder |
runOnce(Boolean runOnce)
Indicates whether to run the replication job one time.
|
CreateReplicationJobRequest.Builder |
seedReplicationTime(Instant seedReplicationTime)
The seed replication time.
|
CreateReplicationJobRequest.Builder |
serverId(String serverId)
The ID of the server.
|
buildoverrideConfigurationequalsBySdkFields, sdkFieldscopyapplyMutation, buildCreateReplicationJobRequest.Builder serverId(String serverId)
The ID of the server.
serverId - The ID of the server.CreateReplicationJobRequest.Builder seedReplicationTime(Instant seedReplicationTime)
The seed replication time.
seedReplicationTime - The seed replication time.CreateReplicationJobRequest.Builder frequency(Integer frequency)
The time between consecutive replication runs, in hours.
frequency - The time between consecutive replication runs, in hours.CreateReplicationJobRequest.Builder runOnce(Boolean runOnce)
Indicates whether to run the replication job one time.
runOnce - Indicates whether to run the replication job one time.CreateReplicationJobRequest.Builder licenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
licenseType - The license type to be used for the AMI created by a successful replication run.LicenseType,
LicenseTypeCreateReplicationJobRequest.Builder licenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
licenseType - The license type to be used for the AMI created by a successful replication run.LicenseType,
LicenseTypeCreateReplicationJobRequest.Builder roleName(String roleName)
The name of the IAM role to be used by the Server Migration Service.
roleName - The name of the IAM role to be used by the Server Migration Service.CreateReplicationJobRequest.Builder description(String description)
The description of the replication job.
description - The description of the replication job.CreateReplicationJobRequest.Builder numberOfRecentAmisToKeep(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.
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.CreateReplicationJobRequest.Builder encrypted(Boolean encrypted)
Indicates whether the replication job produces encrypted AMIs.
encrypted - Indicates whether the replication job produces encrypted AMIs.CreateReplicationJobRequest.Builder kmsKeyId(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.
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.
CreateReplicationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
overrideConfiguration in interface AwsRequest.BuilderCreateReplicationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
overrideConfiguration in interface AwsRequest.BuilderCopyright © 2022. All rights reserved.