public class CompositionSettings extends Resource
Modifier and Type | Method and Description |
---|---|
static CompositionSettingsCreator |
creator(String friendlyName)
Create a CompositionSettingsCreator to execute create.
|
boolean |
equals(Object o) |
static CompositionSettingsFetcher |
fetcher()
Create a CompositionSettingsFetcher to execute fetch.
|
static CompositionSettings |
fromJson(InputStream json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON InputStream into a CompositionSettings object using the
provided ObjectMapper.
|
static CompositionSettings |
fromJson(String json,
com.fasterxml.jackson.databind.ObjectMapper objectMapper)
Converts a JSON String into a CompositionSettings object using the provided
ObjectMapper.
|
String |
getAccountSid()
Returns The SID of the Account that created the resource.
|
String |
getAwsCredentialsSid()
Returns The SID of the stored Credential resource.
|
URI |
getAwsS3Url()
Returns The URL of the AWS S3 bucket where the compositions are stored.
|
Boolean |
getAwsStorageEnabled()
Returns Whether all compositions are written to the aws_s3_url.
|
Boolean |
getEncryptionEnabled()
Returns Whether all compositions are stored in an encrypted form.
|
String |
getEncryptionKeySid()
Returns The SID of the Public Key resource used for encryption.
|
String |
getFriendlyName()
Returns The string that you assigned to describe the resource.
|
URI |
getUrl()
Returns The absolute URL of the resource.
|
int |
hashCode() |
public static CompositionSettingsFetcher fetcher()
public static CompositionSettingsCreator creator(String friendlyName)
friendlyName
- A descriptive string that you create to describe the
resourcepublic static CompositionSettings fromJson(String json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON StringobjectMapper
- Jackson ObjectMapperpublic static CompositionSettings fromJson(InputStream json, com.fasterxml.jackson.databind.ObjectMapper objectMapper)
json
- Raw JSON InputStreamobjectMapper
- Jackson ObjectMapperpublic final String getAccountSid()
public final String getFriendlyName()
public final String getAwsCredentialsSid()
public final URI getAwsS3Url()
public final Boolean getAwsStorageEnabled()
public final String getEncryptionKeySid()
public final Boolean getEncryptionEnabled()
public final URI getUrl()
Copyright © 2019 Twilio, Inc. All Rights Reserved.