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