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

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

/*
 * Copyright 2013-2018 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;

/**
 * 

* The information for public switched telephone network (PSTN) conferencing. *

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

* The zip code. *

*/ private String countryCode; /** *

* The phone number to call to join the conference. *

*/ private String phoneNumber; /** *

* The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on * the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. *

*/ private String oneClickIdDelay; /** *

* The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on * the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. *

*/ private String oneClickPinDelay; /** *

* The zip code. *

* * @param countryCode * The zip code. */ public void setCountryCode(String countryCode) { this.countryCode = countryCode; } /** *

* The zip code. *

* * @return The zip code. */ public String getCountryCode() { return this.countryCode; } /** *

* The zip code. *

* * @param countryCode * The zip code. * @return Returns a reference to this object so that method calls can be chained together. */ public PSTNDialIn withCountryCode(String countryCode) { setCountryCode(countryCode); return this; } /** *

* The phone number to call to join the conference. *

* * @param phoneNumber * The phone number to call to join the conference. */ public void setPhoneNumber(String phoneNumber) { this.phoneNumber = phoneNumber; } /** *

* The phone number to call to join the conference. *

* * @return The phone number to call to join the conference. */ public String getPhoneNumber() { return this.phoneNumber; } /** *

* The phone number to call to join the conference. *

* * @param phoneNumber * The phone number to call to join the conference. * @return Returns a reference to this object so that method calls can be chained together. */ public PSTNDialIn withPhoneNumber(String phoneNumber) { setPhoneNumber(phoneNumber); return this; } /** *

* The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on * the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. *

* * @param oneClickIdDelay * The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each * number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. */ public void setOneClickIdDelay(String oneClickIdDelay) { this.oneClickIdDelay = oneClickIdDelay; } /** *

* The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on * the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. *

* * @return The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each * number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. */ public String getOneClickIdDelay() { return this.oneClickIdDelay; } /** *

* The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each number on * the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. *

* * @param oneClickIdDelay * The delay duration before Alexa enters the conference ID with dual-tone multi-frequency (DTMF). Each * number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. * @return Returns a reference to this object so that method calls can be chained together. */ public PSTNDialIn withOneClickIdDelay(String oneClickIdDelay) { setOneClickIdDelay(oneClickIdDelay); return this; } /** *

* The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on * the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. *

* * @param oneClickPinDelay * The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each * number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. */ public void setOneClickPinDelay(String oneClickPinDelay) { this.oneClickPinDelay = oneClickPinDelay; } /** *

* The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on * the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. *

* * @return The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each * number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. */ public String getOneClickPinDelay() { return this.oneClickPinDelay; } /** *

* The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each number on * the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. *

* * @param oneClickPinDelay * The delay duration before Alexa enters the conference pin with dual-tone multi-frequency (DTMF). Each * number on the dial pad corresponds to a DTMF tone, which is how we send data over the telephone network. * @return Returns a reference to this object so that method calls can be chained together. */ public PSTNDialIn withOneClickPinDelay(String oneClickPinDelay) { setOneClickPinDelay(oneClickPinDelay); 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 (getCountryCode() != null) sb.append("CountryCode: ").append(getCountryCode()).append(","); if (getPhoneNumber() != null) sb.append("PhoneNumber: ").append(getPhoneNumber()).append(","); if (getOneClickIdDelay() != null) sb.append("OneClickIdDelay: ").append(getOneClickIdDelay()).append(","); if (getOneClickPinDelay() != null) sb.append("OneClickPinDelay: ").append(getOneClickPinDelay()); sb.append("}"); return sb.toString(); } @Override public boolean equals(Object obj) { if (this == obj) return true; if (obj == null) return false; if (obj instanceof PSTNDialIn == false) return false; PSTNDialIn other = (PSTNDialIn) obj; if (other.getCountryCode() == null ^ this.getCountryCode() == null) return false; if (other.getCountryCode() != null && other.getCountryCode().equals(this.getCountryCode()) == false) return false; if (other.getPhoneNumber() == null ^ this.getPhoneNumber() == null) return false; if (other.getPhoneNumber() != null && other.getPhoneNumber().equals(this.getPhoneNumber()) == false) return false; if (other.getOneClickIdDelay() == null ^ this.getOneClickIdDelay() == null) return false; if (other.getOneClickIdDelay() != null && other.getOneClickIdDelay().equals(this.getOneClickIdDelay()) == false) return false; if (other.getOneClickPinDelay() == null ^ this.getOneClickPinDelay() == null) return false; if (other.getOneClickPinDelay() != null && other.getOneClickPinDelay().equals(this.getOneClickPinDelay()) == false) return false; return true; } @Override public int hashCode() { final int prime = 31; int hashCode = 1; hashCode = prime * hashCode + ((getCountryCode() == null) ? 0 : getCountryCode().hashCode()); hashCode = prime * hashCode + ((getPhoneNumber() == null) ? 0 : getPhoneNumber().hashCode()); hashCode = prime * hashCode + ((getOneClickIdDelay() == null) ? 0 : getOneClickIdDelay().hashCode()); hashCode = prime * hashCode + ((getOneClickPinDelay() == null) ? 0 : getOneClickPinDelay().hashCode()); return hashCode; } @Override public PSTNDialIn clone() { try { return (PSTNDialIn) 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.PSTNDialInMarshaller.getInstance().marshall(this, protocolMarshaller); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy