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)
Add an optional request override configuration.
|
CreateReplicationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
CreateReplicationJobRequest.Builder |
roleName(String roleName)
The name of the IAM role to be used by the AWS SMS.
|
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.
|
build
overrideConfiguration
equalsBySdkFields, sdkFields
copy
applyMutation, build
CreateReplicationJobRequest.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
,
LicenseType
CreateReplicationJobRequest.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
,
LicenseType
CreateReplicationJobRequest.Builder roleName(String roleName)
The name of the IAM role to be used by the AWS SMS.
roleName
- The name of the IAM role to be used by the AWS SMS.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)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.CreateReplicationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
builderConsumer
- A Consumer
to which an empty AwsRequestOverrideConfiguration.Builder
will be
given.