Interface DhcpConfiguration.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<DhcpConfiguration.Builder,DhcpConfiguration>,SdkBuilder<DhcpConfiguration.Builder,DhcpConfiguration>,SdkPojo
- Enclosing class:
- DhcpConfiguration
@Mutable @NotThreadSafe 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.Builderkey(String key)The name of a DHCP option.DhcpConfiguration.Buildervalues(Collection<AttributeValue> values)The values for the DHCP option.DhcpConfiguration.Buildervalues(Consumer<AttributeValue.Builder>... values)The values for the DHCP option.DhcpConfiguration.Buildervalues(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, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaAttributeValue.builder().When the
Consumercompletes,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)
-
-