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

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

Go to download

The AWS Java SDK for Amazon Chime SDK Meetings module holds the client classes that are used for communicating with Amazon Chime SDK Meetings 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.chimesdkmeetings.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 an 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 signaling URL. *

*/ private String signalingUrl; /** *

* The turn control URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
*/ private String turnControlUrl; /** *

* The screen data URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
*/ private String screenDataUrl; /** *

* The screen viewing URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
*/ private String screenViewingUrl; /** *

* The screen sharing URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
*/ private String screenSharingUrl; /** *

* The event ingestion URL. *

*/ private String eventIngestionUrl; /** *

* 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 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. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @param turnControlUrl * The turn control URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*/ public void setTurnControlUrl(String turnControlUrl) { this.turnControlUrl = turnControlUrl; } /** *

* The turn control URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @return The turn control URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*/ public String getTurnControlUrl() { return this.turnControlUrl; } /** *

* The turn control URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @param turnControlUrl * The turn control URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

* @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withTurnControlUrl(String turnControlUrl) { setTurnControlUrl(turnControlUrl); return this; } /** *

* The screen data URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @param screenDataUrl * The screen data URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*/ public void setScreenDataUrl(String screenDataUrl) { this.screenDataUrl = screenDataUrl; } /** *

* The screen data URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @return The screen data URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*/ public String getScreenDataUrl() { return this.screenDataUrl; } /** *

* The screen data URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @param screenDataUrl * The screen data URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

* @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 viewing URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @param screenViewingUrl * The screen viewing URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*/ public void setScreenViewingUrl(String screenViewingUrl) { this.screenViewingUrl = screenViewingUrl; } /** *

* The screen viewing URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @return The screen viewing URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*/ public String getScreenViewingUrl() { return this.screenViewingUrl; } /** *

* The screen viewing URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @param screenViewingUrl * The screen viewing URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

* @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 screen sharing URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @param screenSharingUrl * The screen sharing URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*/ public void setScreenSharingUrl(String screenSharingUrl) { this.screenSharingUrl = screenSharingUrl; } /** *

* The screen sharing URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @return The screen sharing URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*/ public String getScreenSharingUrl() { return this.screenSharingUrl; } /** *

* The screen sharing URL. *

* *

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

*
* * @param screenSharingUrl * The screen sharing URL.

*

* This parameter is deprecated and no longer used by the Amazon Chime SDK. *

* @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 event ingestion URL. *

* * @param eventIngestionUrl * The event ingestion URL. */ public void setEventIngestionUrl(String eventIngestionUrl) { this.eventIngestionUrl = eventIngestionUrl; } /** *

* The event ingestion URL. *

* * @return The event ingestion URL. */ public String getEventIngestionUrl() { return this.eventIngestionUrl; } /** *

* The event ingestion URL. *

* * @param eventIngestionUrl * The event ingestion URL. * @return Returns a reference to this object so that method calls can be chained together. */ public MediaPlacement withEventIngestionUrl(String eventIngestionUrl) { setEventIngestionUrl(eventIngestionUrl); 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 (getSignalingUrl() != null) sb.append("SignalingUrl: ").append(getSignalingUrl()).append(","); if (getTurnControlUrl() != null) sb.append("TurnControlUrl: ").append(getTurnControlUrl()).append(","); if (getScreenDataUrl() != null) sb.append("ScreenDataUrl: ").append(getScreenDataUrl()).append(","); if (getScreenViewingUrl() != null) sb.append("ScreenViewingUrl: ").append(getScreenViewingUrl()).append(","); if (getScreenSharingUrl() != null) sb.append("ScreenSharingUrl: ").append(getScreenSharingUrl()).append(","); if (getEventIngestionUrl() != null) sb.append("EventIngestionUrl: ").append(getEventIngestionUrl()); 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.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; if (other.getScreenDataUrl() == null ^ this.getScreenDataUrl() == null) return false; if (other.getScreenDataUrl() != null && other.getScreenDataUrl().equals(this.getScreenDataUrl()) == 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.getScreenSharingUrl() == null ^ this.getScreenSharingUrl() == null) return false; if (other.getScreenSharingUrl() != null && other.getScreenSharingUrl().equals(this.getScreenSharingUrl()) == false) return false; if (other.getEventIngestionUrl() == null ^ this.getEventIngestionUrl() == null) return false; if (other.getEventIngestionUrl() != null && other.getEventIngestionUrl().equals(this.getEventIngestionUrl()) == 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 + ((getSignalingUrl() == null) ? 0 : getSignalingUrl().hashCode()); hashCode = prime * hashCode + ((getTurnControlUrl() == null) ? 0 : getTurnControlUrl().hashCode()); hashCode = prime * hashCode + ((getScreenDataUrl() == null) ? 0 : getScreenDataUrl().hashCode()); hashCode = prime * hashCode + ((getScreenViewingUrl() == null) ? 0 : getScreenViewingUrl().hashCode()); hashCode = prime * hashCode + ((getScreenSharingUrl() == null) ? 0 : getScreenSharingUrl().hashCode()); hashCode = prime * hashCode + ((getEventIngestionUrl() == null) ? 0 : getEventIngestionUrl().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.chimesdkmeetings.model.transform.MediaPlacementMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy