Package com.ibm.cloud.is.vpc.v1.model
Class CreateDedicatedHostGroupOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.CreateDedicatedHostGroupOptions.Builder
-
- Enclosing class:
- CreateDedicatedHostGroupOptions
public static class CreateDedicatedHostGroupOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(String xClass, String family, ZoneIdentity zone)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateDedicatedHostGroupOptions
build()
Builds a CreateDedicatedHostGroupOptions.CreateDedicatedHostGroupOptions.Builder
family(String family)
Set the family.CreateDedicatedHostGroupOptions.Builder
name(String name)
Set the name.CreateDedicatedHostGroupOptions.Builder
resourceGroup(ResourceGroupIdentity resourceGroup)
Set the resourceGroup.CreateDedicatedHostGroupOptions.Builder
xClass(String xClass)
Set the xClass.CreateDedicatedHostGroupOptions.Builder
zone(ZoneIdentity zone)
Set the zone.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String xClass, String family, ZoneIdentity zone)
Instantiates a new builder with required properties.- Parameters:
xClass
- the xClassfamily
- the familyzone
- the zone
-
-
Method Detail
-
build
public CreateDedicatedHostGroupOptions build()
Builds a CreateDedicatedHostGroupOptions.- Returns:
- the new CreateDedicatedHostGroupOptions instance
-
xClass
public CreateDedicatedHostGroupOptions.Builder xClass(String xClass)
Set the xClass.- Parameters:
xClass
- the xClass- Returns:
- the CreateDedicatedHostGroupOptions builder
-
family
public CreateDedicatedHostGroupOptions.Builder family(String family)
Set the family.- Parameters:
family
- the family- Returns:
- the CreateDedicatedHostGroupOptions builder
-
zone
public CreateDedicatedHostGroupOptions.Builder zone(ZoneIdentity zone)
Set the zone.- Parameters:
zone
- the zone- Returns:
- the CreateDedicatedHostGroupOptions builder
-
name
public CreateDedicatedHostGroupOptions.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the CreateDedicatedHostGroupOptions builder
-
resourceGroup
public CreateDedicatedHostGroupOptions.Builder resourceGroup(ResourceGroupIdentity resourceGroup)
Set the resourceGroup.- Parameters:
resourceGroup
- the resourceGroup- Returns:
- the CreateDedicatedHostGroupOptions builder
-
-