@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class VoiceChannelResponse extends Object implements Serializable, Cloneable, StructuredPojo
Provides information about the status and settings of the voice channel for an application.
Constructor and Description |
---|
VoiceChannelResponse() |
Modifier and Type | Method and Description |
---|---|
VoiceChannelResponse |
clone() |
boolean |
equals(Object obj) |
String |
getApplicationId()
The unique identifier for the application that the voice channel applies to.
|
String |
getCreationDate()
The date and time, in ISO 8601 format, when the voice channel was enabled.
|
Boolean |
getEnabled()
Specifies whether the voice channel is enabled for the application.
|
Boolean |
getHasCredential()
(Not used) This property is retained only for backward compatibility.
|
String |
getId()
(Deprecated) An identifier for the voice channel.
|
Boolean |
getIsArchived()
Specifies whether the voice channel is archived.
|
String |
getLastModifiedBy()
The user who last modified the voice channel.
|
String |
getLastModifiedDate()
The date and time, in ISO 8601 format, when the voice channel was last modified.
|
String |
getPlatform()
The type of messaging or notification platform for the channel.
|
Integer |
getVersion()
The current version of the voice channel.
|
int |
hashCode() |
Boolean |
isArchived()
Specifies whether the voice channel is archived.
|
Boolean |
isEnabled()
Specifies whether the voice channel is enabled for the application.
|
Boolean |
isHasCredential()
(Not used) This property is retained only for backward compatibility.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setApplicationId(String applicationId)
The unique identifier for the application that the voice channel applies to.
|
void |
setCreationDate(String creationDate)
The date and time, in ISO 8601 format, when the voice channel was enabled.
|
void |
setEnabled(Boolean enabled)
Specifies whether the voice channel is enabled for the application.
|
void |
setHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
|
void |
setId(String id)
(Deprecated) An identifier for the voice channel.
|
void |
setIsArchived(Boolean isArchived)
Specifies whether the voice channel is archived.
|
void |
setLastModifiedBy(String lastModifiedBy)
The user who last modified the voice channel.
|
void |
setLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the voice channel was last modified.
|
void |
setPlatform(String platform)
The type of messaging or notification platform for the channel.
|
void |
setVersion(Integer version)
The current version of the voice channel.
|
String |
toString()
Returns a string representation of this object.
|
VoiceChannelResponse |
withApplicationId(String applicationId)
The unique identifier for the application that the voice channel applies to.
|
VoiceChannelResponse |
withCreationDate(String creationDate)
The date and time, in ISO 8601 format, when the voice channel was enabled.
|
VoiceChannelResponse |
withEnabled(Boolean enabled)
Specifies whether the voice channel is enabled for the application.
|
VoiceChannelResponse |
withHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
|
VoiceChannelResponse |
withId(String id)
(Deprecated) An identifier for the voice channel.
|
VoiceChannelResponse |
withIsArchived(Boolean isArchived)
Specifies whether the voice channel is archived.
|
VoiceChannelResponse |
withLastModifiedBy(String lastModifiedBy)
The user who last modified the voice channel.
|
VoiceChannelResponse |
withLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the voice channel was last modified.
|
VoiceChannelResponse |
withPlatform(String platform)
The type of messaging or notification platform for the channel.
|
VoiceChannelResponse |
withVersion(Integer version)
The current version of the voice channel.
|
public void setApplicationId(String applicationId)
The unique identifier for the application that the voice channel applies to.
applicationId
- The unique identifier for the application that the voice channel applies to.public String getApplicationId()
The unique identifier for the application that the voice channel applies to.
public VoiceChannelResponse withApplicationId(String applicationId)
The unique identifier for the application that the voice channel applies to.
applicationId
- The unique identifier for the application that the voice channel applies to.public void setCreationDate(String creationDate)
The date and time, in ISO 8601 format, when the voice channel was enabled.
creationDate
- The date and time, in ISO 8601 format, when the voice channel was enabled.public String getCreationDate()
The date and time, in ISO 8601 format, when the voice channel was enabled.
public VoiceChannelResponse withCreationDate(String creationDate)
The date and time, in ISO 8601 format, when the voice channel was enabled.
creationDate
- The date and time, in ISO 8601 format, when the voice channel was enabled.public void setEnabled(Boolean enabled)
Specifies whether the voice channel is enabled for the application.
enabled
- Specifies whether the voice channel is enabled for the application.public Boolean getEnabled()
Specifies whether the voice channel is enabled for the application.
public VoiceChannelResponse withEnabled(Boolean enabled)
Specifies whether the voice channel is enabled for the application.
enabled
- Specifies whether the voice channel is enabled for the application.public Boolean isEnabled()
Specifies whether the voice channel is enabled for the application.
public void setHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
hasCredential
- (Not used) This property is retained only for backward compatibility.public Boolean getHasCredential()
(Not used) This property is retained only for backward compatibility.
public VoiceChannelResponse withHasCredential(Boolean hasCredential)
(Not used) This property is retained only for backward compatibility.
hasCredential
- (Not used) This property is retained only for backward compatibility.public Boolean isHasCredential()
(Not used) This property is retained only for backward compatibility.
public void setId(String id)
(Deprecated) An identifier for the voice channel. This property is retained only for backward compatibility.
id
- (Deprecated) An identifier for the voice channel. This property is retained only for backward
compatibility.public String getId()
(Deprecated) An identifier for the voice channel. This property is retained only for backward compatibility.
public VoiceChannelResponse withId(String id)
(Deprecated) An identifier for the voice channel. This property is retained only for backward compatibility.
id
- (Deprecated) An identifier for the voice channel. This property is retained only for backward
compatibility.public void setIsArchived(Boolean isArchived)
Specifies whether the voice channel is archived.
isArchived
- Specifies whether the voice channel is archived.public Boolean getIsArchived()
Specifies whether the voice channel is archived.
public VoiceChannelResponse withIsArchived(Boolean isArchived)
Specifies whether the voice channel is archived.
isArchived
- Specifies whether the voice channel is archived.public Boolean isArchived()
Specifies whether the voice channel is archived.
public void setLastModifiedBy(String lastModifiedBy)
The user who last modified the voice channel.
lastModifiedBy
- The user who last modified the voice channel.public String getLastModifiedBy()
The user who last modified the voice channel.
public VoiceChannelResponse withLastModifiedBy(String lastModifiedBy)
The user who last modified the voice channel.
lastModifiedBy
- The user who last modified the voice channel.public void setLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the voice channel was last modified.
lastModifiedDate
- The date and time, in ISO 8601 format, when the voice channel was last modified.public String getLastModifiedDate()
The date and time, in ISO 8601 format, when the voice channel was last modified.
public VoiceChannelResponse withLastModifiedDate(String lastModifiedDate)
The date and time, in ISO 8601 format, when the voice channel was last modified.
lastModifiedDate
- The date and time, in ISO 8601 format, when the voice channel was last modified.public void setPlatform(String platform)
The type of messaging or notification platform for the channel. For the voice channel, this value is VOICE.
platform
- The type of messaging or notification platform for the channel. For the voice channel, this value is
VOICE.public String getPlatform()
The type of messaging or notification platform for the channel. For the voice channel, this value is VOICE.
public VoiceChannelResponse withPlatform(String platform)
The type of messaging or notification platform for the channel. For the voice channel, this value is VOICE.
platform
- The type of messaging or notification platform for the channel. For the voice channel, this value is
VOICE.public void setVersion(Integer version)
The current version of the voice channel.
version
- The current version of the voice channel.public Integer getVersion()
The current version of the voice channel.
public VoiceChannelResponse withVersion(Integer version)
The current version of the voice channel.
version
- The current version of the voice channel.public String toString()
toString
in class Object
Object.toString()
public VoiceChannelResponse clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.