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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default KeyUsageProperty.BuilderpropertyFlags(Consumer<KeyUsagePropertyFlags.Builder> propertyFlags)You can specify key usage for encryption, key agreement, and signature.KeyUsageProperty.BuilderpropertyFlags(KeyUsagePropertyFlags propertyFlags)You can specify key usage for encryption, key agreement, and signature.KeyUsageProperty.BuilderpropertyType(String propertyType)You can specify all key usages using property type ALL.KeyUsageProperty.BuilderpropertyType(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 Detail
-
propertyFlags
KeyUsageProperty.Builder propertyFlags(KeyUsagePropertyFlags 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.Builderavoiding the need to create one manually viaKeyUsagePropertyFlags.builder().When the
Consumercompletes,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:
propertyFlags(KeyUsagePropertyFlags)
-
propertyType
KeyUsageProperty.Builder propertyType(String 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:
KeyUsagePropertyType,KeyUsagePropertyType
-
propertyType
KeyUsageProperty.Builder propertyType(KeyUsagePropertyType 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:
KeyUsagePropertyType,KeyUsagePropertyType
-
-