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
Modifier and TypeMethodDescriptiondhcpConfigurations
(Collection<DhcpConfiguration> dhcpConfigurations) The DHCP options in the set.dhcpConfigurations
(Consumer<DhcpConfiguration.Builder>... dhcpConfigurations) The DHCP options in the set.dhcpConfigurations
(DhcpConfiguration... dhcpConfigurations) The DHCP options in the set.dhcpOptionsId
(String dhcpOptionsId) The ID of the set of DHCP options.The ID of the Amazon Web Services account that owns the DHCP options set.tags
(Collection<Tag> tags) Any tags assigned to the DHCP options set.tags
(Consumer<Tag.Builder>... tags) Any tags assigned to the DHCP options set.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 Details
-
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
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
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 todhcpConfigurations(List<DhcpConfiguration>)
.- 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:
-
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
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
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
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
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 totags(List<Tag>)
.- 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:
-