Interface SitePlan.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<SitePlan.Builder,,SitePlan> SdkBuilder<SitePlan.Builder,,SitePlan> SdkPojo
- Enclosing class:
SitePlan
public static interface SitePlan.Builder
extends SdkPojo, CopyableBuilder<SitePlan.Builder,SitePlan>
-
Method Summary
Modifier and TypeMethodDescriptionoptions(Collection<NameValuePair> options) The options of the plan.options(Consumer<NameValuePair.Builder>... options) The options of the plan.options(NameValuePair... options) The options of the plan.resourceDefinitions(Collection<NetworkResourceDefinition> resourceDefinitions) The resource definitions of the plan.resourceDefinitions(Consumer<NetworkResourceDefinition.Builder>... resourceDefinitions) The resource definitions of the plan.resourceDefinitions(NetworkResourceDefinition... resourceDefinitions) The resource definitions of the plan.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
options
The options of the plan.
- Parameters:
options- The options of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The options of the plan.
- Parameters:
options- The options of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
options
The options of the plan.
This is a convenience method that creates an instance of theNameValuePair.Builderavoiding the need to create one manually viaNameValuePair.builder().When the
Consumercompletes,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:
-
resourceDefinitions
The resource definitions of the plan.
- Parameters:
resourceDefinitions- The resource definitions of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDefinitions
The resource definitions of the plan.
- Parameters:
resourceDefinitions- The resource definitions of the plan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceDefinitions
SitePlan.Builder resourceDefinitions(Consumer<NetworkResourceDefinition.Builder>... resourceDefinitions) The resource definitions of the plan.
This is a convenience method that creates an instance of theNetworkResourceDefinition.Builderavoiding the need to create one manually viaNetworkResourceDefinition.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toresourceDefinitions(List<NetworkResourceDefinition>).- Parameters:
resourceDefinitions- a consumer that will call methods onNetworkResourceDefinition.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-