Class CreateSecretOptions.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.CreateSecretOptions.Builder
-
- Enclosing class:
- CreateSecretOptions
public static class CreateSecretOptions.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(SecretPrototype secretPrototype)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateSecretOptionsbuild()Builds a CreateSecretOptions.CreateSecretOptions.BuildersecretPrototype(SecretPrototype secretPrototype)Set the secretPrototype.
-
-
-
Constructor Detail
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(SecretPrototype secretPrototype)
Instantiates a new builder with required properties.- Parameters:
secretPrototype- the secretPrototype
-
-
Method Detail
-
build
public CreateSecretOptions build()
Builds a CreateSecretOptions.- Returns:
- the new CreateSecretOptions instance
-
secretPrototype
public CreateSecretOptions.Builder secretPrototype(SecretPrototype secretPrototype)
Set the secretPrototype.- Parameters:
secretPrototype- the secretPrototype- Returns:
- the CreateSecretOptions builder
-
-