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