Interface NetworkResourceDefinition.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<NetworkResourceDefinition.Builder,
,NetworkResourceDefinition> SdkBuilder<NetworkResourceDefinition.Builder,
,NetworkResourceDefinition> SdkPojo
- Enclosing class:
NetworkResourceDefinition
public static interface NetworkResourceDefinition.Builder
extends SdkPojo, CopyableBuilder<NetworkResourceDefinition.Builder,NetworkResourceDefinition>
-
Method Summary
Modifier and TypeMethodDescriptionThe count in the network resource definition.options
(Collection<NameValuePair> options) The options in the network resource definition.options
(Consumer<NameValuePair.Builder>... options) The options in the network resource definition.options
(NameValuePair... options) The options in the network resource definition.The type in the network resource definition.The type in the network resource definition.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
-
count
The count in the network resource definition.
- Parameters:
count
- The count in the network resource definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The options in the network resource definition.
- Parameters:
options
- The options in the network resource definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The options in the network resource definition.
- Parameters:
options
- The options in the network resource definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The options in the network resource definition.
This is a convenience method that creates an instance of theNameValuePair.Builder
avoiding the need to create one manually viaNameValuePair.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tooptions(List<NameValuePair>)
.- Parameters:
options
- a consumer that will call methods onNameValuePair.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type in the network resource definition.
- Parameters:
type
- The type in the network resource definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
type
The type in the network resource definition.
- Parameters:
type
- The type in the network resource definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-