java.lang.Object
com.amazonaws.services.elastictranscoder.model.Clip
All Implemented Interfaces:
Serializable, Cloneable

public class Clip extends Object implements Serializable, Cloneable

Settings for one clip in a composition. All jobs in a playlist must have the same clip settings.

See Also:
  • Constructor Details

    • Clip

      public Clip()
  • Method Details

    • setTimeSpan

      public void setTimeSpan(TimeSpan timeSpan)

      Settings that determine when a clip begins and how long it lasts.

      Parameters:
      timeSpan - Settings that determine when a clip begins and how long it lasts.
    • getTimeSpan

      public TimeSpan getTimeSpan()

      Settings that determine when a clip begins and how long it lasts.

      Returns:
      Settings that determine when a clip begins and how long it lasts.
    • withTimeSpan

      public Clip withTimeSpan(TimeSpan timeSpan)

      Settings that determine when a clip begins and how long it lasts.

      Parameters:
      timeSpan - Settings that determine when a clip begins and how long it lasts.
      Returns:
      Returns a reference to this 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:
    • equals

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

      public int hashCode()
      Overrides:
      hashCode in class Object
    • clone

      public Clip clone()
      Overrides:
      clone in class Object