@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchStartViewerSessionRevocationResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchStartViewerSessionRevocationResult() |
Modifier and Type | Method and Description |
---|---|
BatchStartViewerSessionRevocationResult |
clone() |
boolean |
equals(Object obj) |
List<BatchStartViewerSessionRevocationError> |
getErrors()
Each error object is related to a specific
channelArn and viewerId pair in the request. |
int |
hashCode() |
void |
setErrors(Collection<BatchStartViewerSessionRevocationError> errors)
Each error object is related to a specific
channelArn and viewerId pair in the request. |
String |
toString()
Returns a string representation of this object.
|
BatchStartViewerSessionRevocationResult |
withErrors(BatchStartViewerSessionRevocationError... errors)
Each error object is related to a specific
channelArn and viewerId pair in the request. |
BatchStartViewerSessionRevocationResult |
withErrors(Collection<BatchStartViewerSessionRevocationError> errors)
Each error object is related to a specific
channelArn and viewerId pair in the request. |
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public BatchStartViewerSessionRevocationResult()
public List<BatchStartViewerSessionRevocationError> getErrors()
Each error object is related to a specific channelArn
and viewerId
pair in the request.
channelArn
and viewerId
pair in the
request.public void setErrors(Collection<BatchStartViewerSessionRevocationError> errors)
Each error object is related to a specific channelArn
and viewerId
pair in the request.
errors
- Each error object is related to a specific channelArn
and viewerId
pair in the
request.public BatchStartViewerSessionRevocationResult withErrors(BatchStartViewerSessionRevocationError... errors)
Each error object is related to a specific channelArn
and viewerId
pair in the request.
NOTE: This method appends the values to the existing list (if any). Use
setErrors(java.util.Collection)
or withErrors(java.util.Collection)
if you want to override the
existing values.
errors
- Each error object is related to a specific channelArn
and viewerId
pair in the
request.public BatchStartViewerSessionRevocationResult withErrors(Collection<BatchStartViewerSessionRevocationError> errors)
Each error object is related to a specific channelArn
and viewerId
pair in the request.
errors
- Each error object is related to a specific channelArn
and viewerId
pair in the
request.public String toString()
toString
in class Object
Object.toString()
public BatchStartViewerSessionRevocationResult clone()