Interface Extensions.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Extensions.Builder,Extensions>,SdkBuilder<Extensions.Builder,Extensions>,SdkPojo
- Enclosing class:
- Extensions
public static interface Extensions.Builder extends SdkPojo, CopyableBuilder<Extensions.Builder,Extensions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Extensions.BuildercertificatePolicies(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.Extensions.BuildercertificatePolicies(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.Extensions.BuildercertificatePolicies(PolicyInformation... certificatePolicies)Contains a sequence of one or more policy information terms, each of which consists of an object identifier (OID) and optional qualifiers.Extensions.BuildercustomExtensions(Collection<CustomExtension> customExtensions)Extensions.BuildercustomExtensions(Consumer<CustomExtension.Builder>... customExtensions)Extensions.BuildercustomExtensions(CustomExtension... customExtensions)Extensions.BuilderextendedKeyUsage(Collection<ExtendedKeyUsage> extendedKeyUsage)Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.Extensions.BuilderextendedKeyUsage(Consumer<ExtendedKeyUsage.Builder>... extendedKeyUsage)Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.Extensions.BuilderextendedKeyUsage(ExtendedKeyUsage... extendedKeyUsage)Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.default Extensions.BuilderkeyUsage(Consumer<KeyUsage.Builder> keyUsage)Sets the value of the KeyUsage property for this object.Extensions.BuilderkeyUsage(KeyUsage keyUsage)Sets the value of the KeyUsage property for this object.Extensions.BuildersubjectAlternativeNames(Collection<GeneralName> subjectAlternativeNames)The subject alternative name extension allows identities to be bound to the subject of the certificate.Extensions.BuildersubjectAlternativeNames(Consumer<GeneralName.Builder>... subjectAlternativeNames)The subject alternative name extension allows identities to be bound to the subject of the certificate.Extensions.BuildersubjectAlternativeNames(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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
certificatePolicies
Extensions.Builder certificatePolicies(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. 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
Extensions.Builder 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. 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
Extensions.Builder 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. 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.Builderavoiding the need to create one manually viaPolicyInformation.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#certificatePolicies(List.) - 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:
#certificatePolicies(java.util.Collection)
-
extendedKeyUsage
Extensions.Builder extendedKeyUsage(Collection<ExtendedKeyUsage> extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the
KeyUsageextension.- Parameters:
extendedKeyUsage- Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extendedKeyUsage
Extensions.Builder extendedKeyUsage(ExtendedKeyUsage... extendedKeyUsage)
Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in the
KeyUsageextension.- Parameters:
extendedKeyUsage- Specifies additional purposes for which the certified public key may be used other than basic purposes indicated in theKeyUsageextension.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
extendedKeyUsage
Extensions.Builder extendedKeyUsage(Consumer<ExtendedKeyUsage.Builder>... 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 theKeyUsageextension.ExtendedKeyUsage.Builderavoiding the need to create one manually viaExtendedKeyUsage.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#extendedKeyUsage(List.) - 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:
#extendedKeyUsage(java.util.Collection)
-
keyUsage
Extensions.Builder keyUsage(KeyUsage 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
default Extensions.Builder keyUsage(Consumer<KeyUsage.Builder> keyUsage)
Sets the value of the KeyUsage property for this object. This is a convenience method that creates an instance of theKeyUsage.Builderavoiding the need to create one manually viaKeyUsage.builder().When the
Consumercompletes,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:
keyUsage(KeyUsage)
-
subjectAlternativeNames
Extensions.Builder subjectAlternativeNames(Collection<GeneralName> 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(GeneralName... 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.Builderavoiding the need to create one manually viaGeneralName.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#subjectAlternativeNames(List.) - 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:
#subjectAlternativeNames(java.util.Collection)
-
customExtensions
Extensions.Builder customExtensions(Collection<CustomExtension> 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
Extensions.Builder customExtensions(CustomExtension... 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
Extensions.Builder customExtensions(Consumer<CustomExtension.Builder>... 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.Builderavoiding the need to create one manually viaCustomExtension.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#customExtensions(List.) - 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:
#customExtensions(java.util.Collection)
-
-