Did this page help you?

   Yes   No   Tell us about it...

com.amazonaws.services.elastictranscoder.model
Class Preset

java.lang.Object
  extended by com.amazonaws.services.elastictranscoder.model.Preset
All Implemented Interfaces:
Serializable

public class Preset
extends Object
implements Serializable

See Also:
Serialized Form

Constructor Summary
Preset()
           
 
Method Summary
 boolean equals(Object obj)
           
 AudioParameters getAudio()
          A section of the response body that provides information about the audio preset values.
 String getContainer()
          The container type for the output file.
 String getDescription()
          A description of the preset.
 String getId()
          Identifier for the new preset.
 String getName()
          The name of the preset.
 Thumbnails getThumbnails()
          A section of the response body that provides information about the thumbnail preset values, if any.
 String getType()
          Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).
 VideoParameters getVideo()
          A section of the response body that provides information about the video preset values.
 int hashCode()
           
 void setAudio(AudioParameters audio)
          A section of the response body that provides information about the audio preset values.
 void setContainer(String container)
          The container type for the output file.
 void setDescription(String description)
          A description of the preset.
 void setId(String id)
          Identifier for the new preset.
 void setName(String name)
          The name of the preset.
 void setThumbnails(Thumbnails thumbnails)
          A section of the response body that provides information about the thumbnail preset values, if any.
 void setType(String type)
          Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).
 void setVideo(VideoParameters video)
          A section of the response body that provides information about the video preset values.
 String toString()
          Returns a string representation of this object; useful for testing and debugging.
 Preset withAudio(AudioParameters audio)
          A section of the response body that provides information about the audio preset values.
 Preset withContainer(String container)
          The container type for the output file.
 Preset withDescription(String description)
          A description of the preset.
 Preset withId(String id)
          Identifier for the new preset.
 Preset withName(String name)
          The name of the preset.
 Preset withThumbnails(Thumbnails thumbnails)
          A section of the response body that provides information about the thumbnail preset values, if any.
 Preset withType(String type)
          Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).
 Preset withVideo(VideoParameters video)
          A section of the response body that provides information about the video preset values.
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Preset

public Preset()
Method Detail

getId

public String getId()
Identifier for the new preset. You use this value to get settings for the preset or to delete it.

Constraints:
Pattern: ^\d{13}-\w{6}$

Returns:
Identifier for the new preset. You use this value to get settings for the preset or to delete it.

setId

public void setId(String id)
Identifier for the new preset. You use this value to get settings for the preset or to delete it.

Constraints:
Pattern: ^\d{13}-\w{6}$

Parameters:
id - Identifier for the new preset. You use this value to get settings for the preset or to delete it.

withId

public Preset withId(String id)
Identifier for the new preset. You use this value to get settings for the preset or to delete it.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: ^\d{13}-\w{6}$

Parameters:
id - Identifier for the new preset. You use this value to get settings for the preset or to delete it.
Returns:
A reference to this updated object so that method calls can be chained together.

getName

public String getName()
The name of the preset.

Constraints:
Length: 1 - 40

Returns:
The name of the preset.

setName

public void setName(String name)
The name of the preset.

Constraints:
Length: 1 - 40

Parameters:
name - The name of the preset.

withName

public Preset withName(String name)
The name of the preset.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 1 - 40

Parameters:
name - The name of the preset.
Returns:
A reference to this updated object so that method calls can be chained together.

getDescription

public String getDescription()
A description of the preset.

Constraints:
Length: 0 - 255

Returns:
A description of the preset.

setDescription

public void setDescription(String description)
A description of the preset.

Constraints:
Length: 0 - 255

Parameters:
description - A description of the preset.

withDescription

public Preset withDescription(String description)
A description of the preset.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Length: 0 - 255

Parameters:
description - A description of the preset.
Returns:
A reference to this updated object so that method calls can be chained together.

getContainer

public String getContainer()
The container type for the output file. This value must be mp4.

Constraints:
Pattern: (^mp4$)|(^ts$)|(^webm$)

Returns:
The container type for the output file. This value must be mp4.

setContainer

public void setContainer(String container)
The container type for the output file. This value must be mp4.

Constraints:
Pattern: (^mp4$)|(^ts$)|(^webm$)

Parameters:
container - The container type for the output file. This value must be mp4.

withContainer

public Preset withContainer(String container)
The container type for the output file. This value must be mp4.

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^mp4$)|(^ts$)|(^webm$)

Parameters:
container - The container type for the output file. This value must be mp4.
Returns:
A reference to this updated object so that method calls can be chained together.

getAudio

public AudioParameters getAudio()
A section of the response body that provides information about the audio preset values.

Returns:
A section of the response body that provides information about the audio preset values.

setAudio

public void setAudio(AudioParameters audio)
A section of the response body that provides information about the audio preset values.

Parameters:
audio - A section of the response body that provides information about the audio preset values.

withAudio

public Preset withAudio(AudioParameters audio)
A section of the response body that provides information about the audio preset values.

Returns a reference to this object so that method calls can be chained together.

Parameters:
audio - A section of the response body that provides information about the audio preset values.
Returns:
A reference to this updated object so that method calls can be chained together.

getVideo

public VideoParameters getVideo()
A section of the response body that provides information about the video preset values.

Returns:
A section of the response body that provides information about the video preset values.

setVideo

public void setVideo(VideoParameters video)
A section of the response body that provides information about the video preset values.

Parameters:
video - A section of the response body that provides information about the video preset values.

withVideo

public Preset withVideo(VideoParameters video)
A section of the response body that provides information about the video preset values.

Returns a reference to this object so that method calls can be chained together.

Parameters:
video - A section of the response body that provides information about the video preset values.
Returns:
A reference to this updated object so that method calls can be chained together.

getThumbnails

public Thumbnails getThumbnails()
A section of the response body that provides information about the thumbnail preset values, if any.

Returns:
A section of the response body that provides information about the thumbnail preset values, if any.

setThumbnails

public void setThumbnails(Thumbnails thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.

Parameters:
thumbnails - A section of the response body that provides information about the thumbnail preset values, if any.

withThumbnails

public Preset withThumbnails(Thumbnails thumbnails)
A section of the response body that provides information about the thumbnail preset values, if any.

Returns a reference to this object so that method calls can be chained together.

Parameters:
thumbnails - A section of the response body that provides information about the thumbnail preset values, if any.
Returns:
A reference to this updated object so that method calls can be chained together.

getType

public String getType()
Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

Constraints:
Pattern: (^System$)|(^Custom$)

Returns:
Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

setType

public void setType(String type)
Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

Constraints:
Pattern: (^System$)|(^Custom$)

Parameters:
type - Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

withType

public Preset withType(String type)
Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).

Returns a reference to this object so that method calls can be chained together.

Constraints:
Pattern: (^System$)|(^Custom$)

Parameters:
type - Whether the preset is a default preset provided by Elastic Transcoder (System) or a preset that you have defined (Custom).
Returns:
A reference to this updated object so that method calls can be chained together.

toString

public String toString()
Returns a string representation of this object; useful for testing and debugging.

Overrides:
toString in class Object
Returns:
A string representation of this object.
See Also:
Object.toString()

hashCode

public int hashCode()
Overrides:
hashCode in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object


Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.