Interface UpdateReplicationJobRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<UpdateReplicationJobRequest.Builder,UpdateReplicationJobRequest>,SdkBuilder<UpdateReplicationJobRequest.Builder,UpdateReplicationJobRequest>,SdkPojo,SdkRequest.Builder,SmsRequest.Builder
- Enclosing class:
- UpdateReplicationJobRequest
public static interface UpdateReplicationJobRequest.Builder extends SmsRequest.Builder, SdkPojo, CopyableBuilder<UpdateReplicationJobRequest.Builder,UpdateReplicationJobRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description UpdateReplicationJobRequest.Builderdescription(String description)The description of the replication job.UpdateReplicationJobRequest.Builderencrypted(Boolean encrypted)When true, the replication job produces encrypted AMIs.UpdateReplicationJobRequest.Builderfrequency(Integer frequency)The time between consecutive replication runs, in hours.UpdateReplicationJobRequest.BuilderkmsKeyId(String kmsKeyId)The ID of the KMS key for replication jobs that produce encrypted AMIs.UpdateReplicationJobRequest.BuilderlicenseType(String licenseType)The license type to be used for the AMI created by a successful replication run.UpdateReplicationJobRequest.BuilderlicenseType(LicenseType licenseType)The license type to be used for the AMI created by a successful replication run.UpdateReplicationJobRequest.BuildernextReplicationRunStartTime(Instant nextReplicationRunStartTime)The start time of the next replication run.UpdateReplicationJobRequest.BuildernumberOfRecentAmisToKeep(Integer numberOfRecentAmisToKeep)The maximum number of SMS-created AMIs to retain.UpdateReplicationJobRequest.BuilderoverrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)UpdateReplicationJobRequest.BuilderoverrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)UpdateReplicationJobRequest.BuilderreplicationJobId(String replicationJobId)The ID of the replication job.UpdateReplicationJobRequest.BuilderroleName(String roleName)The name of the IAM role to be used by Server Migration Service.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.services.sms.model.SmsRequest.Builder
build
-
-
-
-
Method Detail
-
replicationJobId
UpdateReplicationJobRequest.Builder replicationJobId(String replicationJobId)
The ID of the replication job.
- Parameters:
replicationJobId- The ID of the replication job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
frequency
UpdateReplicationJobRequest.Builder frequency(Integer frequency)
The time between consecutive replication runs, in hours.
- Parameters:
frequency- The time between consecutive replication runs, in hours.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nextReplicationRunStartTime
UpdateReplicationJobRequest.Builder nextReplicationRunStartTime(Instant nextReplicationRunStartTime)
The start time of the next replication run.
- Parameters:
nextReplicationRunStartTime- The start time of the next replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licenseType
UpdateReplicationJobRequest.Builder licenseType(String licenseType)
The license type to be used for the AMI created by a successful replication run.
- Parameters:
licenseType- The license type to be used for the AMI created by a successful replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LicenseType,LicenseType
-
licenseType
UpdateReplicationJobRequest.Builder licenseType(LicenseType licenseType)
The license type to be used for the AMI created by a successful replication run.
- Parameters:
licenseType- The license type to be used for the AMI created by a successful replication run.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
LicenseType,LicenseType
-
roleName
UpdateReplicationJobRequest.Builder roleName(String roleName)
The name of the IAM role to be used by Server Migration Service.
- Parameters:
roleName- The name of the IAM role to be used by Server Migration Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
UpdateReplicationJobRequest.Builder description(String description)
The description of the replication job.
- Parameters:
description- The description of the replication job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
numberOfRecentAmisToKeep
UpdateReplicationJobRequest.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.
- Parameters:
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.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encrypted
UpdateReplicationJobRequest.Builder encrypted(Boolean encrypted)
When true, the replication job produces encrypted AMIs. For more information,
KmsKeyId.- Parameters:
encrypted- When true, the replication job produces encrypted AMIs. For more information,KmsKeyId.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
kmsKeyId
UpdateReplicationJobRequest.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 enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
- Parameters:
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 enabled but a KMS key ID is not specified, the customer's default KMS key for Amazon EBS is used.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
overrideConfiguration
UpdateReplicationJobRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
overrideConfiguration
UpdateReplicationJobRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder
-
-