Class PublicCertificateConfigurationCALetsEncryptPrototype.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.PublicCertificateConfigurationCALetsEncryptPrototype.Builder
-
- Enclosing class:
- PublicCertificateConfigurationCALetsEncryptPrototype
public static class PublicCertificateConfigurationCALetsEncryptPrototype.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(ConfigurationPrototype publicCertificateConfigurationCaLetsEncryptPrototype)Instantiates a new Builder from an existing PublicCertificateConfigurationCALetsEncryptPrototype instance.Builder(String configType, String name, String letsEncryptEnvironment, String letsEncryptPrivateKey)Instantiates a new builder with required properties.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PublicCertificateConfigurationCALetsEncryptPrototypebuild()Builds a PublicCertificateConfigurationCALetsEncryptPrototype.PublicCertificateConfigurationCALetsEncryptPrototype.BuilderconfigType(String configType)Set the configType.PublicCertificateConfigurationCALetsEncryptPrototype.BuilderletsEncryptEnvironment(String letsEncryptEnvironment)Set the letsEncryptEnvironment.PublicCertificateConfigurationCALetsEncryptPrototype.BuilderletsEncryptPreferredChain(String letsEncryptPreferredChain)Set the letsEncryptPreferredChain.PublicCertificateConfigurationCALetsEncryptPrototype.BuilderletsEncryptPrivateKey(String letsEncryptPrivateKey)Set the letsEncryptPrivateKey.PublicCertificateConfigurationCALetsEncryptPrototype.Buildername(String name)Set the name.
-
-
-
Constructor Detail
-
Builder
public Builder(ConfigurationPrototype publicCertificateConfigurationCaLetsEncryptPrototype)
Instantiates a new Builder from an existing PublicCertificateConfigurationCALetsEncryptPrototype instance.- Parameters:
publicCertificateConfigurationCaLetsEncryptPrototype- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String configType, String name, String letsEncryptEnvironment, String letsEncryptPrivateKey)
Instantiates a new builder with required properties.- Parameters:
configType- the configTypename- the nameletsEncryptEnvironment- the letsEncryptEnvironmentletsEncryptPrivateKey- the letsEncryptPrivateKey
-
-
Method Detail
-
build
public PublicCertificateConfigurationCALetsEncryptPrototype build()
Builds a PublicCertificateConfigurationCALetsEncryptPrototype.- Returns:
- the new PublicCertificateConfigurationCALetsEncryptPrototype instance
-
configType
public PublicCertificateConfigurationCALetsEncryptPrototype.Builder configType(String configType)
Set the configType.- Parameters:
configType- the configType- Returns:
- the PublicCertificateConfigurationCALetsEncryptPrototype builder
-
name
public PublicCertificateConfigurationCALetsEncryptPrototype.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the PublicCertificateConfigurationCALetsEncryptPrototype builder
-
letsEncryptEnvironment
public PublicCertificateConfigurationCALetsEncryptPrototype.Builder letsEncryptEnvironment(String letsEncryptEnvironment)
Set the letsEncryptEnvironment.- Parameters:
letsEncryptEnvironment- the letsEncryptEnvironment- Returns:
- the PublicCertificateConfigurationCALetsEncryptPrototype builder
-
letsEncryptPrivateKey
public PublicCertificateConfigurationCALetsEncryptPrototype.Builder letsEncryptPrivateKey(String letsEncryptPrivateKey)
Set the letsEncryptPrivateKey.- Parameters:
letsEncryptPrivateKey- the letsEncryptPrivateKey- Returns:
- the PublicCertificateConfigurationCALetsEncryptPrototype builder
-
letsEncryptPreferredChain
public PublicCertificateConfigurationCALetsEncryptPrototype.Builder letsEncryptPreferredChain(String letsEncryptPreferredChain)
Set the letsEncryptPreferredChain.- Parameters:
letsEncryptPreferredChain- the letsEncryptPreferredChain- Returns:
- the PublicCertificateConfigurationCALetsEncryptPrototype builder
-
-