public class GetDataEndpointRequest extends AmazonWebServiceRequest implements java.io.Serializable
Gets an endpoint for a specified stream for either reading or writing. Use
this endpoint in your application to read from the specified stream (using
the GetMedia
or GetMediaForFragmentList
operations)
or write to it (using the PutMedia
operation).
The returned endpoint does not have the API name appended. The client needs to add the API name to the returned endpoint.
In the request, specify the stream either by StreamName
or
StreamARN
.
Constructor and Description |
---|
GetDataEndpointRequest() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getAPIName()
The name of the API action for which to get an endpoint.
|
java.lang.String |
getStreamARN()
The Amazon Resource Name (ARN) of the stream that you want to get the
endpoint for.
|
java.lang.String |
getStreamName()
The name of the stream that you want to get the endpoint for.
|
int |
hashCode() |
void |
setAPIName(APIName aPIName)
The name of the API action for which to get an endpoint.
|
void |
setAPIName(java.lang.String aPIName)
The name of the API action for which to get an endpoint.
|
void |
setStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to get the
endpoint for.
|
void |
setStreamName(java.lang.String streamName)
The name of the stream that you want to get the endpoint for.
|
java.lang.String |
toString()
Returns a string representation of this object; useful for testing and
debugging.
|
GetDataEndpointRequest |
withAPIName(APIName aPIName)
The name of the API action for which to get an endpoint.
|
GetDataEndpointRequest |
withAPIName(java.lang.String aPIName)
The name of the API action for which to get an endpoint.
|
GetDataEndpointRequest |
withStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to get the
endpoint for.
|
GetDataEndpointRequest |
withStreamName(java.lang.String streamName)
The name of the stream that you want to get the endpoint for.
|
clone, getCloneRoot, getCloneSource, getGeneralProgressListener, getRequestClientOptions, getRequestCredentials, getRequestMetricCollector, setGeneralProgressListener, setRequestCredentials, setRequestMetricCollector, withGeneralProgressListener, withRequestMetricCollector
public java.lang.String getStreamName()
The name of the stream that you want to get the endpoint for. You must
specify either this parameter or a StreamARN
in the request.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
The name of the stream that you want to get the endpoint for. You
must specify either this parameter or a StreamARN
in
the request.
public void setStreamName(java.lang.String streamName)
The name of the stream that you want to get the endpoint for. You must
specify either this parameter or a StreamARN
in the request.
Constraints:
Length: 1 - 256
Pattern: [a-zA-Z0-9_.-]+
streamName
-
The name of the stream that you want to get the endpoint for.
You must specify either this parameter or a
StreamARN
in the request.
public GetDataEndpointRequest withStreamName(java.lang.String streamName)
The name of the stream that you want to get the endpoint for. You must
specify either this parameter or a StreamARN
in the request.
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 get the endpoint for.
You must specify either this parameter or a
StreamARN
in the request.
public java.lang.String getStreamARN()
The Amazon Resource Name (ARN) of the stream that you want to get the
endpoint for. You must specify either this parameter or a
StreamName
in the request.
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 get
the endpoint for. You must specify either this parameter or a
StreamName
in the request.
public void setStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to get the
endpoint for. You must specify either this parameter or a
StreamName
in the request.
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
get the endpoint for. You must specify either this parameter
or a StreamName
in the request.
public GetDataEndpointRequest withStreamARN(java.lang.String streamARN)
The Amazon Resource Name (ARN) of the stream that you want to get the
endpoint for. You must specify either this parameter or a
StreamName
in the request.
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
get the endpoint for. You must specify either this parameter
or a StreamName
in the request.
public java.lang.String getAPIName()
The name of the API action for which to get an endpoint.
Constraints:
Allowed Values: PUT_MEDIA, GET_MEDIA, LIST_FRAGMENTS,
GET_MEDIA_FOR_FRAGMENT_LIST, GET_HLS_STREAMING_SESSION_URL,
GET_DASH_STREAMING_SESSION_URL
The name of the API action for which to get an endpoint.
APIName
public void setAPIName(java.lang.String aPIName)
The name of the API action for which to get an endpoint.
Constraints:
Allowed Values: PUT_MEDIA, GET_MEDIA, LIST_FRAGMENTS,
GET_MEDIA_FOR_FRAGMENT_LIST, GET_HLS_STREAMING_SESSION_URL,
GET_DASH_STREAMING_SESSION_URL
aPIName
- The name of the API action for which to get an endpoint.
APIName
public GetDataEndpointRequest withAPIName(java.lang.String aPIName)
The name of the API action for which to get an endpoint.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PUT_MEDIA, GET_MEDIA, LIST_FRAGMENTS,
GET_MEDIA_FOR_FRAGMENT_LIST, GET_HLS_STREAMING_SESSION_URL,
GET_DASH_STREAMING_SESSION_URL
aPIName
- The name of the API action for which to get an endpoint.
APIName
public void setAPIName(APIName aPIName)
The name of the API action for which to get an endpoint.
Constraints:
Allowed Values: PUT_MEDIA, GET_MEDIA, LIST_FRAGMENTS,
GET_MEDIA_FOR_FRAGMENT_LIST, GET_HLS_STREAMING_SESSION_URL,
GET_DASH_STREAMING_SESSION_URL
aPIName
- The name of the API action for which to get an endpoint.
APIName
public GetDataEndpointRequest withAPIName(APIName aPIName)
The name of the API action for which to get an endpoint.
Returns a reference to this object so that method calls can be chained together.
Constraints:
Allowed Values: PUT_MEDIA, GET_MEDIA, LIST_FRAGMENTS,
GET_MEDIA_FOR_FRAGMENT_LIST, GET_HLS_STREAMING_SESSION_URL,
GET_DASH_STREAMING_SESSION_URL
aPIName
- The name of the API action for which to get an endpoint.
APIName
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.