Interface KeySummary.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KeySummary.Builder,KeySummary>,SdkBuilder<KeySummary.Builder,KeySummary>,SdkPojo
- Enclosing class:
- KeySummary
public static interface KeySummary.Builder extends SdkPojo, CopyableBuilder<KeySummary.Builder,KeySummary>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description KeySummary.Builderenabled(Boolean enabled)Specifies whether the key is enabled.KeySummary.Builderexportable(Boolean exportable)Specifies whether the key is exportable.KeySummary.BuilderkeyArn(String keyArn)The Amazon Resource Name (ARN) of the key.default KeySummary.BuilderkeyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.KeySummary.BuilderkeyAttributes(KeyAttributes keyAttributes)The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key.KeySummary.BuilderkeyCheckValue(String keyCheckValue)The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.KeySummary.BuilderkeyState(String keyState)The state of an Amazon Web Services Payment Cryptography that is being created or deleted.KeySummary.BuilderkeyState(KeyState keyState)The state of an Amazon Web Services Payment Cryptography that is being created or deleted.-
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
-
enabled
KeySummary.Builder enabled(Boolean enabled)
Specifies whether the key is enabled.
- Parameters:
enabled- Specifies whether the key is enabled.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
exportable
KeySummary.Builder exportable(Boolean exportable)
Specifies whether the key is exportable. This data is immutable after the key is created.
- Parameters:
exportable- Specifies whether the key is exportable. This data is immutable after the key is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyArn
KeySummary.Builder keyArn(String keyArn)
The Amazon Resource Name (ARN) of the key.
- Parameters:
keyArn- The Amazon Resource Name (ARN) of the key.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyAttributes
KeySummary.Builder keyAttributes(KeyAttributes keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
- Parameters:
keyAttributes- The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyAttributes
default KeySummary.Builder keyAttributes(Consumer<KeyAttributes.Builder> keyAttributes)
The role of the key, the algorithm it supports, and the cryptographic operations allowed with the key. This data is immutable after the key is created.
This is a convenience method that creates an instance of theKeyAttributes.Builderavoiding the need to create one manually viaKeyAttributes.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tokeyAttributes(KeyAttributes).- Parameters:
keyAttributes- a consumer that will call methods onKeyAttributes.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
keyAttributes(KeyAttributes)
-
keyCheckValue
KeySummary.Builder keyCheckValue(String keyCheckValue)
The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.
- Parameters:
keyCheckValue- The key check value (KCV) is used to check if all parties holding a given key have the same key or to detect that a key has changed.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyState
KeySummary.Builder keyState(String keyState)
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
-
keyState
KeySummary.Builder keyState(KeyState keyState)
The state of an Amazon Web Services Payment Cryptography that is being created or deleted.
-
-