@Generated(value="software.amazon.awssdk:codegen") public final class CreateLaunchProfileRequest extends NimbleRequest implements ToCopyableBuilder<CreateLaunchProfileRequest.Builder,CreateLaunchProfileRequest>
A collection of launch profiles.
| Modifier and Type | Class and Description |
|---|---|
static interface |
CreateLaunchProfileRequest.Builder |
| Modifier and Type | Method and Description |
|---|---|
static CreateLaunchProfileRequest.Builder |
builder() |
String |
clientToken()
To make an idempotent API request using one of these actions, specify a client token in the request.
|
String |
description()
The description.
|
List<String> |
ec2SubnetIds()
Returns the value of the Ec2SubnetIds property for this object.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasEc2SubnetIds()
For responses, this returns true if the service returned a value for the Ec2SubnetIds property.
|
int |
hashCode() |
boolean |
hasLaunchProfileProtocolVersions()
For responses, this returns true if the service returned a value for the LaunchProfileProtocolVersions property.
|
boolean |
hasStudioComponentIds()
For responses, this returns true if the service returned a value for the StudioComponentIds property.
|
boolean |
hasTags()
For responses, this returns true if the service returned a value for the Tags property.
|
List<String> |
launchProfileProtocolVersions()
The version number of the protocol that is used by the launch profile.
|
String |
name()
The name for the launch profile.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateLaunchProfileRequest.Builder> |
serializableBuilderClass() |
StreamConfigurationCreate |
streamConfiguration()
A configuration for a streaming session.
|
List<String> |
studioComponentIds()
Unique identifiers for a collection of studio components that can be used with this launch profile.
|
String |
studioId()
The studio ID.
|
Map<String,String> |
tags()
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
CreateLaunchProfileRequest.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
overrideConfigurationclone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final 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.
public final String description()
The description.
public final boolean hasEc2SubnetIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> ec2SubnetIds()
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasEc2SubnetIds() method.
public final boolean hasLaunchProfileProtocolVersions()
isEmpty() method on the
property). This is useful because the SDK will never return a null collection or map, but you may need to
differentiate between the service returning nothing (or null) and the service returning an empty collection or
map. For requests, this returns true if a value for the property was specified in the request builder, and false
if a value was not specified.public final List<String> launchProfileProtocolVersions()
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasLaunchProfileProtocolVersions() method.
public final String name()
The name for the launch profile.
public final StreamConfigurationCreate streamConfiguration()
A configuration for a streaming session.
public final boolean hasStudioComponentIds()
isEmpty() method on the property).
This is useful because the SDK will never return a null collection or map, but you may need to differentiate
between the service returning nothing (or null) and the service returning an empty collection or map. For
requests, this returns true if a value for the property was specified in the request builder, and false if a
value was not specified.public final List<String> studioComponentIds()
Unique identifiers for a collection of studio components that can be used with this launch profile.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasStudioComponentIds() method.
public final String studioId()
The studio ID.
public final boolean hasTags()
isEmpty() method on the property). This is useful
because the SDK will never return a null collection or map, but you may need to differentiate between the service
returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true
if a value for the property was specified in the request builder, and false if a value was not specified.public final Map<String,String> tags()
A collection of labels, in the form of key:value pairs, that apply to this resource.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
This method will never return null. If you would like to know whether the service returned this field (so that
you can differentiate between null and empty), you can use the hasTags() method.
public CreateLaunchProfileRequest.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<CreateLaunchProfileRequest.Builder,CreateLaunchProfileRequest>toBuilder in class NimbleRequestpublic static CreateLaunchProfileRequest.Builder builder()
public static Class<? extends CreateLaunchProfileRequest.Builder> serializableBuilderClass()
public final int hashCode()
hashCode in class AwsRequestpublic final boolean equals(Object obj)
equals in class AwsRequestpublic final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
getValueForField in class SdkRequestCopyright © 2021. All rights reserved.