Class ImportedCertificateManagedCsr.Builder
- java.lang.Object
-
- com.ibm.cloud.secrets_manager_sdk.secrets_manager.v2.model.ImportedCertificateManagedCsr.Builder
-
- Enclosing class:
- ImportedCertificateManagedCsr
public static class ImportedCertificateManagedCsr.Builder extends Object
Builder.
-
-
Constructor Summary
Constructors Constructor Description Builder()Instantiates a new builder.
-
Method Summary
-
-
-
Method Detail
-
build
public ImportedCertificateManagedCsr build()
Builds a ImportedCertificateManagedCsr.- Returns:
- the new ImportedCertificateManagedCsr instance
-
addOu
public ImportedCertificateManagedCsr.Builder addOu(String ou)
Adds a new element to ou.- Parameters:
ou- the new element to be added- Returns:
- the ImportedCertificateManagedCsr builder
-
addOrganization
public ImportedCertificateManagedCsr.Builder addOrganization(String organization)
Adds a new element to organization.- Parameters:
organization- the new element to be added- Returns:
- the ImportedCertificateManagedCsr builder
-
addCountry
public ImportedCertificateManagedCsr.Builder addCountry(String country)
Adds a new element to country.- Parameters:
country- the new element to be added- Returns:
- the ImportedCertificateManagedCsr builder
-
addLocality
public ImportedCertificateManagedCsr.Builder addLocality(String locality)
Adds a new element to locality.- Parameters:
locality- the new element to be added- Returns:
- the ImportedCertificateManagedCsr builder
-
addProvince
public ImportedCertificateManagedCsr.Builder addProvince(String province)
Adds a new element to province.- Parameters:
province- the new element to be added- Returns:
- the ImportedCertificateManagedCsr builder
-
addStreetAddress
public ImportedCertificateManagedCsr.Builder addStreetAddress(String streetAddress)
Adds a new element to streetAddress.- Parameters:
streetAddress- the new element to be added- Returns:
- the ImportedCertificateManagedCsr builder
-
addPostalCode
public ImportedCertificateManagedCsr.Builder addPostalCode(String postalCode)
Adds a new element to postalCode.- Parameters:
postalCode- the new element to be added- Returns:
- the ImportedCertificateManagedCsr builder
-
ou
public ImportedCertificateManagedCsr.Builder ou(List<String> ou)
Set the ou. Existing ou will be replaced.- Parameters:
ou- the ou- Returns:
- the ImportedCertificateManagedCsr builder
-
organization
public ImportedCertificateManagedCsr.Builder organization(List<String> organization)
Set the organization. Existing organization will be replaced.- Parameters:
organization- the organization- Returns:
- the ImportedCertificateManagedCsr builder
-
country
public ImportedCertificateManagedCsr.Builder country(List<String> country)
Set the country. Existing country will be replaced.- Parameters:
country- the country- Returns:
- the ImportedCertificateManagedCsr builder
-
locality
public ImportedCertificateManagedCsr.Builder locality(List<String> locality)
Set the locality. Existing locality will be replaced.- Parameters:
locality- the locality- Returns:
- the ImportedCertificateManagedCsr builder
-
province
public ImportedCertificateManagedCsr.Builder province(List<String> province)
Set the province. Existing province will be replaced.- Parameters:
province- the province- Returns:
- the ImportedCertificateManagedCsr builder
-
streetAddress
public ImportedCertificateManagedCsr.Builder streetAddress(List<String> streetAddress)
Set the streetAddress. Existing streetAddress will be replaced.- Parameters:
streetAddress- the streetAddress- Returns:
- the ImportedCertificateManagedCsr builder
-
postalCode
public ImportedCertificateManagedCsr.Builder postalCode(List<String> postalCode)
Set the postalCode. Existing postalCode will be replaced.- Parameters:
postalCode- the postalCode- Returns:
- the ImportedCertificateManagedCsr builder
-
requireCn
public ImportedCertificateManagedCsr.Builder requireCn(Boolean requireCn)
Set the requireCn.- Parameters:
requireCn- the requireCn- Returns:
- the ImportedCertificateManagedCsr builder
-
commonName
public ImportedCertificateManagedCsr.Builder commonName(String commonName)
Set the commonName.- Parameters:
commonName- the commonName- Returns:
- the ImportedCertificateManagedCsr builder
-
altNames
public ImportedCertificateManagedCsr.Builder altNames(String altNames)
Set the altNames.- Parameters:
altNames- the altNames- Returns:
- the ImportedCertificateManagedCsr builder
-
ipSans
public ImportedCertificateManagedCsr.Builder ipSans(String ipSans)
Set the ipSans.- Parameters:
ipSans- the ipSans- Returns:
- the ImportedCertificateManagedCsr builder
-
uriSans
public ImportedCertificateManagedCsr.Builder uriSans(String uriSans)
Set the uriSans.- Parameters:
uriSans- the uriSans- Returns:
- the ImportedCertificateManagedCsr builder
-
otherSans
public ImportedCertificateManagedCsr.Builder otherSans(String otherSans)
Set the otherSans.- Parameters:
otherSans- the otherSans- Returns:
- the ImportedCertificateManagedCsr builder
-
excludeCnFromSans
public ImportedCertificateManagedCsr.Builder excludeCnFromSans(Boolean excludeCnFromSans)
Set the excludeCnFromSans.- Parameters:
excludeCnFromSans- the excludeCnFromSans- Returns:
- the ImportedCertificateManagedCsr builder
-
userIds
public ImportedCertificateManagedCsr.Builder userIds(String userIds)
Set the userIds.- Parameters:
userIds- the userIds- Returns:
- the ImportedCertificateManagedCsr builder
-
serverFlag
public ImportedCertificateManagedCsr.Builder serverFlag(Boolean serverFlag)
Set the serverFlag.- Parameters:
serverFlag- the serverFlag- Returns:
- the ImportedCertificateManagedCsr builder
-
clientFlag
public ImportedCertificateManagedCsr.Builder clientFlag(Boolean clientFlag)
Set the clientFlag.- Parameters:
clientFlag- the clientFlag- Returns:
- the ImportedCertificateManagedCsr builder
-
codeSigningFlag
public ImportedCertificateManagedCsr.Builder codeSigningFlag(Boolean codeSigningFlag)
Set the codeSigningFlag.- Parameters:
codeSigningFlag- the codeSigningFlag- Returns:
- the ImportedCertificateManagedCsr builder
-
emailProtectionFlag
public ImportedCertificateManagedCsr.Builder emailProtectionFlag(Boolean emailProtectionFlag)
Set the emailProtectionFlag.- Parameters:
emailProtectionFlag- the emailProtectionFlag- Returns:
- the ImportedCertificateManagedCsr builder
-
keyType
public ImportedCertificateManagedCsr.Builder keyType(String keyType)
Set the keyType.- Parameters:
keyType- the keyType- Returns:
- the ImportedCertificateManagedCsr builder
-
keyBits
public ImportedCertificateManagedCsr.Builder keyBits(long keyBits)
Set the keyBits.- Parameters:
keyBits- the keyBits- Returns:
- the ImportedCertificateManagedCsr builder
-
keyUsage
public ImportedCertificateManagedCsr.Builder keyUsage(String keyUsage)
Set the keyUsage.- Parameters:
keyUsage- the keyUsage- Returns:
- the ImportedCertificateManagedCsr builder
-
extKeyUsage
public ImportedCertificateManagedCsr.Builder extKeyUsage(String extKeyUsage)
Set the extKeyUsage.- Parameters:
extKeyUsage- the extKeyUsage- Returns:
- the ImportedCertificateManagedCsr builder
-
policyIdentifiers
public ImportedCertificateManagedCsr.Builder policyIdentifiers(String policyIdentifiers)
Set the policyIdentifiers.- Parameters:
policyIdentifiers- the policyIdentifiers- Returns:
- the ImportedCertificateManagedCsr builder
-
extKeyUsageOids
public ImportedCertificateManagedCsr.Builder extKeyUsageOids(String extKeyUsageOids)
Set the extKeyUsageOids.- Parameters:
extKeyUsageOids- the extKeyUsageOids- Returns:
- the ImportedCertificateManagedCsr builder
-
rotateKeys
public ImportedCertificateManagedCsr.Builder rotateKeys(Boolean rotateKeys)
Set the rotateKeys.- Parameters:
rotateKeys- the rotateKeys- Returns:
- the ImportedCertificateManagedCsr builder
-
-