Interface LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder,LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest>,SdkBuilder<LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder,LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest>,SdkPojo
- Enclosing class:
- LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest
@Mutable @NotThreadSafe public static interface LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder extends SdkPojo, CopyableBuilder<LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder,LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest>
-
-
Method Summary
-
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
-
deleteOnTermination
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder deleteOnTermination(Boolean deleteOnTermination)
Indicates whether the secondary interface is deleted when the instance is terminated.
The only supported value for this field is
true.- Parameters:
deleteOnTermination- Indicates whether the secondary interface is deleted when the instance is terminated.The only supported value for this field is
true.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceIndex
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder deviceIndex(Integer deviceIndex)
The device index for the secondary interface attachment.
- Parameters:
deviceIndex- The device index for the secondary interface attachment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpAddresses
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder privateIpAddresses(Collection<SecondaryInterfacePrivateIpAddressSpecificationRequest> privateIpAddresses)
The private IPv4 addresses to assign to the secondary interface.
- Parameters:
privateIpAddresses- The private IPv4 addresses to assign to the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpAddresses
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder privateIpAddresses(SecondaryInterfacePrivateIpAddressSpecificationRequest... privateIpAddresses)
The private IPv4 addresses to assign to the secondary interface.
- Parameters:
privateIpAddresses- The private IPv4 addresses to assign to the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
privateIpAddresses
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder privateIpAddresses(Consumer<SecondaryInterfacePrivateIpAddressSpecificationRequest.Builder>... privateIpAddresses)
The private IPv4 addresses to assign to the secondary interface.
This is a convenience method that creates an instance of theSecondaryInterfacePrivateIpAddressSpecificationRequest.Builderavoiding the need to create one manually viaSecondaryInterfacePrivateIpAddressSpecificationRequest.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#privateIpAddresses(List.) - Parameters:
privateIpAddresses- a consumer that will call methods onSecondaryInterfacePrivateIpAddressSpecificationRequest.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#privateIpAddresses(java.util.Collection)
-
privateIpAddressCount
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder privateIpAddressCount(Integer privateIpAddressCount)
The number of private IPv4 addresses to assign to the secondary interface.
- Parameters:
privateIpAddressCount- The number of private IPv4 addresses to assign to the secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondarySubnetId
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder secondarySubnetId(String secondarySubnetId)
The ID of the secondary subnet.
- Parameters:
secondarySubnetId- The ID of the secondary subnet.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
interfaceType
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder interfaceType(String interfaceType)
The type of secondary interface.
- Parameters:
interfaceType- The type of secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecondaryInterfaceType,SecondaryInterfaceType
-
interfaceType
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder interfaceType(SecondaryInterfaceType interfaceType)
The type of secondary interface.
- Parameters:
interfaceType- The type of secondary interface.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
SecondaryInterfaceType,SecondaryInterfaceType
-
networkCardIndex
LaunchTemplateInstanceSecondaryInterfaceSpecificationRequest.Builder networkCardIndex(Integer networkCardIndex)
The index of the network card.
- Parameters:
networkCardIndex- The index of the network card.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-