@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RegisterCertificateRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The input to the RegisterCertificate operation.
NOOP
Constructor and Description |
---|
RegisterCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
RegisterCertificateRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getCaCertificatePem()
The CA certificate used to sign the device certificate being registered.
|
String |
getCertificatePem()
The certificate data, in PEM format.
|
Boolean |
getSetAsActive()
Deprecated.
|
String |
getStatus()
The status of the register certificate request.
|
int |
hashCode() |
Boolean |
isSetAsActive()
Deprecated.
|
void |
setCaCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
|
void |
setCertificatePem(String certificatePem)
The certificate data, in PEM format.
|
void |
setSetAsActive(Boolean setAsActive)
Deprecated.
|
void |
setStatus(CertificateStatus status)
The status of the register certificate request.
|
void |
setStatus(String status)
The status of the register certificate request.
|
String |
toString()
Returns a string representation of this object.
|
RegisterCertificateRequest |
withCaCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
|
RegisterCertificateRequest |
withCertificatePem(String certificatePem)
The certificate data, in PEM format.
|
RegisterCertificateRequest |
withSetAsActive(Boolean setAsActive)
Deprecated.
|
RegisterCertificateRequest |
withStatus(CertificateStatus status)
The status of the register certificate request.
|
RegisterCertificateRequest |
withStatus(String status)
The status of the register certificate request.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setCertificatePem(String certificatePem)
The certificate data, in PEM format.
certificatePem
- The certificate data, in PEM format.public String getCertificatePem()
The certificate data, in PEM format.
public RegisterCertificateRequest withCertificatePem(String certificatePem)
The certificate data, in PEM format.
certificatePem
- The certificate data, in PEM format.public void setCaCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
caCertificatePem
- The CA certificate used to sign the device certificate being registered.public String getCaCertificatePem()
The CA certificate used to sign the device certificate being registered.
public RegisterCertificateRequest withCaCertificatePem(String caCertificatePem)
The CA certificate used to sign the device certificate being registered.
caCertificatePem
- The CA certificate used to sign the device certificate being registered.@Deprecated public void setSetAsActive(Boolean setAsActive)
A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
setAsActive
- A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
@Deprecated public Boolean getSetAsActive()
A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
Valid values: ACTIVE | INACTIVE
@Deprecated public RegisterCertificateRequest withSetAsActive(Boolean setAsActive)
A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
setAsActive
- A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
@Deprecated public Boolean isSetAsActive()
A boolean value that specifies if the certificate is set to active.
Valid values: ACTIVE | INACTIVE
Valid values: ACTIVE | INACTIVE
public void setStatus(String status)
The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.
status
- The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.CertificateStatus
public String getStatus()
The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.
ACTIVE
, INACTIVE
, and REVOKED
.CertificateStatus
public RegisterCertificateRequest withStatus(String status)
The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.
status
- The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.CertificateStatus
public void setStatus(CertificateStatus status)
The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.
status
- The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.CertificateStatus
public RegisterCertificateRequest withStatus(CertificateStatus status)
The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.
status
- The status of the register certificate request. Valid values that you can use include ACTIVE
,
INACTIVE
, and REVOKED
.CertificateStatus
public String toString()
toString
in class Object
Object.toString()
public RegisterCertificateRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()