public class CreateKeysAndCertificateRequest extends AmazonWebServiceRequest implements java.io.Serializable
Creates a 2048-bit RSA key pair and issues an X.509 certificate using the
issued public key. You can also call CreateKeysAndCertificate
over MQTT from a device, for more information, see Provisioning MQTT API.
Note This is the only time AWS IoT issues the private key for this certificate, so it is important to keep it in a secure location.
Constructor and Description |
---|
CreateKeysAndCertificateRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.Boolean |
getSetAsActive()
Specifies whether the certificate is active.
|
int |
hashCode() |
java.lang.Boolean |
isSetAsActive()
Specifies whether the certificate is active.
|
void |
setSetAsActive(java.lang.Boolean setAsActive)
Specifies whether the certificate is active.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateKeysAndCertificateRequest |
withSetAsActive(java.lang.Boolean setAsActive)
Specifies whether the certificate is active.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.Boolean isSetAsActive()
Specifies whether the certificate is active.
Specifies whether the certificate is active.
public java.lang.Boolean getSetAsActive()
Specifies whether the certificate is active.
Specifies whether the certificate is active.
public void setSetAsActive(java.lang.Boolean setAsActive)
Specifies whether the certificate is active.
setAsActive
- Specifies whether the certificate is active.
public CreateKeysAndCertificateRequest withSetAsActive(java.lang.Boolean setAsActive)
Specifies whether the certificate is active.
Returns a reference to this object so that method calls can be chained together.
setAsActive
- Specifies whether the certificate is active.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.