Interface InstanceNetworking.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<InstanceNetworking.Builder,InstanceNetworking>,SdkBuilder<InstanceNetworking.Builder,InstanceNetworking>,SdkPojo
- Enclosing class:
- InstanceNetworking
public static interface InstanceNetworking.Builder extends SdkPojo, CopyableBuilder<InstanceNetworking.Builder,InstanceNetworking>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default InstanceNetworking.BuildermonthlyTransfer(Consumer<MonthlyTransfer.Builder> monthlyTransfer)The amount of data in GB allocated for monthly data transfers.InstanceNetworking.BuildermonthlyTransfer(MonthlyTransfer monthlyTransfer)The amount of data in GB allocated for monthly data transfers.InstanceNetworking.Builderports(Collection<InstancePortInfo> ports)An array of key-value pairs containing information about the ports on the instance.InstanceNetworking.Builderports(Consumer<InstancePortInfo.Builder>... ports)An array of key-value pairs containing information about the ports on the instance.InstanceNetworking.Builderports(InstancePortInfo... ports)An array of key-value pairs containing information about the ports on the instance.-
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, sdkFields
-
-
-
-
Method Detail
-
monthlyTransfer
InstanceNetworking.Builder monthlyTransfer(MonthlyTransfer monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
- Parameters:
monthlyTransfer- The amount of data in GB allocated for monthly data transfers.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
monthlyTransfer
default InstanceNetworking.Builder monthlyTransfer(Consumer<MonthlyTransfer.Builder> monthlyTransfer)
The amount of data in GB allocated for monthly data transfers.
This is a convenience method that creates an instance of theMonthlyTransfer.Builderavoiding the need to create one manually viaMonthlyTransfer.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tomonthlyTransfer(MonthlyTransfer).- Parameters:
monthlyTransfer- a consumer that will call methods onMonthlyTransfer.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
monthlyTransfer(MonthlyTransfer)
-
ports
InstanceNetworking.Builder ports(Collection<InstancePortInfo> ports)
An array of key-value pairs containing information about the ports on the instance.
- Parameters:
ports- An array of key-value pairs containing information about the ports on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ports
InstanceNetworking.Builder ports(InstancePortInfo... ports)
An array of key-value pairs containing information about the ports on the instance.
- Parameters:
ports- An array of key-value pairs containing information about the ports on the instance.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ports
InstanceNetworking.Builder ports(Consumer<InstancePortInfo.Builder>... ports)
An array of key-value pairs containing information about the ports on the instance.
This is a convenience method that creates an instance of theInstancePortInfo.Builderavoiding the need to create one manually viaInstancePortInfo.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#ports(List.) - Parameters:
ports- a consumer that will call methods onInstancePortInfo.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#ports(java.util.Collection)
-
-