@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStreamingImageRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A collection of streaming images.
NOOP
Constructor and Description |
---|
CreateStreamingImageRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStreamingImageRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateStreamingImageRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateStreamingImageRequest |
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 |
getDescription()
A human-readable description of the streaming image.
|
String |
getEc2ImageId()
The ID of an EC2 machine image with which to create this streaming image.
|
String |
getName()
A friendly name for a streaming image resource.
|
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 |
setDescription(String description)
A human-readable description of the streaming image.
|
void |
setEc2ImageId(String ec2ImageId)
The ID of an EC2 machine image with which to create this streaming image.
|
void |
setName(String name)
A friendly name for a streaming image resource.
|
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.
|
CreateStreamingImageRequest |
withClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request.
|
CreateStreamingImageRequest |
withDescription(String description)
A human-readable description of the streaming image.
|
CreateStreamingImageRequest |
withEc2ImageId(String ec2ImageId)
The ID of an EC2 machine image with which to create this streaming image.
|
CreateStreamingImageRequest |
withName(String name)
A friendly name for a streaming image resource.
|
CreateStreamingImageRequest |
withStudioId(String studioId)
The studio ID.
|
CreateStreamingImageRequest |
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 CreateStreamingImageRequest 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 setDescription(String description)
A human-readable description of the streaming image.
description
- A human-readable description of the streaming image.public String getDescription()
A human-readable description of the streaming image.
public CreateStreamingImageRequest withDescription(String description)
A human-readable description of the streaming image.
description
- A human-readable description of the streaming image.public void setEc2ImageId(String ec2ImageId)
The ID of an EC2 machine image with which to create this streaming image.
ec2ImageId
- The ID of an EC2 machine image with which to create this streaming image.public String getEc2ImageId()
The ID of an EC2 machine image with which to create this streaming image.
public CreateStreamingImageRequest withEc2ImageId(String ec2ImageId)
The ID of an EC2 machine image with which to create this streaming image.
ec2ImageId
- The ID of an EC2 machine image with which to create this streaming image.public void setName(String name)
A friendly name for a streaming image resource.
name
- A friendly name for a streaming image resource.public String getName()
A friendly name for a streaming image resource.
public CreateStreamingImageRequest withName(String name)
A friendly name for a streaming image resource.
name
- A friendly name for a streaming image resource.public void setStudioId(String studioId)
The studio ID.
studioId
- The studio ID.public String getStudioId()
The studio ID.
public CreateStreamingImageRequest 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 CreateStreamingImageRequest 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 CreateStreamingImageRequest addTagsEntry(String key, String value)
public CreateStreamingImageRequest clearTagsEntries()
public String toString()
toString
in class Object
Object.toString()
public CreateStreamingImageRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()