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.BuilderapplicationPolicies(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.BuilderkeyUsage(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, 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.Builderavoiding the need to create one manually viaApplicationPolicies.builder().When the
Consumercompletes,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.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:
-