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