@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLaunchProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
A collection of launch profiles.
NOOP| Constructor and Description |
|---|
CreateLaunchProfileRequest() |
| Modifier and Type | Method and Description |
|---|---|
CreateLaunchProfileRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateLaunchProfileRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateLaunchProfileRequest |
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()
The description.
|
List<String> |
getEc2SubnetIds() |
List<String> |
getLaunchProfileProtocolVersions()
The version number of the protocol that is used by the launch profile.
|
String |
getName()
The name for the launch profile.
|
StreamConfigurationCreate |
getStreamConfiguration()
A configuration for a streaming session.
|
List<String> |
getStudioComponentIds()
Unique identifiers for a collection of studio components that can be used with this launch profile.
|
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)
The description.
|
void |
setEc2SubnetIds(Collection<String> ec2SubnetIds) |
void |
setLaunchProfileProtocolVersions(Collection<String> launchProfileProtocolVersions)
The version number of the protocol that is used by the launch profile.
|
void |
setName(String name)
The name for the launch profile.
|
void |
setStreamConfiguration(StreamConfigurationCreate streamConfiguration)
A configuration for a streaming session.
|
void |
setStudioComponentIds(Collection<String> studioComponentIds)
Unique identifiers for a collection of studio components that can be used with this launch profile.
|
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.
|
CreateLaunchProfileRequest |
withClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request.
|
CreateLaunchProfileRequest |
withDescription(String description)
The description.
|
CreateLaunchProfileRequest |
withEc2SubnetIds(Collection<String> ec2SubnetIds) |
CreateLaunchProfileRequest |
withEc2SubnetIds(String... ec2SubnetIds)
NOTE: This method appends the values to the existing list (if any).
|
CreateLaunchProfileRequest |
withLaunchProfileProtocolVersions(Collection<String> launchProfileProtocolVersions)
The version number of the protocol that is used by the launch profile.
|
CreateLaunchProfileRequest |
withLaunchProfileProtocolVersions(String... launchProfileProtocolVersions)
The version number of the protocol that is used by the launch profile.
|
CreateLaunchProfileRequest |
withName(String name)
The name for the launch profile.
|
CreateLaunchProfileRequest |
withStreamConfiguration(StreamConfigurationCreate streamConfiguration)
A configuration for a streaming session.
|
CreateLaunchProfileRequest |
withStudioComponentIds(Collection<String> studioComponentIds)
Unique identifiers for a collection of studio components that can be used with this launch profile.
|
CreateLaunchProfileRequest |
withStudioComponentIds(String... studioComponentIds)
Unique identifiers for a collection of studio components that can be used with this launch profile.
|
CreateLaunchProfileRequest |
withStudioId(String studioId)
The studio ID.
|
CreateLaunchProfileRequest |
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, withSdkRequestTimeoutpublic 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 CreateLaunchProfileRequest 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)
The description.
description - The description.public String getDescription()
The description.
public CreateLaunchProfileRequest withDescription(String description)
The description.
description - The description.public void setEc2SubnetIds(Collection<String> ec2SubnetIds)
ec2SubnetIds - public CreateLaunchProfileRequest withEc2SubnetIds(String... ec2SubnetIds)
NOTE: This method appends the values to the existing list (if any). Use
setEc2SubnetIds(java.util.Collection) or withEc2SubnetIds(java.util.Collection) if you want to
override the existing values.
ec2SubnetIds - public CreateLaunchProfileRequest withEc2SubnetIds(Collection<String> ec2SubnetIds)
ec2SubnetIds - public List<String> getLaunchProfileProtocolVersions()
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
public void setLaunchProfileProtocolVersions(Collection<String> launchProfileProtocolVersions)
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
launchProfileProtocolVersions - The version number of the protocol that is used by the launch profile. The only valid version is
"2021-03-31".public CreateLaunchProfileRequest withLaunchProfileProtocolVersions(String... launchProfileProtocolVersions)
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
NOTE: This method appends the values to the existing list (if any). Use
setLaunchProfileProtocolVersions(java.util.Collection) or
withLaunchProfileProtocolVersions(java.util.Collection) if you want to override the existing values.
launchProfileProtocolVersions - The version number of the protocol that is used by the launch profile. The only valid version is
"2021-03-31".public CreateLaunchProfileRequest withLaunchProfileProtocolVersions(Collection<String> launchProfileProtocolVersions)
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
launchProfileProtocolVersions - The version number of the protocol that is used by the launch profile. The only valid version is
"2021-03-31".public void setName(String name)
The name for the launch profile.
name - The name for the launch profile.public String getName()
The name for the launch profile.
public CreateLaunchProfileRequest withName(String name)
The name for the launch profile.
name - The name for the launch profile.public void setStreamConfiguration(StreamConfigurationCreate streamConfiguration)
A configuration for a streaming session.
streamConfiguration - A configuration for a streaming session.public StreamConfigurationCreate getStreamConfiguration()
A configuration for a streaming session.
public CreateLaunchProfileRequest withStreamConfiguration(StreamConfigurationCreate streamConfiguration)
A configuration for a streaming session.
streamConfiguration - A configuration for a streaming session.public List<String> getStudioComponentIds()
Unique identifiers for a collection of studio components that can be used with this launch profile.
public void setStudioComponentIds(Collection<String> studioComponentIds)
Unique identifiers for a collection of studio components that can be used with this launch profile.
studioComponentIds - Unique identifiers for a collection of studio components that can be used with this launch profile.public CreateLaunchProfileRequest withStudioComponentIds(String... studioComponentIds)
Unique identifiers for a collection of studio components that can be used with this launch profile.
NOTE: This method appends the values to the existing list (if any). Use
setStudioComponentIds(java.util.Collection) or withStudioComponentIds(java.util.Collection) if
you want to override the existing values.
studioComponentIds - Unique identifiers for a collection of studio components that can be used with this launch profile.public CreateLaunchProfileRequest withStudioComponentIds(Collection<String> studioComponentIds)
Unique identifiers for a collection of studio components that can be used with this launch profile.
studioComponentIds - Unique identifiers for a collection of studio components that can be used with this launch profile.public void setStudioId(String studioId)
The studio ID.
studioId - The studio ID.public String getStudioId()
The studio ID.
public CreateLaunchProfileRequest 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 CreateLaunchProfileRequest 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 CreateLaunchProfileRequest addTagsEntry(String key, String value)
public CreateLaunchProfileRequest clearTagsEntries()
public String toString()
toString in class ObjectObject.toString()public CreateLaunchProfileRequest clone()
AmazonWebServiceRequestclone in class AmazonWebServiceRequestObject.clone()