public class DescribeStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns the most current information about the specified stream. You must
specify either the StreamName
or the StreamARN
.
Constructor and Description |
---|
DescribeStreamRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getStreamARN()
The Amazon Resource Name (ARN) of the stream.
|
java.lang.String |
getStreamName()
The name of the stream.
|
int |
hashCode() |
void |
setStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
DescribeStreamRequest |
withStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream.
|
DescribeStreamRequest |
withStreamName(java.lang.String streamName)
The name of the stream.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStreamName()
The name of the stream.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
The name of the stream.
public void setStreamName(java.lang.String streamName)
The name of the stream.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream.
public DescribeStreamRequest withStreamName(java.lang.String streamName)
The name of the stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream.
public java.lang.String getStreamARN()
The Amazon Resource Name (ARN) of the stream.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
The Amazon Resource Name (ARN) of the stream.
public void setStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
streamARN
- The Amazon Resource Name (ARN) of the stream.
public DescribeStreamRequest withStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 1 - 1024
Pattern:
arn:aws:kinesisvideo:[a-z0-9-]+:[0-9]+:[a-z]+/[a-zA-Z0-9_.-]+/[0-9]+
streamARN
- The Amazon Resource Name (ARN) 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.