public class PipelineOutputConfig extends Object implements Serializable, Cloneable
The PipelineOutputConfig structure.
| Constructor and Description |
|---|
PipelineOutputConfig() |
| Modifier and Type | Method and Description |
|---|---|
PipelineOutputConfig |
clone() |
boolean |
equals(Object obj) |
String |
getBucket()
The Amazon S3 bucket in which you want Elastic Transcoder to save the
transcoded files.
|
List<Permission> |
getPermissions()
Optional.
|
String |
getStorageClass()
The Amazon S3 storage class,
Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket. |
int |
hashCode() |
void |
setBucket(String bucket)
The Amazon S3 bucket in which you want Elastic Transcoder to save the
transcoded files.
|
void |
setPermissions(Collection<Permission> permissions)
Optional.
|
void |
setStorageClass(String storageClass)
The Amazon S3 storage class,
Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket. |
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
PipelineOutputConfig |
withBucket(String bucket)
The Amazon S3 bucket in which you want Elastic Transcoder to save the
transcoded files.
|
PipelineOutputConfig |
withPermissions(Collection<Permission> permissions)
Optional.
|
PipelineOutputConfig |
withPermissions(Permission... permissions)
Optional.
|
PipelineOutputConfig |
withStorageClass(String storageClass)
The Amazon S3 storage class,
Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket. |
public String getBucket()
ContentConfig
and ThumbnailConfig instead.
Constraints:
Pattern: ^(\w|\.|-){1,255}$
ContentConfig
and ThumbnailConfig instead.public void setBucket(String bucket)
ContentConfig
and ThumbnailConfig instead.
Constraints:
Pattern: ^(\w|\.|-){1,255}$
bucket - The Amazon S3 bucket in which you want Elastic Transcoder to save the
transcoded files. Specify this value when all of the following are
true: ContentConfig
and ThumbnailConfig instead.public PipelineOutputConfig withBucket(String bucket)
ContentConfig
and ThumbnailConfig instead.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: ^(\w|\.|-){1,255}$
bucket - The Amazon S3 bucket in which you want Elastic Transcoder to save the
transcoded files. Specify this value when all of the following are
true: ContentConfig
and ThumbnailConfig instead.public String getStorageClass()
Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket.
Constraints:
Pattern: (^ReducedRedundancy$)|(^Standard$)
Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket.public void setStorageClass(String storageClass)
Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket.
Constraints:
Pattern: (^ReducedRedundancy$)|(^Standard$)
storageClass - The Amazon S3 storage class, Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket.public PipelineOutputConfig withStorageClass(String storageClass)
Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Pattern: (^ReducedRedundancy$)|(^Standard$)
storageClass - The Amazon S3 storage class, Standard or
ReducedRedundancy, that you want Elastic Transcoder to
assign to the video files and playlists that it stores in your Amazon
S3 bucket.public List<Permission> getPermissions()
Permissions object specifies which users
and/or predefined Amazon S3 groups you want to have access to
transcoded files and playlists, and the type of access you want them
to have. You can grant permissions to a maximum of 30 users and/or
predefined Amazon S3 groups. If you include
Permissions, Elastic Transcoder grants only the
permissions that you specify. It does not grant full permissions to
the owner of the role specified by Role. If you want that
user to have full control, you must explicitly grant full control to
the user.
If you omit Permissions, Elastic Transcoder
grants full control over the transcoded files and playlists to the
owner of the role specified by Role, and grants no other
permissions to any other user or group.
Constraints:
Length: 0 - 30
Permissions object specifies which users
and/or predefined Amazon S3 groups you want to have access to
transcoded files and playlists, and the type of access you want them
to have. You can grant permissions to a maximum of 30 users and/or
predefined Amazon S3 groups. If you include
Permissions, Elastic Transcoder grants only the
permissions that you specify. It does not grant full permissions to
the owner of the role specified by Role. If you want that
user to have full control, you must explicitly grant full control to
the user.
If you omit Permissions, Elastic Transcoder
grants full control over the transcoded files and playlists to the
owner of the role specified by Role, and grants no other
permissions to any other user or group.
public void setPermissions(Collection<Permission> permissions)
Permissions object specifies which users
and/or predefined Amazon S3 groups you want to have access to
transcoded files and playlists, and the type of access you want them
to have. You can grant permissions to a maximum of 30 users and/or
predefined Amazon S3 groups. If you include
Permissions, Elastic Transcoder grants only the
permissions that you specify. It does not grant full permissions to
the owner of the role specified by Role. If you want that
user to have full control, you must explicitly grant full control to
the user.
If you omit Permissions, Elastic Transcoder
grants full control over the transcoded files and playlists to the
owner of the role specified by Role, and grants no other
permissions to any other user or group.
Constraints:
Length: 0 - 30
permissions - Optional. The Permissions object specifies which users
and/or predefined Amazon S3 groups you want to have access to
transcoded files and playlists, and the type of access you want them
to have. You can grant permissions to a maximum of 30 users and/or
predefined Amazon S3 groups. If you include
Permissions, Elastic Transcoder grants only the
permissions that you specify. It does not grant full permissions to
the owner of the role specified by Role. If you want that
user to have full control, you must explicitly grant full control to
the user.
If you omit Permissions, Elastic Transcoder
grants full control over the transcoded files and playlists to the
owner of the role specified by Role, and grants no other
permissions to any other user or group.
public PipelineOutputConfig withPermissions(Permission... permissions)
Permissions object specifies which users
and/or predefined Amazon S3 groups you want to have access to
transcoded files and playlists, and the type of access you want them
to have. You can grant permissions to a maximum of 30 users and/or
predefined Amazon S3 groups. If you include
Permissions, Elastic Transcoder grants only the
permissions that you specify. It does not grant full permissions to
the owner of the role specified by Role. If you want that
user to have full control, you must explicitly grant full control to
the user.
If you omit Permissions, Elastic Transcoder
grants full control over the transcoded files and playlists to the
owner of the role specified by Role, and grants no other
permissions to any other user or group.
NOTE: This method appends the values to the existing list (if
any). Use setPermissions(java.util.Collection) or withPermissions(java.util.Collection) if you want to override the
existing values.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 30
permissions - Optional. The Permissions object specifies which users
and/or predefined Amazon S3 groups you want to have access to
transcoded files and playlists, and the type of access you want them
to have. You can grant permissions to a maximum of 30 users and/or
predefined Amazon S3 groups. If you include
Permissions, Elastic Transcoder grants only the
permissions that you specify. It does not grant full permissions to
the owner of the role specified by Role. If you want that
user to have full control, you must explicitly grant full control to
the user.
If you omit Permissions, Elastic Transcoder
grants full control over the transcoded files and playlists to the
owner of the role specified by Role, and grants no other
permissions to any other user or group.
public PipelineOutputConfig withPermissions(Collection<Permission> permissions)
Permissions object specifies which users
and/or predefined Amazon S3 groups you want to have access to
transcoded files and playlists, and the type of access you want them
to have. You can grant permissions to a maximum of 30 users and/or
predefined Amazon S3 groups. If you include
Permissions, Elastic Transcoder grants only the
permissions that you specify. It does not grant full permissions to
the owner of the role specified by Role. If you want that
user to have full control, you must explicitly grant full control to
the user.
If you omit Permissions, Elastic Transcoder
grants full control over the transcoded files and playlists to the
owner of the role specified by Role, and grants no other
permissions to any other user or group.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 30
permissions - Optional. The Permissions object specifies which users
and/or predefined Amazon S3 groups you want to have access to
transcoded files and playlists, and the type of access you want them
to have. You can grant permissions to a maximum of 30 users and/or
predefined Amazon S3 groups. If you include
Permissions, Elastic Transcoder grants only the
permissions that you specify. It does not grant full permissions to
the owner of the role specified by Role. If you want that
user to have full control, you must explicitly grant full control to
the user.
If you omit Permissions, Elastic Transcoder
grants full control over the transcoded files and playlists to the
owner of the role specified by Role, and grants no other
permissions to any other user or group.
public String toString()
toString in class ObjectObject.toString()public PipelineOutputConfig clone()
Copyright © 2015. All rights reserved.