@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchStartViewerSessionRevocationError extends Object implements Serializable, Cloneable, StructuredPojo
Error for a request in the batch for BatchStartViewerSessionRevocation. Each error is related to a specific channel-ARN and viewer-ID pair.
Constructor and Description |
---|
BatchStartViewerSessionRevocationError() |
Modifier and Type | Method and Description |
---|---|
BatchStartViewerSessionRevocationError |
clone() |
boolean |
equals(Object obj) |
String |
getChannelArn()
Channel ARN.
|
String |
getCode()
Error code.
|
String |
getMessage()
Error message, determined by the application.
|
String |
getViewerId()
The ID of the viewer session to revoke.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setChannelArn(String channelArn)
Channel ARN.
|
void |
setCode(String code)
Error code.
|
void |
setMessage(String message)
Error message, determined by the application.
|
void |
setViewerId(String viewerId)
The ID of the viewer session to revoke.
|
String |
toString()
Returns a string representation of this object.
|
BatchStartViewerSessionRevocationError |
withChannelArn(String channelArn)
Channel ARN.
|
BatchStartViewerSessionRevocationError |
withCode(String code)
Error code.
|
BatchStartViewerSessionRevocationError |
withMessage(String message)
Error message, determined by the application.
|
BatchStartViewerSessionRevocationError |
withViewerId(String viewerId)
The ID of the viewer session to revoke.
|
public BatchStartViewerSessionRevocationError()
public void setChannelArn(String channelArn)
Channel ARN.
channelArn
- Channel ARN.public String getChannelArn()
Channel ARN.
public BatchStartViewerSessionRevocationError withChannelArn(String channelArn)
Channel ARN.
channelArn
- Channel ARN.public void setViewerId(String viewerId)
The ID of the viewer session to revoke.
viewerId
- The ID of the viewer session to revoke.public String getViewerId()
The ID of the viewer session to revoke.
public BatchStartViewerSessionRevocationError withViewerId(String viewerId)
The ID of the viewer session to revoke.
viewerId
- The ID of the viewer session to revoke.public void setCode(String code)
Error code.
code
- Error code.public String getCode()
Error code.
public BatchStartViewerSessionRevocationError withCode(String code)
Error code.
code
- Error code.public void setMessage(String message)
Error message, determined by the application.
message
- Error message, determined by the application.public String getMessage()
Error message, determined by the application.
public BatchStartViewerSessionRevocationError withMessage(String message)
Error message, determined by the application.
message
- Error message, determined by the application.public String toString()
toString
in class Object
Object.toString()
public BatchStartViewerSessionRevocationError clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.