@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class KeyUsage extends Object implements Serializable, Cloneable, StructuredPojo
The Key Usage X.509 v3 extension defines the purpose of the public key contained in the certificate.
| Constructor and Description |
|---|
KeyUsage() |
| Modifier and Type | Method and Description |
|---|---|
KeyUsage |
clone() |
boolean |
equals(Object obj) |
String |
getName()
A string value that contains a Key Usage extension name.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setName(String name)
A string value that contains a Key Usage extension name.
|
String |
toString()
Returns a string representation of this object.
|
KeyUsage |
withName(KeyUsageName name)
A string value that contains a Key Usage extension name.
|
KeyUsage |
withName(String name)
A string value that contains a Key Usage extension name.
|
public void setName(String name)
A string value that contains a Key Usage extension name.
name - A string value that contains a Key Usage extension name.KeyUsageNamepublic String getName()
A string value that contains a Key Usage extension name.
KeyUsageNamepublic KeyUsage withName(String name)
A string value that contains a Key Usage extension name.
name - A string value that contains a Key Usage extension name.KeyUsageNamepublic KeyUsage withName(KeyUsageName name)
A string value that contains a Key Usage extension name.
name - A string value that contains a Key Usage extension name.KeyUsageNamepublic String toString()
toString in class ObjectObject.toString()public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.