public static interface UpdateReplicationJobRequest.Builder extends SmsRequest.Builder, SdkPojo, CopyableBuilder<UpdateReplicationJobRequest.Builder,UpdateReplicationJobRequest>
Modifier and Type | Method and Description |
---|---|
UpdateReplicationJobRequest.Builder |
description(String description)
The description of the replication job.
|
UpdateReplicationJobRequest.Builder |
encrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs .
|
UpdateReplicationJobRequest.Builder |
frequency(Integer frequency)
The time between consecutive replication runs, in hours.
|
UpdateReplicationJobRequest.Builder |
kmsKeyId(String kmsKeyId)
|
UpdateReplicationJobRequest.Builder |
licenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
|
UpdateReplicationJobRequest.Builder |
licenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
|
UpdateReplicationJobRequest.Builder |
nextReplicationRunStartTime(Instant nextReplicationRunStartTime)
The start time of the next replication run.
|
UpdateReplicationJobRequest.Builder |
numberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)
The maximum number of SMS-created AMIs to retain.
|
UpdateReplicationJobRequest.Builder |
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
Add an optional request override configuration.
|
UpdateReplicationJobRequest.Builder |
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
Add an optional request override configuration.
|
UpdateReplicationJobRequest.Builder |
replicationJobId(String replicationJobId)
The identifier of the replication job.
|
UpdateReplicationJobRequest.Builder |
roleName(String roleName)
The name of the IAM role to be used by AWS SMS.
|
build
overrideConfiguration
copy
applyMutation, build
UpdateReplicationJobRequest.Builder replicationJobId(String replicationJobId)
The identifier of the replication job.
replicationJobId
- The identifier of the replication job.UpdateReplicationJobRequest.Builder frequency(Integer frequency)
The time between consecutive replication runs, in hours.
frequency
- The time between consecutive replication runs, in hours.UpdateReplicationJobRequest.Builder nextReplicationRunStartTime(Instant nextReplicationRunStartTime)
The start time of the next replication run.
nextReplicationRunStartTime
- The start time of the next replication run.UpdateReplicationJobRequest.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
UpdateReplicationJobRequest.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
UpdateReplicationJobRequest.Builder roleName(String roleName)
The name of the IAM role to be used by AWS SMS.
roleName
- The name of the IAM role to be used by AWS SMS.UpdateReplicationJobRequest.Builder description(String description)
The description of the replication job.
description
- The description of the replication job.UpdateReplicationJobRequest.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.UpdateReplicationJobRequest.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.UpdateReplicationJobRequest.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.
UpdateReplicationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
AwsRequest.Builder
overrideConfiguration
in interface AwsRequest.Builder
overrideConfiguration
- The override configuration.UpdateReplicationJobRequest.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.