Class PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder
-
- Enclosing class:
- PrivateCertificateConfigurationActionSignIntermediatePrototype
public static class PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.Builder(ConfigurationActionPrototype privateCertificateConfigurationActionSignIntermediatePrototype)Instantiates a new Builder from an existing PrivateCertificateConfigurationActionSignIntermediatePrototype instance.Builder(String actionType, String intermediateCertificateAuthority)Instantiates a new builder with required properties.
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder(ConfigurationActionPrototype privateCertificateConfigurationActionSignIntermediatePrototype)
Instantiates a new Builder from an existing PrivateCertificateConfigurationActionSignIntermediatePrototype instance.- Parameters:
privateCertificateConfigurationActionSignIntermediatePrototype- the instance to initialize the Builder with
-
Builder
public Builder()
Instantiates a new builder.
-
-
Method Detail
-
build
public PrivateCertificateConfigurationActionSignIntermediatePrototype build()
Builds a PrivateCertificateConfigurationActionSignIntermediatePrototype.- Returns:
- the new PrivateCertificateConfigurationActionSignIntermediatePrototype instance
-
addAltNames
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addAltNames(String altNames)
Adds a new element to altNames.- Parameters:
altNames- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addOtherSans
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addOtherSans(String otherSans)
Adds a new element to otherSans.- Parameters:
otherSans- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addPermittedDnsDomains
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addPermittedDnsDomains(String permittedDnsDomains)
Adds a new element to permittedDnsDomains.- Parameters:
permittedDnsDomains- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addOu
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addOu(String ou)
Adds a new element to ou.- Parameters:
ou- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addOrganization
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addOrganization(String organization)
Adds a new element to organization.- Parameters:
organization- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addCountry
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addCountry(String country)
Adds a new element to country.- Parameters:
country- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addLocality
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addLocality(String locality)
Adds a new element to locality.- Parameters:
locality- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addProvince
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addProvince(String province)
Adds a new element to province.- Parameters:
province- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addStreetAddress
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addStreetAddress(String streetAddress)
Adds a new element to streetAddress.- Parameters:
streetAddress- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
addPostalCode
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder addPostalCode(String postalCode)
Adds a new element to postalCode.- Parameters:
postalCode- the new element to be added- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
commonName
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder commonName(String commonName)
Set the commonName.- Parameters:
commonName- the commonName- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
altNames
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder altNames(List<String> altNames)
Set the altNames. Existing altNames will be replaced.- Parameters:
altNames- the altNames- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
ipSans
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder ipSans(String ipSans)
Set the ipSans.- Parameters:
ipSans- the ipSans- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
uriSans
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder uriSans(String uriSans)
Set the uriSans.- Parameters:
uriSans- the uriSans- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
otherSans
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder otherSans(List<String> otherSans)
Set the otherSans. Existing otherSans will be replaced.- Parameters:
otherSans- the otherSans- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
ttl
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder ttl(String ttl)
Set the ttl.- Parameters:
ttl- the ttl- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
format
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder format(String format)
Set the format.- Parameters:
format- the format- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
maxPathLength
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder maxPathLength(long maxPathLength)
Set the maxPathLength.- Parameters:
maxPathLength- the maxPathLength- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
excludeCnFromSans
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder excludeCnFromSans(Boolean excludeCnFromSans)
Set the excludeCnFromSans.- Parameters:
excludeCnFromSans- the excludeCnFromSans- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
permittedDnsDomains
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder permittedDnsDomains(List<String> permittedDnsDomains)
Set the permittedDnsDomains. Existing permittedDnsDomains will be replaced.- Parameters:
permittedDnsDomains- the permittedDnsDomains- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
useCsrValues
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder useCsrValues(Boolean useCsrValues)
Set the useCsrValues.- Parameters:
useCsrValues- the useCsrValues- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
ou
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder ou(List<String> ou)
Set the ou. Existing ou will be replaced.- Parameters:
ou- the ou- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
organization
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder organization(List<String> organization)
Set the organization. Existing organization will be replaced.- Parameters:
organization- the organization- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
country
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder country(List<String> country)
Set the country. Existing country will be replaced.- Parameters:
country- the country- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
locality
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder locality(List<String> locality)
Set the locality. Existing locality will be replaced.- Parameters:
locality- the locality- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
province
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder province(List<String> province)
Set the province. Existing province will be replaced.- Parameters:
province- the province- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
streetAddress
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder streetAddress(List<String> streetAddress)
Set the streetAddress. Existing streetAddress will be replaced.- Parameters:
streetAddress- the streetAddress- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
postalCode
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder postalCode(List<String> postalCode)
Set the postalCode. Existing postalCode will be replaced.- Parameters:
postalCode- the postalCode- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
serialNumber
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder serialNumber(String serialNumber)
Set the serialNumber.- Parameters:
serialNumber- the serialNumber- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
actionType
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder actionType(String actionType)
Set the actionType.- Parameters:
actionType- the actionType- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
intermediateCertificateAuthority
public PrivateCertificateConfigurationActionSignIntermediatePrototype.Builder intermediateCertificateAuthority(String intermediateCertificateAuthority)
Set the intermediateCertificateAuthority.- Parameters:
intermediateCertificateAuthority- the intermediateCertificateAuthority- Returns:
- the PrivateCertificateConfigurationActionSignIntermediatePrototype builder
-
-