public class Aws extends Resource
Modifier and Type | Method and Description |
---|---|
static AwsCreator |
creator(String credentials)
Create a AwsCreator to execute create.
|
static AwsDeleter |
deleter(String pathSid)
Create a AwsDeleter to execute delete.
|
boolean |
equals(Object o) |
static AwsFetcher |
fetcher(String pathSid)
Create a AwsFetcher to execute fetch.
|
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()
Returns The SID of the Account that created the resource.
|
org.joda.time.DateTime |
getDateCreated()
Returns The RFC 2822 date and time in GMT when the resource was created.
|
org.joda.time.DateTime |
getDateUpdated()
Returns The RFC 2822 date and time in GMT when the resource was last updated.
|
String |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
String |
getSid()
Returns The unique string that identifies the resource.
|
URI |
getUrl()
Returns The URI for this resource, relative to `https://accounts.twilio.com`.
|
int |
hashCode() |
static AwsReader |
reader()
Create a AwsReader to execute read.
|
String |
toString() |
static AwsUpdater |
updater(String pathSid)
Create a AwsUpdater to execute update.
|
public static AwsReader reader()
public static AwsCreator creator(String credentials)
credentials
- A string that contains the AWS access credentials in the
format
<AWS_ACCESS_KEY_ID>:<AWS_SECRET_ACCESS_KEY>public static AwsFetcher fetcher(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static AwsUpdater updater(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static AwsDeleter deleter(String pathSid)
pathSid
- The unique string that identifies the resourcepublic static Aws fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static Aws fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getSid()
public final String getAccountSid()
public final String getFriendlyName()
public final org.joda.time.DateTime getDateCreated()
public final org.joda.time.DateTime getDateUpdated()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.