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)
When true, the replication job produces encrypted AMIs.
|
CreateReplicationJobRequest.Builder |
frequency(Integer frequency)
The time between consecutive replication runs, in hours.
|
CreateReplicationJobRequest.Builder |
kmsKeyId(String kmsKeyId)
KMS key ID 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)
|
CreateReplicationJobRequest.Builder |
seedReplicationTime(Instant seedReplicationTime)
The seed replication time.
|
CreateReplicationJobRequest.Builder |
serverId(String serverId)
The identifier of the server.
|
build
overrideConfiguration
copy
applyMutation, build
CreateReplicationJobRequest.Builder serverId(String serverId)
The identifier of the server.
serverId
- The identifier 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)
runOnce
- 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 will be deleted once the maximum number is reached and a new AMI is created.
numberOfRecentAmisToKeep
- The maximum number of SMS-created AMIs to retain. The oldest will be deleted once the maximum number
is reached and a new AMI is created.CreateReplicationJobRequest.Builder encrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs. See also KmsKeyId
below.
encrypted
- When true, the replication job produces encrypted AMIs. See also KmsKeyId
below.CreateReplicationJobRequest.Builder kmsKeyId(String kmsKeyId)
KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for EBS is used.
kmsKeyId
- KMS key ID for replication jobs that produce encrypted AMIs. Can be any of the following:
KMS key ID
KMS key alias
ARN referring to KMS key ID
ARN referring to KMS key alias
If encrypted is true but a KMS key id is not specified, the customer's default KMS key for 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.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.