@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BatchGetStreamKeyResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
BatchGetStreamKeyResult() |
Modifier and Type | Method and Description |
---|---|
BatchGetStreamKeyResult |
clone() |
boolean |
equals(Object obj) |
List<BatchError> |
getErrors()
|
List<StreamKey> |
getStreamKeys()
|
int |
hashCode() |
void |
setErrors(Collection<BatchError> errors)
|
void |
setStreamKeys(Collection<StreamKey> streamKeys)
|
String |
toString()
Returns a string representation of this object.
|
BatchGetStreamKeyResult |
withErrors(BatchError... errors)
|
BatchGetStreamKeyResult |
withErrors(Collection<BatchError> errors)
|
BatchGetStreamKeyResult |
withStreamKeys(Collection<StreamKey> streamKeys)
|
BatchGetStreamKeyResult |
withStreamKeys(StreamKey... streamKeys)
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setStreamKeys(Collection<StreamKey> streamKeys)
streamKeys
- public BatchGetStreamKeyResult withStreamKeys(StreamKey... streamKeys)
NOTE: This method appends the values to the existing list (if any). Use
setStreamKeys(java.util.Collection)
or withStreamKeys(java.util.Collection)
if you want to
override the existing values.
streamKeys
- public BatchGetStreamKeyResult withStreamKeys(Collection<StreamKey> streamKeys)
streamKeys
- public List<BatchError> getErrors()
public void setErrors(Collection<BatchError> errors)
errors
- public BatchGetStreamKeyResult withErrors(BatchError... errors)
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
- public BatchGetStreamKeyResult withErrors(Collection<BatchError> errors)
errors
- public String toString()
toString
in class Object
Object.toString()
public BatchGetStreamKeyResult clone()