public class ListTagsForStreamRequest extends AmazonWebServiceRequest implements java.io.Serializable
Returns a list of tags associated with the specified stream.
In the request, you must specify either the StreamName
or the
StreamARN
.
Constructor and Description |
---|
ListTagsForStreamRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getNextToken()
If you specify this parameter and the result of a
ListTagsForStream call is truncated, the response includes a
token that you can use in the next request to fetch the next batch of
tags. |
java.lang.String |
getStreamARN()
The Amazon Resource Name (ARN) of the stream that you want to list tags
for.
|
java.lang.String |
getStreamName()
The name of the stream that you want to list tags for.
|
int |
hashCode() |
void |
setNextToken(java.lang.String nextToken)
If you specify this parameter and the result of a
ListTagsForStream call is truncated, the response includes a
token that you can use in the next request to fetch the next batch of
tags. |
void |
setStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to list tags
for.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream that you want to list tags for.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
ListTagsForStreamRequest |
withNextToken(java.lang.String nextToken)
If you specify this parameter and the result of a
ListTagsForStream call is truncated, the response includes a
token that you can use in the next request to fetch the next batch of
tags. |
ListTagsForStreamRequest |
withStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to list tags
for.
|
ListTagsForStreamRequest |
withStreamName(java.lang.String streamName)
The name of the stream that you want to list tags for.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getNextToken()
If you specify this parameter and the result of a
ListTagsForStream
call is truncated, the response includes a
token that you can use in the next request to fetch the next batch of
tags.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
If you specify this parameter and the result of a
ListTagsForStream
call is truncated, the response
includes a token that you can use in the next request to fetch
the next batch of tags.
public void setNextToken(java.lang.String nextToken)
If you specify this parameter and the result of a
ListTagsForStream
call is truncated, the response includes a
token that you can use in the next request to fetch the next batch of
tags.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
nextToken
-
If you specify this parameter and the result of a
ListTagsForStream
call is truncated, the response
includes a token that you can use in the next request to fetch
the next batch of tags.
public ListTagsForStreamRequest withNextToken(java.lang.String nextToken)
If you specify this parameter and the result of a
ListTagsForStream
call is truncated, the response includes a
token that you can use in the next request to fetch the next batch of
tags.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 512
Pattern: [a-zA-Z0-9+/=]*
nextToken
-
If you specify this parameter and the result of a
ListTagsForStream
call is truncated, the response
includes a token that you can use in the next request to fetch
the next batch of tags.
public java.lang.String getStreamARN()
The Amazon Resource Name (ARN) of the stream that you want to list tags for.
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 that you want to list tags for.
public void setStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to list tags for.
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 that you want to list tags for.
public ListTagsForStreamRequest withStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to list tags for.
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 that you want to list tags for.
public java.lang.String getStreamName()
The name of the stream that you want to list tags for.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
The name of the stream that you want to list tags for.
public void setStreamName(java.lang.String streamName)
The name of the stream that you want to list tags for.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
streamName
- The name of the stream that you want to list tags for.
public ListTagsForStreamRequest withStreamName(java.lang.String streamName)
The name of the stream that you want to list tags for.
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 that you want to list tags for.
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.