Interface ExtensionsV2.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<ExtensionsV2.Builder,
,ExtensionsV2> SdkBuilder<ExtensionsV2.Builder,
,ExtensionsV2> SdkPojo
- Enclosing class:
ExtensionsV2
public static interface ExtensionsV2.Builder
extends SdkPojo, CopyableBuilder<ExtensionsV2.Builder,ExtensionsV2>
-
Method Summary
Modifier and TypeMethodDescriptiondefault ExtensionsV2.Builder
applicationPolicies
(Consumer<ApplicationPolicies.Builder> applicationPolicies) Application policies specify what the certificate is used for and its purpose.applicationPolicies
(ApplicationPolicies applicationPolicies) Application policies specify what the certificate is used for and its purpose.default ExtensionsV2.Builder
keyUsage
(Consumer<KeyUsage.Builder> keyUsage) The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate.The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in 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
-
applicationPolicies
Application policies specify what the certificate is used for and its purpose.
- Parameters:
applicationPolicies
- Application policies specify what the certificate is used for and its purpose.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationPolicies
default ExtensionsV2.Builder applicationPolicies(Consumer<ApplicationPolicies.Builder> applicationPolicies) Application policies specify what the certificate is used for and its purpose.
This is a convenience method that creates an instance of theApplicationPolicies.Builder
avoiding the need to create one manually viaApplicationPolicies.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationPolicies(ApplicationPolicies)
.- Parameters:
applicationPolicies
- a consumer that will call methods onApplicationPolicies.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
keyUsage
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate.
- Parameters:
keyUsage
- The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyUsage
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate.
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:
-