shiver.me.timbers.aws.medialive.ChannelAudioSelectorSettings Maven / Gradle / Ivy
Show all versions of smt-cloudformation-objects Show documentation
package shiver.me.timbers.aws.medialive;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonPropertyDescription;
import com.fasterxml.jackson.annotation.JsonPropertyOrder;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.apache.commons.lang.builder.ToStringBuilder;
import shiver.me.timbers.aws.Property;
/**
* ChannelAudioSelectorSettings
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audioselectorsettings.html
*
*/
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonPropertyOrder({
"AudioPidSelection",
"AudioLanguageSelection"
})
public class ChannelAudioSelectorSettings implements Property
{
/**
* ChannelAudioPidSelection
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiopidselection.html
*
*/
@JsonProperty("AudioPidSelection")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiopidselection.html")
private Property audioPidSelection;
/**
* ChannelAudioLanguageSelection
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiolanguageselection.html
*
*/
@JsonProperty("AudioLanguageSelection")
@JsonPropertyDescription("http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiolanguageselection.html")
private Property audioLanguageSelection;
/**
* ChannelAudioPidSelection
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiopidselection.html
*
*/
@JsonIgnore
public Property getAudioPidSelection() {
return audioPidSelection;
}
/**
* ChannelAudioPidSelection
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiopidselection.html
*
*/
@JsonIgnore
public void setAudioPidSelection(Property audioPidSelection) {
this.audioPidSelection = audioPidSelection;
}
public ChannelAudioSelectorSettings withAudioPidSelection(Property audioPidSelection) {
this.audioPidSelection = audioPidSelection;
return this;
}
/**
* ChannelAudioLanguageSelection
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiolanguageselection.html
*
*/
@JsonIgnore
public Property getAudioLanguageSelection() {
return audioLanguageSelection;
}
/**
* ChannelAudioLanguageSelection
*
* http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-medialive-channel-audiolanguageselection.html
*
*/
@JsonIgnore
public void setAudioLanguageSelection(Property audioLanguageSelection) {
this.audioLanguageSelection = audioLanguageSelection;
}
public ChannelAudioSelectorSettings withAudioLanguageSelection(Property audioLanguageSelection) {
this.audioLanguageSelection = audioLanguageSelection;
return this;
}
@Override
public String toString() {
return new ToStringBuilder(this).append("audioPidSelection", audioPidSelection).append("audioLanguageSelection", audioLanguageSelection).toString();
}
@Override
public int hashCode() {
return new HashCodeBuilder().append(audioLanguageSelection).append(audioPidSelection).toHashCode();
}
@Override
public boolean equals(Object other) {
if (other == this) {
return true;
}
if ((other instanceof ChannelAudioSelectorSettings) == false) {
return false;
}
ChannelAudioSelectorSettings rhs = ((ChannelAudioSelectorSettings) other);
return new EqualsBuilder().append(audioLanguageSelection, rhs.audioLanguageSelection).append(audioPidSelection, rhs.audioPidSelection).isEquals();
}
}