Interface CreateLaunchConfigurationTemplateRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateLaunchConfigurationTemplateRequest.Builder,
,CreateLaunchConfigurationTemplateRequest> DrsRequest.Builder
,SdkBuilder<CreateLaunchConfigurationTemplateRequest.Builder,
,CreateLaunchConfigurationTemplateRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateLaunchConfigurationTemplateRequest
@Mutable
@NotThreadSafe
public static interface CreateLaunchConfigurationTemplateRequest.Builder
extends DrsRequest.Builder, SdkPojo, CopyableBuilder<CreateLaunchConfigurationTemplateRequest.Builder,CreateLaunchConfigurationTemplateRequest>
-
Method Summary
Modifier and TypeMethodDescriptioncopyPrivateIp
(Boolean copyPrivateIp) Copy private IP.Copy tags.exportBucketArn
(String exportBucketArn) S3 bucket ARN to export Source Network templates.launchDisposition
(String launchDisposition) Launch disposition.launchDisposition
(LaunchDisposition launchDisposition) Launch disposition.launchIntoSourceInstance
(Boolean launchIntoSourceInstance) DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.licensing
(Consumer<Licensing.Builder> licensing) Licensing.Licensing.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.postLaunchEnabled
(Boolean postLaunchEnabled) Whether we want to activate post-launch actions.Request to associate tags during creation of a Launch Configuration Template.targetInstanceTypeRightSizingMethod
(String targetInstanceTypeRightSizingMethod) Target instance type right-sizing method.targetInstanceTypeRightSizingMethod
(TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod) Target instance type right-sizing method.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.services.drs.model.DrsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
copyPrivateIp
Copy private IP.
- Parameters:
copyPrivateIp
- Copy private IP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
copyTags
Copy tags.
- Parameters:
copyTags
- Copy tags.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportBucketArn
S3 bucket ARN to export Source Network templates.
- Parameters:
exportBucketArn
- S3 bucket ARN to export Source Network templates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchDisposition
Launch disposition.
- Parameters:
launchDisposition
- Launch disposition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchDisposition
CreateLaunchConfigurationTemplateRequest.Builder launchDisposition(LaunchDisposition launchDisposition) Launch disposition.
- Parameters:
launchDisposition
- Launch disposition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
launchIntoSourceInstance
CreateLaunchConfigurationTemplateRequest.Builder launchIntoSourceInstance(Boolean launchIntoSourceInstance) DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.
- Parameters:
launchIntoSourceInstance
- DRS will set the 'launch into instance ID' of any source server when performing a drill, recovery or failback to the previous region or availability zone, using the instance ID of the source instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licensing
Licensing.
- Parameters:
licensing
- Licensing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
licensing
default CreateLaunchConfigurationTemplateRequest.Builder licensing(Consumer<Licensing.Builder> licensing) Licensing.
This is a convenience method that creates an instance of theLicensing.Builder
avoiding the need to create one manually viaLicensing.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tolicensing(Licensing)
.- Parameters:
licensing
- a consumer that will call methods onLicensing.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
postLaunchEnabled
Whether we want to activate post-launch actions.
- Parameters:
postLaunchEnabled
- Whether we want to activate post-launch actions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Request to associate tags during creation of a Launch Configuration Template.
- Parameters:
tags
- Request to associate tags during creation of a Launch Configuration Template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targetInstanceTypeRightSizingMethod
CreateLaunchConfigurationTemplateRequest.Builder targetInstanceTypeRightSizingMethod(String targetInstanceTypeRightSizingMethod) Target instance type right-sizing method.
- Parameters:
targetInstanceTypeRightSizingMethod
- Target instance type right-sizing method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
targetInstanceTypeRightSizingMethod
CreateLaunchConfigurationTemplateRequest.Builder targetInstanceTypeRightSizingMethod(TargetInstanceTypeRightSizingMethod targetInstanceTypeRightSizingMethod) Target instance type right-sizing method.
- Parameters:
targetInstanceTypeRightSizingMethod
- Target instance type right-sizing method.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateLaunchConfigurationTemplateRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateLaunchConfigurationTemplateRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-