Interface LaunchTemplate.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplate.Builder,LaunchTemplate>,SdkBuilder<LaunchTemplate.Builder,LaunchTemplate>,SdkPojo
- Enclosing class:
- LaunchTemplate
public static interface LaunchTemplate.Builder extends SdkPojo, CopyableBuilder<LaunchTemplate.Builder,LaunchTemplate>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default LaunchTemplate.BuilderlaunchTemplateSpecification(Consumer<LaunchTemplateSpecification.Builder> launchTemplateSpecification)The launch template.LaunchTemplate.BuilderlaunchTemplateSpecification(LaunchTemplateSpecification launchTemplateSpecification)The launch template.LaunchTemplate.Builderoverrides(Collection<LaunchTemplateOverrides> overrides)Any properties that you specify override the same properties in the launch template.LaunchTemplate.Builderoverrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)Any properties that you specify override the same properties in the launch template.LaunchTemplate.Builderoverrides(LaunchTemplateOverrides... overrides)Any properties that you specify override the same properties in the launch template.-
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
-
-
-
-
Method Detail
-
launchTemplateSpecification
LaunchTemplate.Builder launchTemplateSpecification(LaunchTemplateSpecification launchTemplateSpecification)
The launch template.
- Parameters:
launchTemplateSpecification- The launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
launchTemplateSpecification
default LaunchTemplate.Builder launchTemplateSpecification(Consumer<LaunchTemplateSpecification.Builder> launchTemplateSpecification)
The launch template.
This is a convenience method that creates an instance of theLaunchTemplateSpecification.Builderavoiding the need to create one manually viaLaunchTemplateSpecification.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolaunchTemplateSpecification(LaunchTemplateSpecification).- Parameters:
launchTemplateSpecification- a consumer that will call methods onLaunchTemplateSpecification.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
launchTemplateSpecification(LaunchTemplateSpecification)
-
overrides
LaunchTemplate.Builder overrides(Collection<LaunchTemplateOverrides> overrides)
Any properties that you specify override the same properties in the launch template.
- Parameters:
overrides- Any properties that you specify override the same properties in the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
LaunchTemplate.Builder overrides(LaunchTemplateOverrides... overrides)
Any properties that you specify override the same properties in the launch template.
- Parameters:
overrides- Any properties that you specify override the same properties in the launch template.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrides
LaunchTemplate.Builder overrides(Consumer<LaunchTemplateOverrides.Builder>... overrides)
Any properties that you specify override the same properties in the launch template.
This is a convenience method that creates an instance of theLaunchTemplateOverrides.Builderavoiding the need to create one manually viaLaunchTemplateOverrides.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#overrides(List.) - Parameters:
overrides- a consumer that will call methods onLaunchTemplateOverrides.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#overrides(java.util.Collection)
-
-