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