@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateStreamRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateStreamRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateStreamRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDescription()
The description of the stream.
|
List<StreamFile> |
getFiles()
The files associated with the stream.
|
String |
getRoleArn()
An IAM role that allows the IoT service principal assumes to access your S3 files.
|
String |
getStreamId()
The stream ID.
|
int |
hashCode() |
void |
setDescription(String description)
The description of the stream.
|
void |
setFiles(Collection<StreamFile> files)
The files associated with the stream.
|
void |
setRoleArn(String roleArn)
An IAM role that allows the IoT service principal assumes to access your S3 files.
|
void |
setStreamId(String streamId)
The stream ID.
|
String |
toString()
Returns a string representation of this object.
|
UpdateStreamRequest |
withDescription(String description)
The description of the stream.
|
UpdateStreamRequest |
withFiles(Collection<StreamFile> files)
The files associated with the stream.
|
UpdateStreamRequest |
withFiles(StreamFile... files)
The files associated with the stream.
|
UpdateStreamRequest |
withRoleArn(String roleArn)
An IAM role that allows the IoT service principal assumes to access your S3 files.
|
UpdateStreamRequest |
withStreamId(String streamId)
The stream ID.
|
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 UpdateStreamRequest withStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public void setDescription(String description)
The description of the stream.
description
- The description of the stream.public String getDescription()
The description of the stream.
public UpdateStreamRequest withDescription(String description)
The description of the stream.
description
- The description of the stream.public List<StreamFile> getFiles()
The files associated with the stream.
public void setFiles(Collection<StreamFile> files)
The files associated with the stream.
files
- The files associated with the stream.public UpdateStreamRequest withFiles(StreamFile... files)
The files associated with the 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 associated with the stream.public UpdateStreamRequest withFiles(Collection<StreamFile> files)
The files associated with the stream.
files
- The files associated with the stream.public void setRoleArn(String roleArn)
An IAM role that allows the IoT service principal assumes to access your S3 files.
roleArn
- An IAM role that allows the IoT service principal assumes to access your S3 files.public String getRoleArn()
An IAM role that allows the IoT service principal assumes to access your S3 files.
public UpdateStreamRequest withRoleArn(String roleArn)
An IAM role that allows the IoT service principal assumes to access your S3 files.
roleArn
- An IAM role that allows the IoT service principal assumes to access your S3 files.public String toString()
toString
in class Object
Object.toString()
public UpdateStreamRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()