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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default ExtensionsV2.BuilderapplicationPolicies(Consumer<ApplicationPolicies.Builder> applicationPolicies)Application policies specify what the certificate is used for and its purpose.ExtensionsV2.BuilderapplicationPolicies(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.ExtensionsV2.BuilderkeyUsage(KeyUsage keyUsage)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 Detail
-
applicationPolicies
ExtensionsV2.Builder applicationPolicies(ApplicationPolicies 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:
applicationPolicies(ApplicationPolicies)
-
keyUsage
ExtensionsV2.Builder keyUsage(KeyUsage 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
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.
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)
-
-