public class StreamSummary
extends java.lang.Object
implements java.io.Serializable
A summary of a stream.
Constructor and Description |
---|
StreamSummary() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getDescription()
A description of the stream.
|
java.lang.String |
getStreamArn()
The stream ARN.
|
java.lang.String |
getStreamId()
The stream ID.
|
java.lang.Integer |
getStreamVersion()
The stream version.
|
int |
hashCode() |
void |
setDescription(java.lang.String description)
A description of the stream.
|
void |
setStreamArn(java.lang.String streamArn)
The stream ARN.
|
void |
setStreamId(java.lang.String streamId)
The stream ID.
|
void |
setStreamVersion(java.lang.Integer streamVersion)
The stream version.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
StreamSummary |
withDescription(java.lang.String description)
A description of the stream.
|
StreamSummary |
withStreamArn(java.lang.String streamArn)
The stream ARN.
|
StreamSummary |
withStreamId(java.lang.String streamId)
The stream ID.
|
StreamSummary |
withStreamVersion(java.lang.Integer streamVersion)
The stream version.
|
public 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 StreamSummary 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 getStreamArn()
The stream ARN.
The stream ARN.
public void setStreamArn(java.lang.String streamArn)
The stream ARN.
streamArn
- The stream ARN.
public StreamSummary withStreamArn(java.lang.String streamArn)
The stream ARN.
Returns a reference to this object so that method calls can be chained together.
streamArn
- The stream ARN.
public java.lang.Integer getStreamVersion()
The stream version.
Constraints:
Range: 0 - 65535
The stream version.
public void setStreamVersion(java.lang.Integer streamVersion)
The stream version.
Constraints:
Range: 0 - 65535
streamVersion
- The stream version.
public StreamSummary withStreamVersion(java.lang.Integer streamVersion)
The stream version.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 65535
streamVersion
- The stream version.
public java.lang.String getDescription()
A description of the stream.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
A description of the stream.
public void setDescription(java.lang.String description)
A description of the stream.
Constraints:
Length: - 2028
Pattern: [^\p{C}]+
description
- A description of the stream.
public StreamSummary withDescription(java.lang.String description)
A 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
- A description of the stream.
public java.lang.String toString()
toString
in class java.lang.Object
Object.toString()
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.