Interface KeyUsage.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<KeyUsage.Builder,KeyUsage>,SdkBuilder<KeyUsage.Builder,KeyUsage>,SdkPojo
- Enclosing class:
- KeyUsage
public static interface KeyUsage.Builder extends SdkPojo, CopyableBuilder<KeyUsage.Builder,KeyUsage>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description KeyUsage.BuildercrlSign(Boolean crlSign)Key can be used to sign CRLs.KeyUsage.BuilderdataEncipherment(Boolean dataEncipherment)Key can be used to decipher data.KeyUsage.BuilderdecipherOnly(Boolean decipherOnly)Key can be used only to decipher data.KeyUsage.BuilderdigitalSignature(Boolean digitalSignature)Key can be used for digital signing.KeyUsage.BuilderencipherOnly(Boolean encipherOnly)Key can be used only to encipher data.KeyUsage.BuilderkeyAgreement(Boolean keyAgreement)Key can be used in a key-agreement protocol.KeyUsage.BuilderkeyCertSign(Boolean keyCertSign)Key can be used to sign certificates.KeyUsage.BuilderkeyEncipherment(Boolean keyEncipherment)Key can be used to encipher data.KeyUsage.BuildernonRepudiation(Boolean nonRepudiation)Key can be used for non-repudiation.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
digitalSignature
KeyUsage.Builder digitalSignature(Boolean digitalSignature)
Key can be used for digital signing.
- Parameters:
digitalSignature- Key can be used for digital signing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nonRepudiation
KeyUsage.Builder nonRepudiation(Boolean nonRepudiation)
Key can be used for non-repudiation.
- Parameters:
nonRepudiation- Key can be used for non-repudiation.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyEncipherment
KeyUsage.Builder keyEncipherment(Boolean keyEncipherment)
Key can be used to encipher data.
- Parameters:
keyEncipherment- Key can be used to encipher data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataEncipherment
KeyUsage.Builder dataEncipherment(Boolean dataEncipherment)
Key can be used to decipher data.
- Parameters:
dataEncipherment- Key can be used to decipher data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyAgreement
KeyUsage.Builder keyAgreement(Boolean keyAgreement)
Key can be used in a key-agreement protocol.
- Parameters:
keyAgreement- Key can be used in a key-agreement protocol.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
keyCertSign
KeyUsage.Builder keyCertSign(Boolean keyCertSign)
Key can be used to sign certificates.
- Parameters:
keyCertSign- Key can be used to sign certificates.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
crlSign
KeyUsage.Builder crlSign(Boolean crlSign)
Key can be used to sign CRLs.
- Parameters:
crlSign- Key can be used to sign CRLs.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encipherOnly
KeyUsage.Builder encipherOnly(Boolean encipherOnly)
Key can be used only to encipher data.
- Parameters:
encipherOnly- Key can be used only to encipher data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
decipherOnly
KeyUsage.Builder decipherOnly(Boolean decipherOnly)
Key can be used only to decipher data.
- Parameters:
decipherOnly- Key can be used only to decipher data.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-