(outputGroups);
}
/**
* Contains one group of settings for each set of outputs that share a common package type. All unpackaged files
* (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in
* is a group of settings that apply to the whole group. This required object depends on the value you set for Type.
* Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS,
* HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings
* * CMAF_GROUP_SETTINGS, CmafGroupSettings
*
* NOTE: This method appends the values to the existing list (if any). Use
* {@link #setOutputGroups(java.util.Collection)} or {@link #withOutputGroups(java.util.Collection)} if you want to
* override the existing values.
*
*
* @param outputGroups
* Contains one group of settings for each set of outputs that share a common package type. All unpackaged
* files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well.
* Required in is a group of settings that apply to the whole group. This required object depends on the
* value you set for Type. Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS,
* FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings *
* MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobTemplateSettings withOutputGroups(OutputGroup... outputGroups) {
if (this.outputGroups == null) {
setOutputGroups(new java.util.ArrayList(outputGroups.length));
}
for (OutputGroup ele : outputGroups) {
this.outputGroups.add(ele);
}
return this;
}
/**
* Contains one group of settings for each set of outputs that share a common package type. All unpackaged files
* (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well. Required in
* is a group of settings that apply to the whole group. This required object depends on the value you set for Type.
* Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS, FileGroupSettings * HLS_GROUP_SETTINGS,
* HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings * MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings
* * CMAF_GROUP_SETTINGS, CmafGroupSettings
*
* @param outputGroups
* Contains one group of settings for each set of outputs that share a common package type. All unpackaged
* files (MPEG-4, MPEG-2 TS, Quicktime, MXF, and no container) are grouped in a single output group as well.
* Required in is a group of settings that apply to the whole group. This required object depends on the
* value you set for Type. Type, settings object pairs are as follows. * FILE_GROUP_SETTINGS,
* FileGroupSettings * HLS_GROUP_SETTINGS, HlsGroupSettings * DASH_ISO_GROUP_SETTINGS, DashIsoGroupSettings *
* MS_SMOOTH_GROUP_SETTINGS, MsSmoothGroupSettings * CMAF_GROUP_SETTINGS, CmafGroupSettings
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobTemplateSettings withOutputGroups(java.util.Collection outputGroups) {
setOutputGroups(outputGroups);
return this;
}
/**
* These settings control how the service handles timecodes throughout the job. These settings don't affect input
* clipping.
*
* @param timecodeConfig
* These settings control how the service handles timecodes throughout the job. These settings don't affect
* input clipping.
*/
public void setTimecodeConfig(TimecodeConfig timecodeConfig) {
this.timecodeConfig = timecodeConfig;
}
/**
* These settings control how the service handles timecodes throughout the job. These settings don't affect input
* clipping.
*
* @return These settings control how the service handles timecodes throughout the job. These settings don't affect
* input clipping.
*/
public TimecodeConfig getTimecodeConfig() {
return this.timecodeConfig;
}
/**
* These settings control how the service handles timecodes throughout the job. These settings don't affect input
* clipping.
*
* @param timecodeConfig
* These settings control how the service handles timecodes throughout the job. These settings don't affect
* input clipping.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobTemplateSettings withTimecodeConfig(TimecodeConfig timecodeConfig) {
setTimecodeConfig(timecodeConfig);
return this;
}
/**
* Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include
* this metadata, you must set ID3 metadata to Passthrough.
*
* @param timedMetadataInsertion
* Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to
* include this metadata, you must set ID3 metadata to Passthrough.
*/
public void setTimedMetadataInsertion(TimedMetadataInsertion timedMetadataInsertion) {
this.timedMetadataInsertion = timedMetadataInsertion;
}
/**
* Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include
* this metadata, you must set ID3 metadata to Passthrough.
*
* @return Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to
* include this metadata, you must set ID3 metadata to Passthrough.
*/
public TimedMetadataInsertion getTimedMetadataInsertion() {
return this.timedMetadataInsertion;
}
/**
* Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to include
* this metadata, you must set ID3 metadata to Passthrough.
*
* @param timedMetadataInsertion
* Insert user-defined custom ID3 metadata at timecodes that you specify. In each output that you want to
* include this metadata, you must set ID3 metadata to Passthrough.
* @return Returns a reference to this object so that method calls can be chained together.
*/
public JobTemplateSettings withTimedMetadataInsertion(TimedMetadataInsertion timedMetadataInsertion) {
setTimedMetadataInsertion(timedMetadataInsertion);
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 (getAdAvailOffset() != null)
sb.append("AdAvailOffset: ").append(getAdAvailOffset()).append(",");
if (getAvailBlanking() != null)
sb.append("AvailBlanking: ").append(getAvailBlanking()).append(",");
if (getEsam() != null)
sb.append("Esam: ").append(getEsam()).append(",");
if (getExtendedDataServices() != null)
sb.append("ExtendedDataServices: ").append(getExtendedDataServices()).append(",");
if (getInputs() != null)
sb.append("Inputs: ").append(getInputs()).append(",");
if (getKantarWatermark() != null)
sb.append("KantarWatermark: ").append(getKantarWatermark()).append(",");
if (getMotionImageInserter() != null)
sb.append("MotionImageInserter: ").append(getMotionImageInserter()).append(",");
if (getNielsenConfiguration() != null)
sb.append("NielsenConfiguration: ").append(getNielsenConfiguration()).append(",");
if (getNielsenNonLinearWatermark() != null)
sb.append("NielsenNonLinearWatermark: ").append(getNielsenNonLinearWatermark()).append(",");
if (getOutputGroups() != null)
sb.append("OutputGroups: ").append(getOutputGroups()).append(",");
if (getTimecodeConfig() != null)
sb.append("TimecodeConfig: ").append(getTimecodeConfig()).append(",");
if (getTimedMetadataInsertion() != null)
sb.append("TimedMetadataInsertion: ").append(getTimedMetadataInsertion());
sb.append("}");
return sb.toString();
}
@Override
public boolean equals(Object obj) {
if (this == obj)
return true;
if (obj == null)
return false;
if (obj instanceof JobTemplateSettings == false)
return false;
JobTemplateSettings other = (JobTemplateSettings) obj;
if (other.getAdAvailOffset() == null ^ this.getAdAvailOffset() == null)
return false;
if (other.getAdAvailOffset() != null && other.getAdAvailOffset().equals(this.getAdAvailOffset()) == false)
return false;
if (other.getAvailBlanking() == null ^ this.getAvailBlanking() == null)
return false;
if (other.getAvailBlanking() != null && other.getAvailBlanking().equals(this.getAvailBlanking()) == false)
return false;
if (other.getEsam() == null ^ this.getEsam() == null)
return false;
if (other.getEsam() != null && other.getEsam().equals(this.getEsam()) == false)
return false;
if (other.getExtendedDataServices() == null ^ this.getExtendedDataServices() == null)
return false;
if (other.getExtendedDataServices() != null && other.getExtendedDataServices().equals(this.getExtendedDataServices()) == false)
return false;
if (other.getInputs() == null ^ this.getInputs() == null)
return false;
if (other.getInputs() != null && other.getInputs().equals(this.getInputs()) == false)
return false;
if (other.getKantarWatermark() == null ^ this.getKantarWatermark() == null)
return false;
if (other.getKantarWatermark() != null && other.getKantarWatermark().equals(this.getKantarWatermark()) == false)
return false;
if (other.getMotionImageInserter() == null ^ this.getMotionImageInserter() == null)
return false;
if (other.getMotionImageInserter() != null && other.getMotionImageInserter().equals(this.getMotionImageInserter()) == false)
return false;
if (other.getNielsenConfiguration() == null ^ this.getNielsenConfiguration() == null)
return false;
if (other.getNielsenConfiguration() != null && other.getNielsenConfiguration().equals(this.getNielsenConfiguration()) == false)
return false;
if (other.getNielsenNonLinearWatermark() == null ^ this.getNielsenNonLinearWatermark() == null)
return false;
if (other.getNielsenNonLinearWatermark() != null && other.getNielsenNonLinearWatermark().equals(this.getNielsenNonLinearWatermark()) == false)
return false;
if (other.getOutputGroups() == null ^ this.getOutputGroups() == null)
return false;
if (other.getOutputGroups() != null && other.getOutputGroups().equals(this.getOutputGroups()) == false)
return false;
if (other.getTimecodeConfig() == null ^ this.getTimecodeConfig() == null)
return false;
if (other.getTimecodeConfig() != null && other.getTimecodeConfig().equals(this.getTimecodeConfig()) == false)
return false;
if (other.getTimedMetadataInsertion() == null ^ this.getTimedMetadataInsertion() == null)
return false;
if (other.getTimedMetadataInsertion() != null && other.getTimedMetadataInsertion().equals(this.getTimedMetadataInsertion()) == false)
return false;
return true;
}
@Override
public int hashCode() {
final int prime = 31;
int hashCode = 1;
hashCode = prime * hashCode + ((getAdAvailOffset() == null) ? 0 : getAdAvailOffset().hashCode());
hashCode = prime * hashCode + ((getAvailBlanking() == null) ? 0 : getAvailBlanking().hashCode());
hashCode = prime * hashCode + ((getEsam() == null) ? 0 : getEsam().hashCode());
hashCode = prime * hashCode + ((getExtendedDataServices() == null) ? 0 : getExtendedDataServices().hashCode());
hashCode = prime * hashCode + ((getInputs() == null) ? 0 : getInputs().hashCode());
hashCode = prime * hashCode + ((getKantarWatermark() == null) ? 0 : getKantarWatermark().hashCode());
hashCode = prime * hashCode + ((getMotionImageInserter() == null) ? 0 : getMotionImageInserter().hashCode());
hashCode = prime * hashCode + ((getNielsenConfiguration() == null) ? 0 : getNielsenConfiguration().hashCode());
hashCode = prime * hashCode + ((getNielsenNonLinearWatermark() == null) ? 0 : getNielsenNonLinearWatermark().hashCode());
hashCode = prime * hashCode + ((getOutputGroups() == null) ? 0 : getOutputGroups().hashCode());
hashCode = prime * hashCode + ((getTimecodeConfig() == null) ? 0 : getTimecodeConfig().hashCode());
hashCode = prime * hashCode + ((getTimedMetadataInsertion() == null) ? 0 : getTimedMetadataInsertion().hashCode());
return hashCode;
}
@Override
public JobTemplateSettings clone() {
try {
return (JobTemplateSettings) 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.JobTemplateSettingsMarshaller.getInstance().marshall(this, protocolMarshaller);
}
}