public class UpdateStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable
Updates an existing stream. The stream version will be incremented by one.
| Constructor and Description | 
|---|
| UpdateStreamRequest() | 
| Modifier and Type | Method and Description | 
|---|---|
| boolean | equals(java.lang.Object obj) | 
| java.lang.String | getDescription()
 The description of the stream. | 
| java.util.List<StreamFile> | getFiles()
 The files associated with the stream. | 
| java.lang.String | getRoleArn()
 An IAM role that allows the IoT service principal assumes to access your
 S3 files. | 
| java.lang.String | getStreamId()
 The stream ID. | 
| int | hashCode() | 
| void | setDescription(java.lang.String description)
 The description of the stream. | 
| void | setFiles(java.util.Collection<StreamFile> files)
 The files associated with the stream. | 
| void | setRoleArn(java.lang.String roleArn)
 An IAM role that allows the IoT service principal assumes to access your
 S3 files. | 
| void | setStreamId(java.lang.String streamId)
 The stream ID. | 
| java.lang.String | toString()Returns a string representation of this object; useful for testing and
 debugging. | 
| UpdateStreamRequest | withDescription(java.lang.String description)
 The description of the stream. | 
| UpdateStreamRequest | withFiles(java.util.Collection<StreamFile> files)
 The files associated with the stream. | 
| UpdateStreamRequest | withFiles(StreamFile... files)
 The files associated with the stream. | 
| UpdateStreamRequest | withRoleArn(java.lang.String roleArn)
 An IAM role that allows the IoT service principal assumes to access your
 S3 files. | 
| UpdateStreamRequest | withStreamId(java.lang.String streamId)
 The stream ID. | 
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollectorpublic java.lang.String getStreamId()
The stream ID.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9_-]+
The stream ID.
public void setStreamId(java.lang.String streamId)
The stream ID.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9_-]+
streamId - The stream ID.
public UpdateStreamRequest withStreamId(java.lang.String streamId)
The stream ID.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 1 - 128
 Pattern: [a-zA-Z0-9_-]+
streamId - The stream ID.
public java.lang.String getDescription()
The description of the stream.
 Constraints:
 Length:  - 2028
 Pattern: [^\p{C}]+
The description of the stream.
public void setDescription(java.lang.String description)
The description of the stream.
 Constraints:
 Length:  - 2028
 Pattern: [^\p{C}]+
description - The description of the stream.
public UpdateStreamRequest withDescription(java.lang.String description)
The description of the stream.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length:  - 2028
 Pattern: [^\p{C}]+
description - The description of the stream.
public java.util.List<StreamFile> getFiles()
The files associated with the stream.
The files associated with the stream.
public void setFiles(java.util.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.
Returns a reference to this object so that method calls can be chained together.
files - The files associated with the stream.
public UpdateStreamRequest withFiles(java.util.Collection<StreamFile> files)
The files associated with the stream.
Returns a reference to this object so that method calls can be chained together.
files - The files associated with the stream.
public java.lang.String getRoleArn()
An IAM role that allows the IoT service principal assumes to access your S3 files.
 Constraints:
 Length: 20 - 2048
An IAM role that allows the IoT service principal assumes to access your S3 files.
public void setRoleArn(java.lang.String roleArn)
An IAM role that allows the IoT service principal assumes to access your S3 files.
 Constraints:
 Length: 20 - 2048
roleArn - An IAM role that allows the IoT service principal assumes to access your S3 files.
public UpdateStreamRequest withRoleArn(java.lang.String roleArn)
An IAM role that allows the IoT service principal assumes to access your S3 files.
Returns a reference to this object so that method calls can be chained together.
 Constraints:
 Length: 20 - 2048
roleArn - An IAM role that allows the IoT service principal assumes to access your S3 files.
public java.lang.String toString()
toString in class java.lang.ObjectObject.toString()public int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.ObjectCopyright © 2018 Amazon Web Services, Inc. All Rights Reserved.