Class CertificateUpdate
- java.lang.Object
-
- software.amazon.awssdk.aws.greengrass.model.CertificateUpdate
-
- All Implemented Interfaces:
EventStreamJsonMessage
public class CertificateUpdate extends Object implements EventStreamJsonMessage
-
-
Field Summary
Fields Modifier and Type Field Description static String
APPLICATION_MODEL_TYPE
static CertificateUpdate
VOID
-
Constructor Summary
Constructors Constructor Description CertificateUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object rhs)
String
getApplicationModelType()
Returns the named model type.List<String>
getCaCertificates()
List of CA certificates in pem format.String
getCertificate()
The certificate in pem format.String
getPrivateKey()
The private key in pem format.String
getPublicKey()
The public key in pem format.int
hashCode()
void
setCaCertificates(List<String> caCertificates)
List of CA certificates in pem format.void
setCertificate(String certificate)
The certificate in pem format.void
setPrivateKey(String privateKey)
The private key in pem format.void
setPublicKey(String publicKey)
The public key in pem format.CertificateUpdate
withCaCertificates(List<String> caCertificates)
List of CA certificates in pem format.CertificateUpdate
withCertificate(String certificate)
The certificate in pem format.CertificateUpdate
withPrivateKey(String privateKey)
The private key in pem format.CertificateUpdate
withPublicKey(String publicKey)
The public key in pem format.-
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.eventstreamrpc.model.EventStreamJsonMessage
fromJson, isVoid, postFromJson, toPayload
-
-
-
-
Field Detail
-
APPLICATION_MODEL_TYPE
public static final String APPLICATION_MODEL_TYPE
- See Also:
- Constant Field Values
-
VOID
public static final CertificateUpdate VOID
-
-
Method Detail
-
getPrivateKey
public String getPrivateKey()
The private key in pem format.
-
setPrivateKey
public void setPrivateKey(String privateKey)
The private key in pem format.
-
withPrivateKey
public CertificateUpdate withPrivateKey(String privateKey)
The private key in pem format.
-
getPublicKey
public String getPublicKey()
The public key in pem format.
-
setPublicKey
public void setPublicKey(String publicKey)
The public key in pem format.
-
withPublicKey
public CertificateUpdate withPublicKey(String publicKey)
The public key in pem format.
-
getCertificate
public String getCertificate()
The certificate in pem format.
-
setCertificate
public void setCertificate(String certificate)
The certificate in pem format.
-
withCertificate
public CertificateUpdate withCertificate(String certificate)
The certificate in pem format.
-
setCaCertificates
public void setCaCertificates(List<String> caCertificates)
List of CA certificates in pem format.
-
withCaCertificates
public CertificateUpdate withCaCertificates(List<String> caCertificates)
List of CA certificates in pem format.
-
getApplicationModelType
public String getApplicationModelType()
Description copied from interface:EventStreamJsonMessage
Returns the named model type. May be used for a header.- Specified by:
getApplicationModelType
in interfaceEventStreamJsonMessage
- Returns:
- the named model type
-
-