@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ExtensionsV2 extends Object implements Serializable, Cloneable, StructuredPojo
Certificate extensions for v2 template schema
Constructor and Description |
---|
ExtensionsV2() |
Modifier and Type | Method and Description |
---|---|
ExtensionsV2 |
clone() |
boolean |
equals(Object obj) |
ApplicationPolicies |
getApplicationPolicies()
Application policies specify what the certificate is used for and its purpose.
|
KeyUsage |
getKeyUsage()
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key
contained in the certificate.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationPolicies(ApplicationPolicies applicationPolicies)
Application policies specify what the certificate is used for and its purpose.
|
void |
setKeyUsage(KeyUsage keyUsage)
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key
contained in the certificate.
|
String |
toString()
Returns a string representation of this object.
|
ExtensionsV2 |
withApplicationPolicies(ApplicationPolicies applicationPolicies)
Application policies specify what the certificate is used for and its purpose.
|
ExtensionsV2 |
withKeyUsage(KeyUsage keyUsage)
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key
contained in the certificate.
|
public void setApplicationPolicies(ApplicationPolicies applicationPolicies)
Application policies specify what the certificate is used for and its purpose.
applicationPolicies
- Application policies specify what the certificate is used for and its purpose.public ApplicationPolicies getApplicationPolicies()
Application policies specify what the certificate is used for and its purpose.
public ExtensionsV2 withApplicationPolicies(ApplicationPolicies applicationPolicies)
Application policies specify what the certificate is used for and its purpose.
applicationPolicies
- Application policies specify what the certificate is used for and its purpose.public void setKeyUsage(KeyUsage keyUsage)
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate.
keyUsage
- The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the
key contained in the certificate.public KeyUsage getKeyUsage()
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate.
public ExtensionsV2 withKeyUsage(KeyUsage keyUsage)
The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the key contained in the certificate.
keyUsage
- The key usage extension defines the purpose (e.g., encipherment, signature, certificate signing) of the
key contained in the certificate.public String toString()
toString
in class Object
Object.toString()
public ExtensionsV2 clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.