Interface KeyUsageProperty.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<KeyUsageProperty.Builder,
,KeyUsageProperty> SdkBuilder<KeyUsageProperty.Builder,
,KeyUsageProperty> SdkPojo
- Enclosing class:
KeyUsageProperty
public static interface KeyUsageProperty.Builder
extends SdkPojo, CopyableBuilder<KeyUsageProperty.Builder,KeyUsageProperty>
-
Method Summary
Modifier and TypeMethodDescriptiondefault KeyUsageProperty.Builder
propertyFlags
(Consumer<KeyUsagePropertyFlags.Builder> propertyFlags) You can specify key usage for encryption, key agreement, and signature.propertyFlags
(KeyUsagePropertyFlags propertyFlags) You can specify key usage for encryption, key agreement, and signature.propertyType
(String propertyType) You can specify all key usages using property type ALL.propertyType
(KeyUsagePropertyType propertyType) You can specify all key usages using property type ALL.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
-
propertyFlags
You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.
- Parameters:
propertyFlags
- You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
propertyFlags
default KeyUsageProperty.Builder propertyFlags(Consumer<KeyUsagePropertyFlags.Builder> propertyFlags) You can specify key usage for encryption, key agreement, and signature. You can use property flags or property type but not both.
This is a convenience method that creates an instance of theKeyUsagePropertyFlags.Builder
avoiding the need to create one manually viaKeyUsagePropertyFlags.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed topropertyFlags(KeyUsagePropertyFlags)
.- Parameters:
propertyFlags
- a consumer that will call methods onKeyUsagePropertyFlags.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propertyType
You can specify all key usages using property type ALL. You can use property type or property flags but not both.
- Parameters:
propertyType
- You can specify all key usages using property type ALL. You can use property type or property flags but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
propertyType
You can specify all key usages using property type ALL. You can use property type or property flags but not both.
- Parameters:
propertyType
- You can specify all key usages using property type ALL. You can use property type or property flags but not both.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-