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

com.amazonaws.services.chime.model.MediaPlacement Maven / Gradle / Ivy

Go to download

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

There is a newer version: 1.12.780
Show newest version
/*
 * Copyright 2015-2020 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.chime.model;

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

/**
 * 

* A set of endpoints used by clients to connect to the media service group for a Amazon Chime SDK meeting. *

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

* The audio host URL. *

*/ private String audioHostUrl; /** *

* The audio fallback URL. *

*/ private String audioFallbackUrl; /** *

* The screen data URL. *

*/ private String screenDataUrl; /** *

* The screen sharing URL. *

*/ private String screenSharingUrl; /** *

* The screen viewing URL. *

*/ private String screenViewingUrl; /** *

* The signaling URL. *

*/ private String signalingUrl; /** *

* The turn control URL. *

*/ private String turnControlUrl; /** *

* The audio host URL. *

* * @param audioHostUrl * The audio host URL. */ public void setAudioHostUrl(String audioHostUrl) { this.audioHostUrl = audioHostUrl; } /** *

* The audio host URL. *

* * @return The audio host URL. */ public String getAudioHostUrl() { return this.audioHostUrl; } /** *

* The audio host URL. *

* * @param audioHostUrl * The audio host URL. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withAudioHostUrl(String audioHostUrl) { setAudioHostUrl(audioHostUrl); return this; } /** *

* The audio fallback URL. *

* * @param audioFallbackUrl * The audio fallback URL. */ public void setAudioFallbackUrl(String audioFallbackUrl) { this.audioFallbackUrl = audioFallbackUrl; } /** *

* The audio fallback URL. *

* * @return The audio fallback URL. */ public String getAudioFallbackUrl() { return this.audioFallbackUrl; } /** *

* The audio fallback URL. *

* * @param audioFallbackUrl * The audio fallback URL. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withAudioFallbackUrl(String audioFallbackUrl) { setAudioFallbackUrl(audioFallbackUrl); return this; } /** *

* The screen data URL. *

* * @param screenDataUrl * The screen data URL. */ public void setScreenDataUrl(String screenDataUrl) { this.screenDataUrl = screenDataUrl; } /** *

* The screen data URL. *

* * @return The screen data URL. */ public String getScreenDataUrl() { return this.screenDataUrl; } /** *

* The screen data URL. *

* * @param screenDataUrl * The screen data URL. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withScreenDataUrl(String screenDataUrl) { setScreenDataUrl(screenDataUrl); return this; } /** *

* The screen sharing URL. *

* * @param screenSharingUrl * The screen sharing URL. */ public void setScreenSharingUrl(String screenSharingUrl) { this.screenSharingUrl = screenSharingUrl; } /** *

* The screen sharing URL. *

* * @return The screen sharing URL. */ public String getScreenSharingUrl() { return this.screenSharingUrl; } /** *

* The screen sharing URL. *

* * @param screenSharingUrl * The screen sharing URL. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withScreenSharingUrl(String screenSharingUrl) { setScreenSharingUrl(screenSharingUrl); return this; } /** *

* The screen viewing URL. *

* * @param screenViewingUrl * The screen viewing URL. */ public void setScreenViewingUrl(String screenViewingUrl) { this.screenViewingUrl = screenViewingUrl; } /** *

* The screen viewing URL. *

* * @return The screen viewing URL. */ public String getScreenViewingUrl() { return this.screenViewingUrl; } /** *

* The screen viewing URL. *

* * @param screenViewingUrl * The screen viewing URL. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withScreenViewingUrl(String screenViewingUrl) { setScreenViewingUrl(screenViewingUrl); return this; } /** *

* The signaling URL. *

* * @param signalingUrl * The signaling URL. */ public void setSignalingUrl(String signalingUrl) { this.signalingUrl = signalingUrl; } /** *

* The signaling URL. *

* * @return The signaling URL. */ public String getSignalingUrl() { return this.signalingUrl; } /** *

* The signaling URL. *

* * @param signalingUrl * The signaling URL. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withSignalingUrl(String signalingUrl) { setSignalingUrl(signalingUrl); return this; } /** *

* The turn control URL. *

* * @param turnControlUrl * The turn control URL. */ public void setTurnControlUrl(String turnControlUrl) { this.turnControlUrl = turnControlUrl; } /** *

* The turn control URL. *

* * @return The turn control URL. */ public String getTurnControlUrl() { return this.turnControlUrl; } /** *

* The turn control URL. *

* * @param turnControlUrl * The turn control URL. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withTurnControlUrl(String turnControlUrl) { setTurnControlUrl(turnControlUrl); 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 (getAudioHostUrl() != null) sb.append("AudioHostUrl: ").append(getAudioHostUrl()).append(","); if (getAudioFallbackUrl() != null) sb.append("AudioFallbackUrl: ").append(getAudioFallbackUrl()).append(","); if (getScreenDataUrl() != null) sb.append("ScreenDataUrl: ").append(getScreenDataUrl()).append(","); if (getScreenSharingUrl() != null) sb.append("ScreenSharingUrl: ").append(getScreenSharingUrl()).append(","); if (getScreenViewingUrl() != null) sb.append("ScreenViewingUrl: ").append(getScreenViewingUrl()).append(","); if (getSignalingUrl() != null) sb.append("SignalingUrl: ").append(getSignalingUrl()).append(","); if (getTurnControlUrl() != null) sb.append("TurnControlUrl: ").append(getTurnControlUrl()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof MediaPlacement == false) return false; MediaPlacement other = (MediaPlacement) obj; if (other.getAudioHostUrl() == null ^ this.getAudioHostUrl() == null) return false; if (other.getAudioHostUrl() != null && other.getAudioHostUrl().equals(this.getAudioHostUrl()) == false) return false; if (other.getAudioFallbackUrl() == null ^ this.getAudioFallbackUrl() == null) return false; if (other.getAudioFallbackUrl() != null && other.getAudioFallbackUrl().equals(this.getAudioFallbackUrl()) == false) return false; if (other.getScreenDataUrl() == null ^ this.getScreenDataUrl() == null) return false; if (other.getScreenDataUrl() != null && other.getScreenDataUrl().equals(this.getScreenDataUrl()) == false) return false; if (other.getScreenSharingUrl() == null ^ this.getScreenSharingUrl() == null) return false; if (other.getScreenSharingUrl() != null && other.getScreenSharingUrl().equals(this.getScreenSharingUrl()) == false) return false; if (other.getScreenViewingUrl() == null ^ this.getScreenViewingUrl() == null) return false; if (other.getScreenViewingUrl() != null && other.getScreenViewingUrl().equals(this.getScreenViewingUrl()) == false) return false; if (other.getSignalingUrl() == null ^ this.getSignalingUrl() == null) return false; if (other.getSignalingUrl() != null && other.getSignalingUrl().equals(this.getSignalingUrl()) == false) return false; if (other.getTurnControlUrl() == null ^ this.getTurnControlUrl() == null) return false; if (other.getTurnControlUrl() != null && other.getTurnControlUrl().equals(this.getTurnControlUrl()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getAudioHostUrl() == null) ? 0 : getAudioHostUrl().hashCode()); hashCode = prime * hashCode + ((getAudioFallbackUrl() == null) ? 0 : getAudioFallbackUrl().hashCode()); hashCode = prime * hashCode + ((getScreenDataUrl() == null) ? 0 : getScreenDataUrl().hashCode()); hashCode = prime * hashCode + ((getScreenSharingUrl() == null) ? 0 : getScreenSharingUrl().hashCode()); hashCode = prime * hashCode + ((getScreenViewingUrl() == null) ? 0 : getScreenViewingUrl().hashCode()); hashCode = prime * hashCode + ((getSignalingUrl() == null) ? 0 : getSignalingUrl().hashCode()); hashCode = prime * hashCode + ((getTurnControlUrl() == null) ? 0 : getTurnControlUrl().hashCode()); return hashCode; } @Override public MediaPlacement clone() { try { return (MediaPlacement) 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.chime.model.transform.MediaPlacementMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy