Class PrivateCertificateCryptoKey.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.PrivateCertificateCryptoKey.Builder
-
- Enclosing class:
- PrivateCertificateCryptoKey
public static class PrivateCertificateCryptoKey.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(PrivateCertificateCryptoProvider provider)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PrivateCertificateCryptoKey.BuilderallowGenerateKey(Boolean allowGenerateKey)Set the allowGenerateKey.PrivateCertificateCryptoKeybuild()Builds a PrivateCertificateCryptoKey.PrivateCertificateCryptoKey.Builderid(String id)Set the id.PrivateCertificateCryptoKey.Builderlabel(String label)Set the label.PrivateCertificateCryptoKey.Builderprovider(PrivateCertificateCryptoProvider provider)Set the provider.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(PrivateCertificateCryptoProvider provider)
Instantiates a new builder with required properties.- Parameters:
provider- the provider
-
-
Method Detail
-
build
public PrivateCertificateCryptoKey build()
Builds a PrivateCertificateCryptoKey.- Returns:
- the new PrivateCertificateCryptoKey instance
-
id
public PrivateCertificateCryptoKey.Builder id(String id)
Set the id.- Parameters:
id- the id- Returns:
- the PrivateCertificateCryptoKey builder
-
label
public PrivateCertificateCryptoKey.Builder label(String label)
Set the label.- Parameters:
label- the label- Returns:
- the PrivateCertificateCryptoKey builder
-
allowGenerateKey
public PrivateCertificateCryptoKey.Builder allowGenerateKey(Boolean allowGenerateKey)
Set the allowGenerateKey.- Parameters:
allowGenerateKey- the allowGenerateKey- Returns:
- the PrivateCertificateCryptoKey builder
-
provider
public PrivateCertificateCryptoKey.Builder provider(PrivateCertificateCryptoProvider provider)
Set the provider.- Parameters:
provider- the provider- Returns:
- the PrivateCertificateCryptoKey builder
-
-