@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyUsagePropertyFlags extends Object implements Serializable, Cloneable, StructuredPojo
Specifies key usage.
Constructor and Description |
---|
KeyUsagePropertyFlags() |
Modifier and Type | Method and Description |
---|---|
KeyUsagePropertyFlags |
clone() |
boolean |
equals(Object obj) |
Boolean |
getDecrypt()
Allows key for encryption and decryption.
|
Boolean |
getKeyAgreement()
Allows key exchange without encryption.
|
Boolean |
getSign()
Allow key use for digital signature.
|
int |
hashCode() |
Boolean |
isDecrypt()
Allows key for encryption and decryption.
|
Boolean |
isKeyAgreement()
Allows key exchange without encryption.
|
Boolean |
isSign()
Allow key use for digital signature.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDecrypt(Boolean decrypt)
Allows key for encryption and decryption.
|
void |
setKeyAgreement(Boolean keyAgreement)
Allows key exchange without encryption.
|
void |
setSign(Boolean sign)
Allow key use for digital signature.
|
String |
toString()
Returns a string representation of this object.
|
KeyUsagePropertyFlags |
withDecrypt(Boolean decrypt)
Allows key for encryption and decryption.
|
KeyUsagePropertyFlags |
withKeyAgreement(Boolean keyAgreement)
Allows key exchange without encryption.
|
KeyUsagePropertyFlags |
withSign(Boolean sign)
Allow key use for digital signature.
|
public void setDecrypt(Boolean decrypt)
Allows key for encryption and decryption.
decrypt
- Allows key for encryption and decryption.public Boolean getDecrypt()
Allows key for encryption and decryption.
public KeyUsagePropertyFlags withDecrypt(Boolean decrypt)
Allows key for encryption and decryption.
decrypt
- Allows key for encryption and decryption.public Boolean isDecrypt()
Allows key for encryption and decryption.
public void setKeyAgreement(Boolean keyAgreement)
Allows key exchange without encryption.
keyAgreement
- Allows key exchange without encryption.public Boolean getKeyAgreement()
Allows key exchange without encryption.
public KeyUsagePropertyFlags withKeyAgreement(Boolean keyAgreement)
Allows key exchange without encryption.
keyAgreement
- Allows key exchange without encryption.public Boolean isKeyAgreement()
Allows key exchange without encryption.
public void setSign(Boolean sign)
Allow key use for digital signature.
sign
- Allow key use for digital signature.public Boolean getSign()
Allow key use for digital signature.
public KeyUsagePropertyFlags withSign(Boolean sign)
Allow key use for digital signature.
sign
- Allow key use for digital signature.public Boolean isSign()
Allow key use for digital signature.
public String toString()
toString
in class Object
Object.toString()
public KeyUsagePropertyFlags clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.