Interface DhcpConfiguration.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DhcpConfiguration.Builder,DhcpConfiguration>
,SdkBuilder<DhcpConfiguration.Builder,DhcpConfiguration>
,SdkPojo
- Enclosing class:
- DhcpConfiguration
public static interface DhcpConfiguration.Builder extends SdkPojo, CopyableBuilder<DhcpConfiguration.Builder,DhcpConfiguration>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DhcpConfiguration.Builder
key(String key)
The name of a DHCP option.DhcpConfiguration.Builder
values(Collection<AttributeValue> values)
The values for the DHCP option.DhcpConfiguration.Builder
values(Consumer<AttributeValue.Builder>... values)
The values for the DHCP option.DhcpConfiguration.Builder
values(AttributeValue... values)
The values for the DHCP option.-
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
-
key
DhcpConfiguration.Builder key(String key)
The name of a DHCP option.
- Parameters:
key
- The name of a DHCP option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
DhcpConfiguration.Builder values(Collection<AttributeValue> values)
The values for the DHCP option.
- Parameters:
values
- The values for the DHCP option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
DhcpConfiguration.Builder values(AttributeValue... values)
The values for the DHCP option.
- Parameters:
values
- The values for the DHCP option.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
values
DhcpConfiguration.Builder values(Consumer<AttributeValue.Builder>... values)
The values for the DHCP option.
This is a convenience method that creates an instance of theAttributeValue.Builder
avoiding the need to create one manually viaAttributeValue.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#values(List
.) - Parameters:
values
- a consumer that will call methods onAttributeValue.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#values(java.util.Collection
)
-
-