public class CreatePresetResult extends Object implements Serializable, Cloneable
The CreatePresetResponse
structure.
Constructor and Description |
---|
CreatePresetResult() |
Modifier and Type | Method and Description |
---|---|
CreatePresetResult |
clone() |
boolean |
equals(Object obj) |
Preset |
getPreset()
A section of the response body that provides information about the preset
that is created.
|
String |
getWarning()
If the preset settings don't comply with the standards for the video
codec but Elastic Transcoder created the preset, this message explains
the reason the preset settings don't meet the standard.
|
int |
hashCode() |
void |
setPreset(Preset preset)
A section of the response body that provides information about the preset
that is created.
|
void |
setWarning(String warning)
If the preset settings don't comply with the standards for the video
codec but Elastic Transcoder created the preset, this message explains
the reason the preset settings don't meet the standard.
|
String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreatePresetResult |
withPreset(Preset preset)
A section of the response body that provides information about the preset
that is created.
|
CreatePresetResult |
withWarning(String warning)
If the preset settings don't comply with the standards for the video
codec but Elastic Transcoder created the preset, this message explains
the reason the preset settings don't meet the standard.
|
public void setPreset(Preset preset)
A section of the response body that provides information about the preset that is created.
preset
- A section of the response body that provides information about the
preset that is created.public Preset getPreset()
A section of the response body that provides information about the preset that is created.
public CreatePresetResult withPreset(Preset preset)
A section of the response body that provides information about the preset that is created.
preset
- A section of the response body that provides information about the
preset that is created.public void setWarning(String warning)
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.
warning
- If the preset settings don't comply with the standards for the
video codec but Elastic Transcoder created the preset, this
message explains the reason the preset settings don't meet the
standard. Elastic Transcoder created the preset because the
settings might produce acceptable output.public String getWarning()
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.
public CreatePresetResult withWarning(String warning)
If the preset settings don't comply with the standards for the video codec but Elastic Transcoder created the preset, this message explains the reason the preset settings don't meet the standard. Elastic Transcoder created the preset because the settings might produce acceptable output.
warning
- If the preset settings don't comply with the standards for the
video codec but Elastic Transcoder created the preset, this
message explains the reason the preset settings don't meet the
standard. Elastic Transcoder created the preset because the
settings might produce acceptable output.public String toString()
toString
in class Object
Object.toString()
public CreatePresetResult clone()
Copyright © 2016. All rights reserved.