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

com.amazonaws.services.alexaforbusiness.model.ConferenceProvider Maven / Gradle / Ivy

Go to download

The AWS Java SDK for Alexa For Business module holds the client classes that are used for communicating with Alexa For Business Service

There is a newer version: 1.12.731
Show newest version
/*
 * Copyright 2014-2019 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.alexaforbusiness.model;

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

/**
 * 

* An entity that provides a conferencing solution. Alexa for Business acts as the voice interface and mediator that * connects users to their preferred conference provider. Examples of conference providers include Amazon Chime, Zoom, * Cisco, and Polycom. *

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

* The ARN of the newly created conference provider. *

*/ private String arn; /** *

* The name of the conference provider. *

*/ private String name; /** *

* The type of conference providers. *

*/ private String type; /** *

* The IP endpoint and protocol for calling. *

*/ private IPDialIn iPDialIn; /** *

* The information for PSTN conferencing. *

*/ private PSTNDialIn pSTNDialIn; /** *

* The meeting settings for the conference provider. *

*/ private MeetingSetting meetingSetting; /** *

* The ARN of the newly created conference provider. *

* * @param arn * The ARN of the newly created conference provider. */ public void setArn(String arn) { this.arn = arn; } /** *

* The ARN of the newly created conference provider. *

* * @return The ARN of the newly created conference provider. */ public String getArn() { return this.arn; } /** *

* The ARN of the newly created conference provider. *

* * @param arn * The ARN of the newly created conference provider. * @return Returns a reference to this object so that method calls can be chained together. */ public ConferenceProvider withArn(String arn) { setArn(arn); return this; } /** *

* The name of the conference provider. *

* * @param name * The name of the conference provider. */ public void setName(String name) { this.name = name; } /** *

* The name of the conference provider. *

* * @return The name of the conference provider. */ public String getName() { return this.name; } /** *

* The name of the conference provider. *

* * @param name * The name of the conference provider. * @return Returns a reference to this object so that method calls can be chained together. */ public ConferenceProvider withName(String name) { setName(name); return this; } /** *

* The type of conference providers. *

* * @param type * The type of conference providers. * @see ConferenceProviderType */ public void setType(String type) { this.type = type; } /** *

* The type of conference providers. *

* * @return The type of conference providers. * @see ConferenceProviderType */ public String getType() { return this.type; } /** *

* The type of conference providers. *

* * @param type * The type of conference providers. * @return Returns a reference to this object so that method calls can be chained together. * @see ConferenceProviderType */ public ConferenceProvider withType(String type) { setType(type); return this; } /** *

* The type of conference providers. *

* * @param type * The type of conference providers. * @return Returns a reference to this object so that method calls can be chained together. * @see ConferenceProviderType */ public ConferenceProvider withType(ConferenceProviderType type) { this.type = type.toString(); return this; } /** *

* The IP endpoint and protocol for calling. *

* * @param iPDialIn * The IP endpoint and protocol for calling. */ public void setIPDialIn(IPDialIn iPDialIn) { this.iPDialIn = iPDialIn; } /** *

* The IP endpoint and protocol for calling. *

* * @return The IP endpoint and protocol for calling. */ public IPDialIn getIPDialIn() { return this.iPDialIn; } /** *

* The IP endpoint and protocol for calling. *

* * @param iPDialIn * The IP endpoint and protocol for calling. * @return Returns a reference to this object so that method calls can be chained together. */ public ConferenceProvider withIPDialIn(IPDialIn iPDialIn) { setIPDialIn(iPDialIn); return this; } /** *

* The information for PSTN conferencing. *

* * @param pSTNDialIn * The information for PSTN conferencing. */ public void setPSTNDialIn(PSTNDialIn pSTNDialIn) { this.pSTNDialIn = pSTNDialIn; } /** *

* The information for PSTN conferencing. *

* * @return The information for PSTN conferencing. */ public PSTNDialIn getPSTNDialIn() { return this.pSTNDialIn; } /** *

* The information for PSTN conferencing. *

* * @param pSTNDialIn * The information for PSTN conferencing. * @return Returns a reference to this object so that method calls can be chained together. */ public ConferenceProvider withPSTNDialIn(PSTNDialIn pSTNDialIn) { setPSTNDialIn(pSTNDialIn); return this; } /** *

* The meeting settings for the conference provider. *

* * @param meetingSetting * The meeting settings for the conference provider. */ public void setMeetingSetting(MeetingSetting meetingSetting) { this.meetingSetting = meetingSetting; } /** *

* The meeting settings for the conference provider. *

* * @return The meeting settings for the conference provider. */ public MeetingSetting getMeetingSetting() { return this.meetingSetting; } /** *

* The meeting settings for the conference provider. *

* * @param meetingSetting * The meeting settings for the conference provider. * @return Returns a reference to this object so that method calls can be chained together. */ public ConferenceProvider withMeetingSetting(MeetingSetting meetingSetting) { setMeetingSetting(meetingSetting); 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 (getArn() != null) sb.append("Arn: ").append(getArn()).append(","); if (getName() != null) sb.append("Name: ").append(getName()).append(","); if (getType() != null) sb.append("Type: ").append(getType()).append(","); if (getIPDialIn() != null) sb.append("IPDialIn: ").append(getIPDialIn()).append(","); if (getPSTNDialIn() != null) sb.append("PSTNDialIn: ").append(getPSTNDialIn()).append(","); if (getMeetingSetting() != null) sb.append("MeetingSetting: ").append(getMeetingSetting()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof ConferenceProvider == false) return false; ConferenceProvider other = (ConferenceProvider) obj; if (other.getArn() == null ^ this.getArn() == null) return false; if (other.getArn() != null && other.getArn().equals(this.getArn()) == false) return false; if (other.getName() == null ^ this.getName() == null) return false; if (other.getName() != null && other.getName().equals(this.getName()) == false) return false; if (other.getType() == null ^ this.getType() == null) return false; if (other.getType() != null && other.getType().equals(this.getType()) == false) return false; if (other.getIPDialIn() == null ^ this.getIPDialIn() == null) return false; if (other.getIPDialIn() != null && other.getIPDialIn().equals(this.getIPDialIn()) == false) return false; if (other.getPSTNDialIn() == null ^ this.getPSTNDialIn() == null) return false; if (other.getPSTNDialIn() != null && other.getPSTNDialIn().equals(this.getPSTNDialIn()) == false) return false; if (other.getMeetingSetting() == null ^ this.getMeetingSetting() == null) return false; if (other.getMeetingSetting() != null && other.getMeetingSetting().equals(this.getMeetingSetting()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getArn() == null) ? 0 : getArn().hashCode()); hashCode = prime * hashCode + ((getName() == null) ? 0 : getName().hashCode()); hashCode = prime * hashCode + ((getType() == null) ? 0 : getType().hashCode()); hashCode = prime * hashCode + ((getIPDialIn() == null) ? 0 : getIPDialIn().hashCode()); hashCode = prime * hashCode + ((getPSTNDialIn() == null) ? 0 : getPSTNDialIn().hashCode()); hashCode = prime * hashCode + ((getMeetingSetting() == null) ? 0 : getMeetingSetting().hashCode()); return hashCode; } @Override public ConferenceProvider clone() { try { return (ConferenceProvider) 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.alexaforbusiness.model.transform.ConferenceProviderMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy