@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class PolicyInformation extends Object implements Serializable, Cloneable, StructuredPojo
Defines the X.509 CertificatePolicies extension.
| Constructor and Description |
|---|
PolicyInformation() |
| Modifier and Type | Method and Description |
|---|---|
PolicyInformation |
clone() |
boolean |
equals(Object obj) |
String |
getCertPolicyId()
Specifies the object identifier (OID) of the certificate policy under which the certificate was issued.
|
List<PolicyQualifierInfo> |
getPolicyQualifiers()
Modifies the given
CertPolicyId with a qualifier. |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setCertPolicyId(String certPolicyId)
Specifies the object identifier (OID) of the certificate policy under which the certificate was issued.
|
void |
setPolicyQualifiers(Collection<PolicyQualifierInfo> policyQualifiers)
Modifies the given
CertPolicyId with a qualifier. |
String |
toString()
Returns a string representation of this object.
|
PolicyInformation |
withCertPolicyId(String certPolicyId)
Specifies the object identifier (OID) of the certificate policy under which the certificate was issued.
|
PolicyInformation |
withPolicyQualifiers(Collection<PolicyQualifierInfo> policyQualifiers)
Modifies the given
CertPolicyId with a qualifier. |
PolicyInformation |
withPolicyQualifiers(PolicyQualifierInfo... policyQualifiers)
Modifies the given
CertPolicyId with a qualifier. |
public void setCertPolicyId(String certPolicyId)
Specifies the object identifier (OID) of the certificate policy under which the certificate was issued. For more information, see NIST's definition of Object Identifier (OID).
certPolicyId - Specifies the object identifier (OID) of the certificate policy under which the certificate was issued.
For more information, see NIST's definition of Object Identifier (OID).public String getCertPolicyId()
Specifies the object identifier (OID) of the certificate policy under which the certificate was issued. For more information, see NIST's definition of Object Identifier (OID).
public PolicyInformation withCertPolicyId(String certPolicyId)
Specifies the object identifier (OID) of the certificate policy under which the certificate was issued. For more information, see NIST's definition of Object Identifier (OID).
certPolicyId - Specifies the object identifier (OID) of the certificate policy under which the certificate was issued.
For more information, see NIST's definition of Object Identifier (OID).public List<PolicyQualifierInfo> getPolicyQualifiers()
Modifies the given CertPolicyId with a qualifier. Amazon Web Services Private CA supports the
certification practice statement (CPS) qualifier.
CertPolicyId with a qualifier. Amazon Web Services Private CA supports
the certification practice statement (CPS) qualifier.public void setPolicyQualifiers(Collection<PolicyQualifierInfo> policyQualifiers)
Modifies the given CertPolicyId with a qualifier. Amazon Web Services Private CA supports the
certification practice statement (CPS) qualifier.
policyQualifiers - Modifies the given CertPolicyId with a qualifier. Amazon Web Services Private CA supports the
certification practice statement (CPS) qualifier.public PolicyInformation withPolicyQualifiers(PolicyQualifierInfo... policyQualifiers)
Modifies the given CertPolicyId with a qualifier. Amazon Web Services Private CA supports the
certification practice statement (CPS) qualifier.
NOTE: This method appends the values to the existing list (if any). Use
setPolicyQualifiers(java.util.Collection) or withPolicyQualifiers(java.util.Collection) if you
want to override the existing values.
policyQualifiers - Modifies the given CertPolicyId with a qualifier. Amazon Web Services Private CA supports the
certification practice statement (CPS) qualifier.public PolicyInformation withPolicyQualifiers(Collection<PolicyQualifierInfo> policyQualifiers)
Modifies the given CertPolicyId with a qualifier. Amazon Web Services Private CA supports the
certification practice statement (CPS) qualifier.
policyQualifiers - Modifies the given CertPolicyId with a qualifier. Amazon Web Services Private CA supports the
certification practice statement (CPS) qualifier.public String toString()
toString in class ObjectObject.toString()public PolicyInformation clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.