Package com.ibm.cloud.is.vpc.v1.model
Class DedicatedHostGroupIdentityByCRN.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.DedicatedHostGroupIdentityByCRN.Builder
-
- Enclosing class:
- DedicatedHostGroupIdentityByCRN
public static class DedicatedHostGroupIdentityByCRN.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(DedicatedHostGroupIdentity dedicatedHostGroupIdentityByCrn)
Instantiates a new Builder from an existing DedicatedHostGroupIdentityByCRN instance.Builder(String crn)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DedicatedHostGroupIdentityByCRN
build()
Builds a DedicatedHostGroupIdentityByCRN.DedicatedHostGroupIdentityByCRN.Builder
crn(String crn)
Set the crn.
-
-
-
Constructor Detail
-
Builder
public Builder(DedicatedHostGroupIdentity dedicatedHostGroupIdentityByCrn)
Instantiates a new Builder from an existing DedicatedHostGroupIdentityByCRN instance.- Parameters:
dedicatedHostGroupIdentityByCrn
- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String crn)
Instantiates a new builder with required properties.- Parameters:
crn
- the crn
-
-
Method Detail
-
build
public DedicatedHostGroupIdentityByCRN build()
Builds a DedicatedHostGroupIdentityByCRN.- Returns:
- the new DedicatedHostGroupIdentityByCRN instance
-
crn
public DedicatedHostGroupIdentityByCRN.Builder crn(String crn)
Set the crn.- Parameters:
crn
- the crn- Returns:
- the DedicatedHostGroupIdentityByCRN builder
-
-