public class CreateStreamResult
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
CreateStreamResult() |
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 version of the stream.
|
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 version of the stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
CreateStreamResult |
withDescription(java.lang.String description)
A description of the stream.
|
CreateStreamResult |
withStreamArn(java.lang.String streamArn)
The stream ARN.
|
CreateStreamResult |
withStreamId(java.lang.String streamId)
The stream ID.
|
CreateStreamResult |
withStreamVersion(java.lang.Integer streamVersion)
The version of the stream.
|
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 CreateStreamResult 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 CreateStreamResult 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.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 CreateStreamResult 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.Integer getStreamVersion()
The version of the stream.
Constraints:
Range: 0 - 65535
The version of the stream.
public void setStreamVersion(java.lang.Integer streamVersion)
The version of the stream.
Constraints:
Range: 0 - 65535
streamVersion
- The version of the stream.
public CreateStreamResult withStreamVersion(java.lang.Integer streamVersion)
The version of the stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Range: 0 - 65535
streamVersion
- The version 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.