@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ApplicationPolicy extends Object implements Serializable, Cloneable, StructuredPojo
Application policies describe what the certificate can be used for.
| Constructor and Description |
|---|
ApplicationPolicy() |
| Modifier and Type | Method and Description |
|---|---|
ApplicationPolicy |
clone() |
boolean |
equals(Object obj) |
String |
getPolicyObjectIdentifier()
The object identifier (OID) of an application policy.
|
String |
getPolicyType()
The type of application policy
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setPolicyObjectIdentifier(String policyObjectIdentifier)
The object identifier (OID) of an application policy.
|
void |
setPolicyType(String policyType)
The type of application policy
|
String |
toString()
Returns a string representation of this object.
|
ApplicationPolicy |
withPolicyObjectIdentifier(String policyObjectIdentifier)
The object identifier (OID) of an application policy.
|
ApplicationPolicy |
withPolicyType(ApplicationPolicyType policyType)
The type of application policy
|
ApplicationPolicy |
withPolicyType(String policyType)
The type of application policy
|
public void setPolicyObjectIdentifier(String policyObjectIdentifier)
The object identifier (OID) of an application policy.
policyObjectIdentifier - The object identifier (OID) of an application policy.public String getPolicyObjectIdentifier()
The object identifier (OID) of an application policy.
public ApplicationPolicy withPolicyObjectIdentifier(String policyObjectIdentifier)
The object identifier (OID) of an application policy.
policyObjectIdentifier - The object identifier (OID) of an application policy.public void setPolicyType(String policyType)
The type of application policy
policyType - The type of application policyApplicationPolicyTypepublic String getPolicyType()
The type of application policy
ApplicationPolicyTypepublic ApplicationPolicy withPolicyType(String policyType)
The type of application policy
policyType - The type of application policyApplicationPolicyTypepublic ApplicationPolicy withPolicyType(ApplicationPolicyType policyType)
The type of application policy
policyType - The type of application policyApplicationPolicyTypepublic String toString()
toString in class ObjectObject.toString()public ApplicationPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.