Interface Extensions.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Extensions.Builder,
,Extensions> SdkBuilder<Extensions.Builder,
,Extensions> SdkPojo
- Enclosing class:
Extensions
-
Method Summary
Modifier and TypeMethodDescriptioncertificatePolicies
(Collection<PolicyInformation> certificatePolicies) Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.certificatePolicies
(Consumer<PolicyInformation.Builder>... certificatePolicies) Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.certificatePolicies
(PolicyInformation... certificatePolicies) Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.customExtensions
(Collection<CustomExtension> customExtensions) customExtensions
(Consumer<CustomExtension.Builder>... customExtensions) customExtensions
(CustomExtension... customExtensions) extendedKeyUsage
(Collection<ExtendedKeyUsage> extendedKeyUsage) Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsage
extension.extendedKeyUsage
(Consumer<ExtendedKeyUsage.Builder>... extendedKeyUsage) Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsage
extension.extendedKeyUsage
(ExtendedKeyUsage... extendedKeyUsage) Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsage
extension.default Extensions.Builder
keyUsage
(Consumer<KeyUsage.Builder> keyUsage) Sets the value of the KeyUsage property for this object.Sets the value of the KeyUsage property for this object.subjectAlternativeNames
(Collection<GeneralName> subjectAlternativeNames) The subject alternative name extension allows identities to be bound to the subject of the certificate.subjectAlternativeNames
(Consumer<GeneralName.Builder>... subjectAlternativeNames) The subject alternative name extension allows identities to be bound to the subject of the certificate.subjectAlternativeNames
(GeneralName... subjectAlternativeNames) The subject alternative name extension allows identities to be bound to the subject of the certificate.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
certificatePolicies
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
- Parameters:
certificatePolicies
- Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificatePolicies
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
- Parameters:
certificatePolicies
- Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
certificatePolicies
Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers. For more information, see NIST's definition of Object Identifier (OID).
In an end-entity certificate, these terms indicate the policy under which the certificate was issued and the purposes for which it may be used. In a CA certificate, these terms limit the set of policies for certification paths that include this certificate.
This is a convenience method that creates an instance of thePolicyInformation.Builder
avoiding the need to create one manually viaPolicyInformation.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocertificatePolicies(List<PolicyInformation>)
.- Parameters:
certificatePolicies
- a consumer that will call methods onPolicyInformation.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
extendedKeyUsage
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the
KeyUsage
extension.- Parameters:
extendedKeyUsage
- Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsage
extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extendedKeyUsage
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the
KeyUsage
extension.- Parameters:
extendedKeyUsage
- Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsage
extension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extendedKeyUsage
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the
This is a convenience method that creates an instance of theKeyUsage
extension.ExtendedKeyUsage.Builder
avoiding the need to create one manually viaExtendedKeyUsage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toextendedKeyUsage(List<ExtendedKeyUsage>)
.- Parameters:
extendedKeyUsage
- a consumer that will call methods onExtendedKeyUsage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyUsage
Sets the value of the KeyUsage property for this object.- Parameters:
keyUsage
- The new value for the KeyUsage property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyUsage
Sets the value of the KeyUsage property for this object. This is a convenience method that creates an instance of theKeyUsage.Builder
avoiding the need to create one manually viaKeyUsage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tokeyUsage(KeyUsage)
.- Parameters:
keyUsage
- a consumer that will call methods onKeyUsage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
subjectAlternativeNames
The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.
- Parameters:
subjectAlternativeNames
- The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectAlternativeNames
The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.
- Parameters:
subjectAlternativeNames
- The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
subjectAlternativeNames
Extensions.Builder subjectAlternativeNames(Consumer<GeneralName.Builder>... subjectAlternativeNames) The subject alternative name extension allows identities to be bound to the subject of the certificate. These identities may be included in addition to or in place of the identity in the subject field of the certificate.
This is a convenience method that creates an instance of theGeneralName.Builder
avoiding the need to create one manually viaGeneralName.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosubjectAlternativeNames(List<GeneralName>)
.- Parameters:
subjectAlternativeNames
- a consumer that will call methods onGeneralName.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
customExtensions
Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database.
- Parameters:
customExtensions
-Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customExtensions
Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database.
- Parameters:
customExtensions
-Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
customExtensions
Contains a sequence of one or more X.509 extensions, each of which consists of an object identifier (OID), a base64-encoded value, and the critical flag. For more information, see the Global OID reference database.
This is a convenience method that creates an instance of theCustomExtension.Builder
avoiding the need to create one manually viaCustomExtension.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocustomExtensions(List<CustomExtension>)
.- Parameters:
customExtensions
- a consumer that will call methods onCustomExtension.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-