@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StreamSummary extends Object implements Serializable, Cloneable, StructuredPojo
A summary of a stream.
Constructor and Description |
---|
StreamSummary() |
Modifier and Type | Method and Description |
---|---|
StreamSummary |
clone() |
boolean |
equals(Object obj) |
String |
getDescription()
A description of the stream.
|
String |
getStreamArn()
The stream ARN.
|
String |
getStreamId()
The stream ID.
|
Integer |
getStreamVersion()
The stream version.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setDescription(String description)
A description of the stream.
|
void |
setStreamArn(String streamArn)
The stream ARN.
|
void |
setStreamId(String streamId)
The stream ID.
|
void |
setStreamVersion(Integer streamVersion)
The stream version.
|
String |
toString()
Returns a string representation of this object.
|
StreamSummary |
withDescription(String description)
A description of the stream.
|
StreamSummary |
withStreamArn(String streamArn)
The stream ARN.
|
StreamSummary |
withStreamId(String streamId)
The stream ID.
|
StreamSummary |
withStreamVersion(Integer streamVersion)
The stream version.
|
public void setStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public String getStreamId()
The stream ID.
public StreamSummary withStreamId(String streamId)
The stream ID.
streamId
- The stream ID.public void setStreamArn(String streamArn)
The stream ARN.
streamArn
- The stream ARN.public String getStreamArn()
The stream ARN.
public StreamSummary withStreamArn(String streamArn)
The stream ARN.
streamArn
- The stream ARN.public void setStreamVersion(Integer streamVersion)
The stream version.
streamVersion
- The stream version.public Integer getStreamVersion()
The stream version.
public StreamSummary withStreamVersion(Integer streamVersion)
The stream version.
streamVersion
- The stream version.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 StreamSummary withDescription(String description)
A description of the stream.
description
- A description of the stream.public String toString()
toString
in class Object
Object.toString()
public StreamSummary clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.