@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateStreamRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStreamRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
A description of the stream.
|
List<StreamFile> |
getFiles()
The files to stream.
|
String |
getRoleArn()
An IAM role that allows the IoT service principal to access your S3 files.
|
String |
getStreamId()
The stream ID.
|
List<Tag> |
getTags()
Metadata which can be used to manage streams.
|
int |
hashCode() |
void |
setDescription(String description)
A description of the stream.
|
void |
setFiles(Collection<StreamFile> files)
The files to stream.
|
void |
setRoleArn(String roleArn)
An IAM role that allows the IoT service principal to access your S3 files.
|
void |
setStreamId(String streamId)
The stream ID.
|
void |
setTags(Collection<Tag> tags)
Metadata which can be used to manage streams.
|
String |
toString()
Returns a string representation of this object.
|
CreateStreamRequest |
withDescription(String description)
A description of the stream.
|
CreateStreamRequest |
withFiles(Collection<StreamFile> files)
The files to stream.
|
CreateStreamRequest |
withFiles(StreamFile... files)
The files to stream.
|
CreateStreamRequest |
withRoleArn(String roleArn)
An IAM role that allows the IoT service principal to access your S3 files.
|
CreateStreamRequest |
withStreamId(String streamId)
The stream ID.
|
CreateStreamRequest |
withTags(Collection<Tag> tags)
Metadata which can be used to manage streams.
|
CreateStreamRequest |
withTags(Tag... tags)
Metadata which can be used to manage streams.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public String getStreamId()
The stream ID.
public CreateStreamRequest withStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public void setDescription(String description)
A description of the stream.
description
- A description of the stream.public String getDescription()
A description of the stream.
public CreateStreamRequest withDescription(String description)
A description of the stream.
description
- A description of the stream.public List<StreamFile> getFiles()
The files to stream.
public void setFiles(Collection<StreamFile> files)
The files to stream.
files
- The files to stream.public CreateStreamRequest withFiles(StreamFile... files)
The files to stream.
NOTE: This method appends the values to the existing list (if any). Use
setFiles(java.util.Collection)
or withFiles(java.util.Collection)
if you want to override the
existing values.
files
- The files to stream.public CreateStreamRequest withFiles(Collection<StreamFile> files)
The files to stream.
files
- The files to stream.public void setRoleArn(String roleArn)
An IAM role that allows the IoT service principal to access your S3 files.
roleArn
- An IAM role that allows the IoT service principal to access your S3 files.public String getRoleArn()
An IAM role that allows the IoT service principal to access your S3 files.
public CreateStreamRequest withRoleArn(String roleArn)
An IAM role that allows the IoT service principal to access your S3 files.
roleArn
- An IAM role that allows the IoT service principal to access your S3 files.public List<Tag> getTags()
Metadata which can be used to manage streams.
public void setTags(Collection<Tag> tags)
Metadata which can be used to manage streams.
tags
- Metadata which can be used to manage streams.public CreateStreamRequest withTags(Tag... tags)
Metadata which can be used to manage streams.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- Metadata which can be used to manage streams.public CreateStreamRequest withTags(Collection<Tag> tags)
Metadata which can be used to manage streams.
tags
- Metadata which can be used to manage streams.public String toString()
toString
in class Object
Object.toString()
public CreateStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()