@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.KeyUsageName
public String getName()
A string value that contains a Key Usage extension name.
KeyUsageName
public 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.KeyUsageName
public 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.KeyUsageName
public String toString()
toString
in class Object
Object.toString()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.