@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStreamingSessionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A collection of streaming sessions.
NOOP
Constructor and Description |
---|
CreateStreamingSessionRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStreamingSessionRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateStreamingSessionRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateStreamingSessionRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getClientToken()
To make an idempotent API request using one of these actions, specify a client token in the request.
|
String |
getEc2InstanceType()
The EC2 Instance type used for the streaming session.
|
String |
getLaunchProfileId()
The launch profile ID.
|
String |
getStreamingImageId()
The ID of the streaming image.
|
String |
getStudioId()
The studio ID.
|
Map<String,String> |
getTags()
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
int |
hashCode() |
void |
setClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request.
|
void |
setEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
|
void |
setLaunchProfileId(String launchProfileId)
The launch profile ID.
|
void |
setStreamingImageId(String streamingImageId)
The ID of the streaming image.
|
void |
setStudioId(String studioId)
The studio ID.
|
void |
setTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
String |
toString()
Returns a string representation of this object.
|
CreateStreamingSessionRequest |
withClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request.
|
CreateStreamingSessionRequest |
withEc2InstanceType(StreamingInstanceType ec2InstanceType)
The EC2 Instance type used for the streaming session.
|
CreateStreamingSessionRequest |
withEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
|
CreateStreamingSessionRequest |
withLaunchProfileId(String launchProfileId)
The launch profile ID.
|
CreateStreamingSessionRequest |
withStreamingImageId(String streamingImageId)
The ID of the streaming image.
|
CreateStreamingSessionRequest |
withStudioId(String studioId)
The studio ID.
|
CreateStreamingSessionRequest |
withTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
clientToken
- To make an idempotent API request using one of these actions, specify a client token in the request. You
should not reuse the same client token for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the retry succeeds without performing
any further actions. If you retry a successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException error.public String getClientToken()
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
public CreateStreamingSessionRequest withClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request. You should not reuse the same client token for other API requests. If you retry a request that completed successfully using the same client token and the same parameters, the retry succeeds without performing any further actions. If you retry a successful request using the same client token, but one or more of the parameters are different, the retry fails with a ValidationException error.
clientToken
- To make an idempotent API request using one of these actions, specify a client token in the request. You
should not reuse the same client token for other API requests. If you retry a request that completed
successfully using the same client token and the same parameters, the retry succeeds without performing
any further actions. If you retry a successful request using the same client token, but one or more of the
parameters are different, the retry fails with a ValidationException error.public void setEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
ec2InstanceType
- The EC2 Instance type used for the streaming session.StreamingInstanceType
public String getEc2InstanceType()
The EC2 Instance type used for the streaming session.
StreamingInstanceType
public CreateStreamingSessionRequest withEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
ec2InstanceType
- The EC2 Instance type used for the streaming session.StreamingInstanceType
public CreateStreamingSessionRequest withEc2InstanceType(StreamingInstanceType ec2InstanceType)
The EC2 Instance type used for the streaming session.
ec2InstanceType
- The EC2 Instance type used for the streaming session.StreamingInstanceType
public void setLaunchProfileId(String launchProfileId)
The launch profile ID.
launchProfileId
- The launch profile ID.public String getLaunchProfileId()
The launch profile ID.
public CreateStreamingSessionRequest withLaunchProfileId(String launchProfileId)
The launch profile ID.
launchProfileId
- The launch profile ID.public void setStreamingImageId(String streamingImageId)
The ID of the streaming image.
streamingImageId
- The ID of the streaming image.public String getStreamingImageId()
The ID of the streaming image.
public CreateStreamingSessionRequest withStreamingImageId(String streamingImageId)
The ID of the streaming image.
streamingImageId
- The ID of the streaming image.public void setStudioId(String studioId)
The studio ID.
studioId
- The studio ID.public String getStudioId()
The studio ID.
public CreateStreamingSessionRequest withStudioId(String studioId)
The studio ID.
studioId
- The studio ID.public Map<String,String> getTags()
A collection of labels, in the form of key:value pairs, that apply to this resource.
public void setTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
tags
- A collection of labels, in the form of key:value pairs, that apply to this resource.public CreateStreamingSessionRequest withTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
tags
- A collection of labels, in the form of key:value pairs, that apply to this resource.public CreateStreamingSessionRequest addTagsEntry(String key, String value)
public CreateStreamingSessionRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateStreamingSessionRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()