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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description SitePlan.Builderoptions(Collection<NameValuePair> options)The options of the plan.SitePlan.Builderoptions(Consumer<NameValuePair.Builder>... options)The options of the plan.SitePlan.Builderoptions(NameValuePair... options)The options of the plan.SitePlan.BuilderresourceDefinitions(Collection<NetworkResourceDefinition> resourceDefinitions)The resource definitions of the plan.SitePlan.BuilderresourceDefinitions(Consumer<NetworkResourceDefinition.Builder>... resourceDefinitions)The resource definitions of the plan.SitePlan.BuilderresourceDefinitions(NetworkResourceDefinition... resourceDefinitions)The resource definitions of the plan.-
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
-
options
SitePlan.Builder options(Collection<NameValuePair> 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
SitePlan.Builder options(NameValuePair... 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
SitePlan.Builder options(Consumer<NameValuePair.Builder>... 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 to#options(List.) - 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:
#options(java.util.Collection)
-
resourceDefinitions
SitePlan.Builder resourceDefinitions(Collection<NetworkResourceDefinition> 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(NetworkResourceDefinition... 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 to#resourceDefinitions(List.) - 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:
#resourceDefinitions(java.util.Collection)
-
-