Class Aws
- java.lang.Object
-
- com.twilio.base.Resource
-
- com.twilio.rest.accounts.v1.credential.Aws
-
- All Implemented Interfaces:
Serializable
public class Aws extends Resource
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static AwsCreator
creator(String credentials)
static AwsDeleter
deleter(String pathSid)
boolean
equals(Object o)
static AwsFetcher
fetcher(String pathSid)
static Aws
fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Aws object using the provided ObjectMapper.static Aws
fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Aws object using the provided ObjectMapper.String
getAccountSid()
ZonedDateTime
getDateCreated()
ZonedDateTime
getDateUpdated()
String
getFriendlyName()
String
getSid()
URI
getUrl()
int
hashCode()
static AwsReader
reader()
static AwsUpdater
updater(String pathSid)
-
-
-
Method Detail
-
creator
public static AwsCreator creator(String credentials)
-
deleter
public static AwsDeleter deleter(String pathSid)
-
fetcher
public static AwsFetcher fetcher(String pathSid)
-
reader
public static AwsReader reader()
-
updater
public static AwsUpdater updater(String pathSid)
-
fromJson
public static Aws fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a Aws object using the provided ObjectMapper.- Parameters:
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapper- Returns:
- Aws object represented by the provided JSON
-
fromJson
public static Aws fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a Aws object using the provided ObjectMapper.- Parameters:
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapper- Returns:
- Aws object represented by the provided JSON
-
getSid
public final String getSid()
-
getAccountSid
public final String getAccountSid()
-
getFriendlyName
public final String getFriendlyName()
-
getDateCreated
public final ZonedDateTime getDateCreated()
-
getDateUpdated
public final ZonedDateTime getDateUpdated()
-
getUrl
public final URI getUrl()
-
-