All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.amazonaws.services.chimesdkmediapipelines.model.HorizontalLayoutConfiguration Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Amazon Chime SDK Media Pipelines module holds the client classes that are used for communicating with Amazon Chime SDK Media Pipelines Service

The newest version!
/*
 * Copyright 2019-2024 Amazon.com, Inc. or its affiliates. All Rights Reserved.
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"). You may not use this file except in compliance with
 * the License. A copy of the License is located at
 * 
 * http://aws.amazon.com/apache2.0
 * 
 * or in the "license" file accompanying this file. This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR
 * CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions
 * and limitations under the License.
 */
package com.amazonaws.services.chimesdkmediapipelines.model;

import java.io.Serializable;
import javax.annotation.Generated;
import com.amazonaws.protocol.StructuredPojo;
import com.amazonaws.protocol.ProtocolMarshaller;

/**
 * 

* Defines the configuration settings for the horizontal layout. *

* * @see AWS API Documentation */ @Generated("com.amazonaws:aws-java-sdk-code-generator") public class HorizontalLayoutConfiguration implements Serializable, Cloneable, StructuredPojo { /** *

* Sets the automatic ordering of the video tiles. *

*/ private String tileOrder; /** *

* Sets the position of horizontal tiles. *

*/ private String tilePosition; /** *

* The maximum number of video tiles to display. *

*/ private Integer tileCount; /** *

* Specifies the aspect ratio of all video tiles. *

*/ private String tileAspectRatio; /** *

* Sets the automatic ordering of the video tiles. *

* * @param tileOrder * Sets the automatic ordering of the video tiles. * @see TileOrder */ public void setTileOrder(String tileOrder) { this.tileOrder = tileOrder; } /** *

* Sets the automatic ordering of the video tiles. *

* * @return Sets the automatic ordering of the video tiles. * @see TileOrder */ public String getTileOrder() { return this.tileOrder; } /** *

* Sets the automatic ordering of the video tiles. *

* * @param tileOrder * Sets the automatic ordering of the video tiles. * @return Returns a reference to this object so that method calls can be chained together. * @see TileOrder */ public HorizontalLayoutConfiguration withTileOrder(String tileOrder) { setTileOrder(tileOrder); return this; } /** *

* Sets the automatic ordering of the video tiles. *

* * @param tileOrder * Sets the automatic ordering of the video tiles. * @return Returns a reference to this object so that method calls can be chained together. * @see TileOrder */ public HorizontalLayoutConfiguration withTileOrder(TileOrder tileOrder) { this.tileOrder = tileOrder.toString(); return this; } /** *

* Sets the position of horizontal tiles. *

* * @param tilePosition * Sets the position of horizontal tiles. * @see HorizontalTilePosition */ public void setTilePosition(String tilePosition) { this.tilePosition = tilePosition; } /** *

* Sets the position of horizontal tiles. *

* * @return Sets the position of horizontal tiles. * @see HorizontalTilePosition */ public String getTilePosition() { return this.tilePosition; } /** *

* Sets the position of horizontal tiles. *

* * @param tilePosition * Sets the position of horizontal tiles. * @return Returns a reference to this object so that method calls can be chained together. * @see HorizontalTilePosition */ public HorizontalLayoutConfiguration withTilePosition(String tilePosition) { setTilePosition(tilePosition); return this; } /** *

* Sets the position of horizontal tiles. *

* * @param tilePosition * Sets the position of horizontal tiles. * @return Returns a reference to this object so that method calls can be chained together. * @see HorizontalTilePosition */ public HorizontalLayoutConfiguration withTilePosition(HorizontalTilePosition tilePosition) { this.tilePosition = tilePosition.toString(); return this; } /** *

* The maximum number of video tiles to display. *

* * @param tileCount * The maximum number of video tiles to display. */ public void setTileCount(Integer tileCount) { this.tileCount = tileCount; } /** *

* The maximum number of video tiles to display. *

* * @return The maximum number of video tiles to display. */ public Integer getTileCount() { return this.tileCount; } /** *

* The maximum number of video tiles to display. *

* * @param tileCount * The maximum number of video tiles to display. * @return Returns a reference to this object so that method calls can be chained together. */ public HorizontalLayoutConfiguration withTileCount(Integer tileCount) { setTileCount(tileCount); return this; } /** *

* Specifies the aspect ratio of all video tiles. *

* * @param tileAspectRatio * Specifies the aspect ratio of all video tiles. */ public void setTileAspectRatio(String tileAspectRatio) { this.tileAspectRatio = tileAspectRatio; } /** *

* Specifies the aspect ratio of all video tiles. *

* * @return Specifies the aspect ratio of all video tiles. */ public String getTileAspectRatio() { return this.tileAspectRatio; } /** *

* Specifies the aspect ratio of all video tiles. *

* * @param tileAspectRatio * Specifies the aspect ratio of all video tiles. * @return Returns a reference to this object so that method calls can be chained together. */ public HorizontalLayoutConfiguration withTileAspectRatio(String tileAspectRatio) { setTileAspectRatio(tileAspectRatio); 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 (getTileOrder() != null) sb.append("TileOrder: ").append(getTileOrder()).append(","); if (getTilePosition() != null) sb.append("TilePosition: ").append(getTilePosition()).append(","); if (getTileCount() != null) sb.append("TileCount: ").append(getTileCount()).append(","); if (getTileAspectRatio() != null) sb.append("TileAspectRatio: ").append(getTileAspectRatio()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof HorizontalLayoutConfiguration == false) return false; HorizontalLayoutConfiguration other = (HorizontalLayoutConfiguration) obj; if (other.getTileOrder() == null ^ this.getTileOrder() == null) return false; if (other.getTileOrder() != null && other.getTileOrder().equals(this.getTileOrder()) == false) return false; if (other.getTilePosition() == null ^ this.getTilePosition() == null) return false; if (other.getTilePosition() != null && other.getTilePosition().equals(this.getTilePosition()) == false) return false; if (other.getTileCount() == null ^ this.getTileCount() == null) return false; if (other.getTileCount() != null && other.getTileCount().equals(this.getTileCount()) == false) return false; if (other.getTileAspectRatio() == null ^ this.getTileAspectRatio() == null) return false; if (other.getTileAspectRatio() != null && other.getTileAspectRatio().equals(this.getTileAspectRatio()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getTileOrder() == null) ? 0 : getTileOrder().hashCode()); hashCode = prime * hashCode + ((getTilePosition() == null) ? 0 : getTilePosition().hashCode()); hashCode = prime * hashCode + ((getTileCount() == null) ? 0 : getTileCount().hashCode()); hashCode = prime * hashCode + ((getTileAspectRatio() == null) ? 0 : getTileAspectRatio().hashCode()); return hashCode; } @Override public HorizontalLayoutConfiguration clone() { try { return (HorizontalLayoutConfiguration) 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.chimesdkmediapipelines.model.transform.HorizontalLayoutConfigurationMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy