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