Package com.ibm.cloud.is.vpc.v1.model
Class InstanceProfileIdentityByName.Builder
- java.lang.Object
-
- com.ibm.cloud.is.vpc.v1.model.InstanceProfileIdentityByName.Builder
-
- Enclosing class:
- InstanceProfileIdentityByName
public static class InstanceProfileIdentityByName.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()
Instantiates a new builder.Builder(InstanceProfileIdentity instanceProfileIdentityByName)
Instantiates a new Builder from an existing InstanceProfileIdentityByName instance.Builder(String name)
Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description InstanceProfileIdentityByName
build()
Builds a InstanceProfileIdentityByName.InstanceProfileIdentityByName.Builder
name(String name)
Set the name.
-
-
-
Constructor Detail
-
Builder
public Builder(InstanceProfileIdentity instanceProfileIdentityByName)
Instantiates a new Builder from an existing InstanceProfileIdentityByName instance.- Parameters:
instanceProfileIdentityByName
- 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 InstanceProfileIdentityByName build()
Builds a InstanceProfileIdentityByName.- Returns:
- the new InstanceProfileIdentityByName instance
-
name
public InstanceProfileIdentityByName.Builder name(String name)
Set the name.- Parameters:
name
- the name- Returns:
- the InstanceProfileIdentityByName builder
-
-