Class CreatePlacementGroupOptions.Builder
java.lang.Object
com.ibm.cloud.is.vpc.v1.model.CreatePlacementGroupOptions.Builder
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuild()
Builds a CreatePlacementGroupOptions.Set the name.resourceGroup
(ResourceGroupIdentity resourceGroup) Set the resourceGroup.Set the strategy.
-
Constructor Details
-
Builder
public Builder()Instantiates a new builder. -
Builder
Instantiates a new builder with required properties.- Parameters:
strategy
- the strategy
-
-
Method Details
-
build
Builds a CreatePlacementGroupOptions.- Returns:
- the new CreatePlacementGroupOptions instance
-
strategy
Set the strategy.- Parameters:
strategy
- the strategy- Returns:
- the CreatePlacementGroupOptions builder
-
name
Set the name.- Parameters:
name
- the name- Returns:
- the CreatePlacementGroupOptions builder
-
resourceGroup
Set the resourceGroup.- Parameters:
resourceGroup
- the resourceGroup- Returns:
- the CreatePlacementGroupOptions builder
-