@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateLaunchProfileRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
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()
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
String |
getDescription()
The description.
|
List<String> |
getEc2SubnetIds()
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from.
|
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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
void |
setDescription(String description)
The description.
|
void |
setEc2SubnetIds(Collection<String> ec2SubnetIds)
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from.
|
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)
Unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
|
CreateLaunchProfileRequest |
withDescription(String description)
The description.
|
CreateLaunchProfileRequest |
withEc2SubnetIds(Collection<String> ec2SubnetIds)
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from.
|
CreateLaunchProfileRequest |
withEc2SubnetIds(String... ec2SubnetIds)
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from.
|
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, 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 CreateLaunchProfileRequest 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 setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public CreateLaunchProfileRequest withDescription(String description)
The description.
description
- The description.public List<String> getEc2SubnetIds()
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
public void setEc2SubnetIds(Collection<String> ec2SubnetIds)
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
ec2SubnetIds
- Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must
support the specified instance types.public CreateLaunchProfileRequest withEc2SubnetIds(String... ec2SubnetIds)
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
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
- Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must
support the specified instance types.public CreateLaunchProfileRequest withEc2SubnetIds(Collection<String> ec2SubnetIds)
Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must support the specified instance types.
ec2SubnetIds
- Specifies the IDs of the EC2 subnets where streaming sessions will be accessible from. These subnets must
support the specified instance types.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 Object
Object.toString()
public CreateLaunchProfileRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()