(inputChannelsFineTune);
}
/**
* Use this setting to specify your remix values when they have a decimal component, such as -10.312, 0.08, or 4.9.
* MediaConvert rounds your remixing values to the nearest thousandth.
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setInputChannelsFineTune(java.util.Collection)} or
* {@link #withInputChannelsFineTune(java.util.Collection)} if you want to override the existing values.
*
*
* @param inputChannelsFineTune
* Use this setting to specify your remix values when they have a decimal component, such as -10.312, 0.08,
* or 4.9. MediaConvert rounds your remixing values to the nearest thousandth.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public OutputChannelMapping withInputChannelsFineTune(Double... inputChannelsFineTune) {
if (this.inputChannelsFineTune == null) {
setInputChannelsFineTune(new java.util.ArrayList(inputChannelsFineTune.length));
}
for (Double ele : inputChannelsFineTune) {
this.inputChannelsFineTune.add(ele);
}
return this;
}
/**
* Use this setting to specify your remix values when they have a decimal component, such as -10.312, 0.08, or 4.9.
* MediaConvert rounds your remixing values to the nearest thousandth.
*
* @param inputChannelsFineTune
* Use this setting to specify your remix values when they have a decimal component, such as -10.312, 0.08,
* or 4.9. MediaConvert rounds your remixing values to the nearest thousandth.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public OutputChannelMapping withInputChannelsFineTune(java.util.Collection inputChannelsFineTune) {
setInputChannelsFineTune(inputChannelsFineTune);
return this;
}
/**
* Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be
* redacted from this string using a placeholder value.
*
* @return A string representation of this object.
*
* @see java.lang.Object#toString()
*/
@Override
public String toString() {
StringBuilder sb = new StringBuilder();
sb.append("{");
if (getInputChannels() != null)
sb.append("InputChannels: ").append(getInputChannels()).append(",");
if (getInputChannelsFineTune() != null)
sb.append("InputChannelsFineTune: ").append(getInputChannelsFineTune());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof OutputChannelMapping == false)
return false;
OutputChannelMapping other = (OutputChannelMapping) obj;
if (other.getInputChannels() == null ^ this.getInputChannels() == null)
return false;
if (other.getInputChannels() != null && other.getInputChannels().equals(this.getInputChannels()) == false)
return false;
if (other.getInputChannelsFineTune() == null ^ this.getInputChannelsFineTune() == null)
return false;
if (other.getInputChannelsFineTune() != null && other.getInputChannelsFineTune().equals(this.getInputChannelsFineTune()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getInputChannels() == null) ? 0 : getInputChannels().hashCode());
hashCode = prime * hashCode + ((getInputChannelsFineTune() == null) ? 0 : getInputChannelsFineTune().hashCode());
return hashCode;
}
@Override
public OutputChannelMapping clone() {
try {
return (OutputChannelMapping) super.clone();
} catch (CloneNotSupportedException e) {
throw new IllegalStateException("Got a CloneNotSupportedException from Object.clone() " + "even though we're Cloneable!", e);
}
}
@com.amazonaws.annotation.SdkInternalApi
@Override
public void marshall(ProtocolMarshaller protocolMarshaller) {
com.amazonaws.services.mediaconvert.model.transform.OutputChannelMappingMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}