public static interface DesiredConfiguration.Builder extends SdkPojo, CopyableBuilder<DesiredConfiguration.Builder,DesiredConfiguration>
| Modifier and Type | Method and Description |
|---|---|
default DesiredConfiguration.Builder |
launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate)
Sets the value of the LaunchTemplate property for this object.
|
DesiredConfiguration.Builder |
launchTemplate(LaunchTemplateSpecification launchTemplate)
Sets the value of the LaunchTemplate property for this object.
|
default DesiredConfiguration.Builder |
mixedInstancesPolicy(Consumer<MixedInstancesPolicy.Builder> mixedInstancesPolicy)
Sets the value of the MixedInstancesPolicy property for this object.
|
DesiredConfiguration.Builder |
mixedInstancesPolicy(MixedInstancesPolicy mixedInstancesPolicy)
Sets the value of the MixedInstancesPolicy property for this object.
|
equalsBySdkFields, sdkFieldscopyapplyMutation, buildDesiredConfiguration.Builder launchTemplate(LaunchTemplateSpecification launchTemplate)
launchTemplate - The new value for the LaunchTemplate property for this object.default DesiredConfiguration.Builder launchTemplate(Consumer<LaunchTemplateSpecification.Builder> launchTemplate)
LaunchTemplateSpecification.Builder
avoiding the need to create one manually via LaunchTemplateSpecification.builder().
When the Consumer completes, SdkBuilder.build() is called
immediately and its result is passed to launchTemplate(LaunchTemplateSpecification).
launchTemplate - a consumer that will call methods on LaunchTemplateSpecification.BuilderlaunchTemplate(LaunchTemplateSpecification)DesiredConfiguration.Builder mixedInstancesPolicy(MixedInstancesPolicy mixedInstancesPolicy)
mixedInstancesPolicy - The new value for the MixedInstancesPolicy property for this object.default DesiredConfiguration.Builder mixedInstancesPolicy(Consumer<MixedInstancesPolicy.Builder> mixedInstancesPolicy)
MixedInstancesPolicy.Builder avoiding
the need to create one manually via MixedInstancesPolicy.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and
its result is passed to mixedInstancesPolicy(MixedInstancesPolicy).
mixedInstancesPolicy - a consumer that will call methods on MixedInstancesPolicy.BuildermixedInstancesPolicy(MixedInstancesPolicy)Copyright © 2023. All rights reserved.