Interface DhcpOptions.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<DhcpOptions.Builder,DhcpOptions>
,SdkBuilder<DhcpOptions.Builder,DhcpOptions>
,SdkPojo
- Enclosing class:
- DhcpOptions
public static interface DhcpOptions.Builder extends SdkPojo, CopyableBuilder<DhcpOptions.Builder,DhcpOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DhcpOptions.Builder
dhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
The DHCP options in the set.DhcpOptions.Builder
dhcpConfigurations(Consumer<DhcpConfiguration.Builder>... dhcpConfigurations)
The DHCP options in the set.DhcpOptions.Builder
dhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
The DHCP options in the set.DhcpOptions.Builder
dhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options.DhcpOptions.Builder
ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the DHCP options set.DhcpOptions.Builder
tags(Collection<Tag> tags)
Any tags assigned to the DHCP options set.DhcpOptions.Builder
tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the DHCP options set.DhcpOptions.Builder
tags(Tag... tags)
Any tags assigned to the DHCP options set.-
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
-
dhcpConfigurations
DhcpOptions.Builder dhcpConfigurations(Collection<DhcpConfiguration> dhcpConfigurations)
The DHCP options in the set.
- Parameters:
dhcpConfigurations
- The DHCP options in the set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dhcpConfigurations
DhcpOptions.Builder dhcpConfigurations(DhcpConfiguration... dhcpConfigurations)
The DHCP options in the set.
- Parameters:
dhcpConfigurations
- The DHCP options in the set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dhcpConfigurations
DhcpOptions.Builder dhcpConfigurations(Consumer<DhcpConfiguration.Builder>... dhcpConfigurations)
The DHCP options in the set.
This is a convenience method that creates an instance of theDhcpConfiguration.Builder
avoiding the need to create one manually viaDhcpConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#dhcpConfigurations(List
.) - Parameters:
dhcpConfigurations
- a consumer that will call methods onDhcpConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#dhcpConfigurations(java.util.Collection
)
-
dhcpOptionsId
DhcpOptions.Builder dhcpOptionsId(String dhcpOptionsId)
The ID of the set of DHCP options.
- Parameters:
dhcpOptionsId
- The ID of the set of DHCP options.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
ownerId
DhcpOptions.Builder ownerId(String ownerId)
The ID of the Amazon Web Services account that owns the DHCP options set.
- Parameters:
ownerId
- The ID of the Amazon Web Services account that owns the DHCP options set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DhcpOptions.Builder tags(Collection<Tag> tags)
Any tags assigned to the DHCP options set.
- Parameters:
tags
- Any tags assigned to the DHCP options set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DhcpOptions.Builder tags(Tag... tags)
Any tags assigned to the DHCP options set.
- Parameters:
tags
- Any tags assigned to the DHCP options set.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
DhcpOptions.Builder tags(Consumer<Tag.Builder>... tags)
Any tags assigned to the DHCP options set.
This is a convenience method that creates an instance of theTag.Builder
avoiding the need to create one manually viaTag.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#tags(List
.) - Parameters:
tags
- a consumer that will call methods onTag.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#tags(java.util.Collection
)
-
-