Class PrivateCertificateConfigurationIntermediateCAPrototype.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.PrivateCertificateConfigurationIntermediateCAPrototype.Builder
-
- Enclosing class:
- PrivateCertificateConfigurationIntermediateCAPrototype
public static class PrivateCertificateConfigurationIntermediateCAPrototype.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(ConfigurationPrototype privateCertificateConfigurationIntermediateCaPrototype)Instantiates a new Builder from an existing PrivateCertificateConfigurationIntermediateCAPrototype instance.Builder(String configType, String name, String maxTtl, String signingMethod, String commonName)Instantiates a new builder with required properties.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder(ConfigurationPrototype privateCertificateConfigurationIntermediateCaPrototype)
Instantiates a new Builder from an existing PrivateCertificateConfigurationIntermediateCAPrototype instance.- Parameters:
privateCertificateConfigurationIntermediateCaPrototype- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
Builder
public Builder(String configType, String name, String maxTtl, String signingMethod, String commonName)
Instantiates a new builder with required properties.- Parameters:
configType- the configTypename- the namemaxTtl- the maxTtlsigningMethod- the signingMethodcommonName- the commonName
-
-
Method Detail
-
build
public PrivateCertificateConfigurationIntermediateCAPrototype build()
Builds a PrivateCertificateConfigurationIntermediateCAPrototype.- Returns:
- the new PrivateCertificateConfigurationIntermediateCAPrototype instance
-
addAltNames
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addAltNames(String altNames)
Adds a new element to altNames.- Parameters:
altNames- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
addOtherSans
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addOtherSans(String otherSans)
Adds a new element to otherSans.- Parameters:
otherSans- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
addOu
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addOu(String ou)
Adds a new element to ou.- Parameters:
ou- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
addOrganization
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addOrganization(String organization)
Adds a new element to organization.- Parameters:
organization- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
addCountry
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addCountry(String country)
Adds a new element to country.- Parameters:
country- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
addLocality
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addLocality(String locality)
Adds a new element to locality.- Parameters:
locality- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
addProvince
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addProvince(String province)
Adds a new element to province.- Parameters:
province- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
addStreetAddress
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addStreetAddress(String streetAddress)
Adds a new element to streetAddress.- Parameters:
streetAddress- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
addPostalCode
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder addPostalCode(String postalCode)
Adds a new element to postalCode.- Parameters:
postalCode- the new element to be added- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
configType
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder configType(String configType)
Set the configType.- Parameters:
configType- the configType- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
name
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder name(String name)
Set the name.- Parameters:
name- the name- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
cryptoKey
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder cryptoKey(PrivateCertificateCryptoKey cryptoKey)
Set the cryptoKey.- Parameters:
cryptoKey- the cryptoKey- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
maxTtl
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder maxTtl(String maxTtl)
Set the maxTtl.- Parameters:
maxTtl- the maxTtl- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
signingMethod
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder signingMethod(String signingMethod)
Set the signingMethod.- Parameters:
signingMethod- the signingMethod- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
issuer
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder issuer(String issuer)
Set the issuer.- Parameters:
issuer- the issuer- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
crlExpiry
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder crlExpiry(String crlExpiry)
Set the crlExpiry.- Parameters:
crlExpiry- the crlExpiry- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
crlDisable
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder crlDisable(Boolean crlDisable)
Set the crlDisable.- Parameters:
crlDisable- the crlDisable- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
crlDistributionPointsEncoded
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder crlDistributionPointsEncoded(Boolean crlDistributionPointsEncoded)
Set the crlDistributionPointsEncoded.- Parameters:
crlDistributionPointsEncoded- the crlDistributionPointsEncoded- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
issuingCertificatesUrlsEncoded
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder issuingCertificatesUrlsEncoded(Boolean issuingCertificatesUrlsEncoded)
Set the issuingCertificatesUrlsEncoded.- Parameters:
issuingCertificatesUrlsEncoded- the issuingCertificatesUrlsEncoded- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
commonName
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder commonName(String commonName)
Set the commonName.- Parameters:
commonName- the commonName- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
altNames
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder altNames(List<String> altNames)
Set the altNames. Existing altNames will be replaced.- Parameters:
altNames- the altNames- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
ipSans
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder ipSans(String ipSans)
Set the ipSans.- Parameters:
ipSans- the ipSans- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
uriSans
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder uriSans(String uriSans)
Set the uriSans.- Parameters:
uriSans- the uriSans- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
otherSans
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder otherSans(List<String> otherSans)
Set the otherSans. Existing otherSans will be replaced.- Parameters:
otherSans- the otherSans- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
format
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder format(String format)
Set the format.- Parameters:
format- the format- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
privateKeyFormat
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder privateKeyFormat(String privateKeyFormat)
Set the privateKeyFormat.- Parameters:
privateKeyFormat- the privateKeyFormat- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
keyType
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder keyType(String keyType)
Set the keyType.- Parameters:
keyType- the keyType- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
keyBits
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder keyBits(long keyBits)
Set the keyBits.- Parameters:
keyBits- the keyBits- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
excludeCnFromSans
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder excludeCnFromSans(Boolean excludeCnFromSans)
Set the excludeCnFromSans.- Parameters:
excludeCnFromSans- the excludeCnFromSans- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
ou
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder ou(List<String> ou)
Set the ou. Existing ou will be replaced.- Parameters:
ou- the ou- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
organization
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder organization(List<String> organization)
Set the organization. Existing organization will be replaced.- Parameters:
organization- the organization- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
country
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder country(List<String> country)
Set the country. Existing country will be replaced.- Parameters:
country- the country- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
locality
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder locality(List<String> locality)
Set the locality. Existing locality will be replaced.- Parameters:
locality- the locality- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
province
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder province(List<String> province)
Set the province. Existing province will be replaced.- Parameters:
province- the province- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
streetAddress
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder streetAddress(List<String> streetAddress)
Set the streetAddress. Existing streetAddress will be replaced.- Parameters:
streetAddress- the streetAddress- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
postalCode
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder postalCode(List<String> postalCode)
Set the postalCode. Existing postalCode will be replaced.- Parameters:
postalCode- the postalCode- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
serialNumber
public PrivateCertificateConfigurationIntermediateCAPrototype.Builder serialNumber(String serialNumber)
Set the serialNumber.- Parameters:
serialNumber- the serialNumber- Returns:
- the PrivateCertificateConfigurationIntermediateCAPrototype builder
-
-