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 AwsCreatorcreator(String credentials)static AwsDeleterdeleter(String pathSid)booleanequals(Object o)static AwsFetcherfetcher(String pathSid)static AwsfromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON InputStream into a Aws object using the provided ObjectMapper.static AwsfromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)Converts a JSON String into a Aws object using the provided ObjectMapper.StringgetAccountSid()ZonedDateTimegetDateCreated()ZonedDateTimegetDateUpdated()StringgetFriendlyName()StringgetSid()URIgetUrl()inthashCode()static AwsReaderreader()static AwsUpdaterupdater(String pathSid)
-
-
-
Method Detail
-
creator
public static AwsCreator creator(String credentials)
-
fetcher
public static AwsFetcher fetcher(String pathSid)
-
deleter
public static AwsDeleter deleter(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()
-
-