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