public class Certificate extends Resource
| Modifier and Type | Method and Description |
|---|---|
static CertificateCreator |
creator(String pathFleetSid,
String certificateData)
Create a CertificateCreator to execute create.
|
static CertificateDeleter |
deleter(String pathFleetSid,
String pathSid)
Create a CertificateDeleter to execute delete.
|
boolean |
equals(Object o) |
static CertificateFetcher |
fetcher(String pathFleetSid,
String pathSid)
Create a CertificateFetcher to execute fetch.
|
static Certificate |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Certificate object using the provided
ObjectMapper.
|
static Certificate |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Certificate object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The The unique SID that identifies this Account..
|
org.joda.time.DateTime |
getDateCreated()
Returns The The date this Certificate was created..
|
org.joda.time.DateTime |
getDateUpdated()
Returns The The date this Certificate was updated..
|
String |
getDeviceSid()
Returns The The unique identifier of a mapped Device..
|
String |
getFleetSid()
Returns The The unique identifier of the Fleet..
|
String |
getFriendlyName()
Returns The A human readable description for this Certificate..
|
String |
getSid()
Returns The A string that uniquely identifies this Certificate..
|
String |
getThumbprint()
Returns The A Certificate unique payload hash..
|
URI |
getUrl()
Returns The URL of this Certificate..
|
int |
hashCode() |
static CertificateReader |
reader(String pathFleetSid)
Create a CertificateReader to execute read.
|
String |
toString() |
static CertificateUpdater |
updater(String pathFleetSid,
String pathSid)
Create a CertificateUpdater to execute update.
|
public static CertificateFetcher fetcher(String pathFleetSid, String pathSid)
pathFleetSid - The fleet_sidpathSid - A string that uniquely identifies the Certificate.public static CertificateDeleter deleter(String pathFleetSid, String pathSid)
pathFleetSid - The fleet_sidpathSid - A string that uniquely identifies the Certificate.public static CertificateCreator creator(String pathFleetSid, String certificateData)
pathFleetSid - The fleet_sidcertificateData - The public certificate data.public static CertificateReader reader(String pathFleetSid)
pathFleetSid - The fleet_sidpublic static CertificateUpdater updater(String pathFleetSid, String pathSid)
pathFleetSid - The fleet_sidpathSid - A string that uniquely identifies the Certificate.public static Certificate fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON StringobjectMapper - Jackson ObjectMapperpublic static Certificate fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json - Raw JSON InputStreamobjectMapper - Jackson ObjectMapperpublic final String getSid()
public final URI getUrl()
public final String getFriendlyName()
public final String getFleetSid()
public final String getAccountSid()
public final String getDeviceSid()
public final String getThumbprint()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
Copyright © 2016 Twilio, Inc. All Rights Reserved.