@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStreamingSessionRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getEc2InstanceType()
The EC2 Instance type used for the streaming session.
|
String |
getLaunchProfileId()
The ID of the launch profile used to control access from the streaming session.
|
String |
getOwnedBy()
The user ID of the user that owns the streaming session.
|
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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setEc2InstanceType(String ec2InstanceType)
The EC2 Instance type used for the streaming session.
|
void |
setLaunchProfileId(String launchProfileId)
The ID of the launch profile used to control access from the streaming session.
|
void |
setOwnedBy(String ownedBy)
The user ID of the user that owns the streaming session.
|
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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of 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 ID of the launch profile used to control access from the streaming session.
|
CreateStreamingSessionRequest |
withOwnedBy(String ownedBy)
The user ID of the user that owns the streaming session.
|
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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t
specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for
the request to ensure idempotency.public String getClientToken()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
public CreateStreamingSessionRequest withClientToken(String clientToken)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for the request to ensure idempotency.
clientToken
- Unique, case-sensitive identifier that you provide to ensure the idempotency of the request. If you don’t
specify a client token, the Amazon Web Services SDK automatically generates a client token and uses it for
the request to ensure idempotency.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 ID of the launch profile used to control access from the streaming session.
launchProfileId
- The ID of the launch profile used to control access from the streaming session.public String getLaunchProfileId()
The ID of the launch profile used to control access from the streaming session.
public CreateStreamingSessionRequest withLaunchProfileId(String launchProfileId)
The ID of the launch profile used to control access from the streaming session.
launchProfileId
- The ID of the launch profile used to control access from the streaming session.public void setOwnedBy(String ownedBy)
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
ownedBy
- The user ID of the user that owns the streaming session. The user that owns the session will be logging
into the session and interacting with the virtual workstation.public String getOwnedBy()
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
public CreateStreamingSessionRequest withOwnedBy(String ownedBy)
The user ID of the user that owns the streaming session. The user that owns the session will be logging into the session and interacting with the virtual workstation.
ownedBy
- The user ID of the user that owns the streaming session. The user that owns the session will be logging
into the session and interacting with the virtual workstation.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()