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 StringAPPLICATION_MODEL_TYPEstatic CertificateUpdateVOID
-
Constructor Summary
Constructors Constructor Description CertificateUpdate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object rhs)StringgetApplicationModelType()Returns the named model type.List<String>getCaCertificates()List of CA certificates in pem format.StringgetCertificate()The certificate in pem format.StringgetPrivateKey()The private key in pem format.StringgetPublicKey()The public key in pem format.inthashCode()voidsetCaCertificates(List<String> caCertificates)List of CA certificates in pem format.voidsetCertificate(String certificate)The certificate in pem format.voidsetPrivateKey(String privateKey)The private key in pem format.voidsetPublicKey(String publicKey)The public key in pem format.CertificateUpdatewithCaCertificates(List<String> caCertificates)List of CA certificates in pem format.CertificateUpdatewithCertificate(String certificate)The certificate in pem format.CertificateUpdatewithPrivateKey(String privateKey)The private key in pem format.CertificateUpdatewithPublicKey(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:EventStreamJsonMessageReturns the named model type. May be used for a header.- Specified by:
getApplicationModelTypein interfaceEventStreamJsonMessage- Returns:
- the named model type
-
-