@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 policyApplicationPolicyType
public String getPolicyType()
The type of application policy
ApplicationPolicyType
public ApplicationPolicy withPolicyType(String policyType)
The type of application policy
policyType
- The type of application policyApplicationPolicyType
public ApplicationPolicy withPolicyType(ApplicationPolicyType policyType)
The type of application policy
policyType
- The type of application policyApplicationPolicyType
public String toString()
toString
in class Object
Object.toString()
public ApplicationPolicy clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.