@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CustomExtension extends Object implements Serializable, Cloneable, StructuredPojo
Specifies the X.509 extension information for a certificate.
Extensions present in CustomExtensions
follow the ApiPassthrough
template rules.
Constructor and Description |
---|
CustomExtension() |
Modifier and Type | Method and Description |
---|---|
CustomExtension |
clone() |
boolean |
equals(Object obj) |
Boolean |
getCritical()
|
String |
getObjectIdentifier()
|
String |
getValue()
|
int |
hashCode() |
Boolean |
isCritical()
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCritical(Boolean critical)
|
void |
setObjectIdentifier(String objectIdentifier)
|
void |
setValue(String value)
|
String |
toString()
Returns a string representation of this object.
|
CustomExtension |
withCritical(Boolean critical)
|
CustomExtension |
withObjectIdentifier(String objectIdentifier)
|
CustomExtension |
withValue(String value)
|
public void setObjectIdentifier(String objectIdentifier)
Specifies the object identifier (OID) of the X.509 extension. For more information, see the Global OID reference database.
objectIdentifier
- Specifies the object identifier (OID) of the X.509 extension. For more information, see the Global OID reference database.
public String getObjectIdentifier()
Specifies the object identifier (OID) of the X.509 extension. For more information, see the Global OID reference database.
Specifies the object identifier (OID) of the X.509 extension. For more information, see the Global OID reference database.
public CustomExtension withObjectIdentifier(String objectIdentifier)
Specifies the object identifier (OID) of the X.509 extension. For more information, see the Global OID reference database.
objectIdentifier
- Specifies the object identifier (OID) of the X.509 extension. For more information, see the Global OID reference database.
public void setValue(String value)
Specifies the base64-encoded value of the X.509 extension.
value
- Specifies the base64-encoded value of the X.509 extension.
public String getValue()
Specifies the base64-encoded value of the X.509 extension.
Specifies the base64-encoded value of the X.509 extension.
public CustomExtension withValue(String value)
Specifies the base64-encoded value of the X.509 extension.
value
- Specifies the base64-encoded value of the X.509 extension.
public void setCritical(Boolean critical)
Specifies the critical flag of the X.509 extension.
critical
- Specifies the critical flag of the X.509 extension.
public Boolean getCritical()
Specifies the critical flag of the X.509 extension.
Specifies the critical flag of the X.509 extension.
public CustomExtension withCritical(Boolean critical)
Specifies the critical flag of the X.509 extension.
critical
- Specifies the critical flag of the X.509 extension.
public Boolean isCritical()
Specifies the critical flag of the X.509 extension.
Specifies the critical flag of the X.509 extension.
public String toString()
toString
in class Object
Object.toString()
public CustomExtension clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.