@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateStudioComponentRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
The studio components.
NOOP
Constructor and Description |
---|
CreateStudioComponentRequest() |
Modifier and Type | Method and Description |
---|---|
CreateStudioComponentRequest |
addTagsEntry(String key,
String value)
Add a single Tags entry
|
CreateStudioComponentRequest |
clearTagsEntries()
Removes all the entries added into Tags.
|
CreateStudioComponentRequest |
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.
|
StudioComponentConfiguration |
getConfiguration()
The configuration of the studio component, based on component type.
|
String |
getDescription()
The description.
|
List<String> |
getEc2SecurityGroupIds()
The EC2 security groups that control access to the studio component.
|
List<StudioComponentInitializationScript> |
getInitializationScripts()
Initialization scripts for studio components.
|
String |
getName()
The name for the studio component.
|
List<ScriptParameterKeyValue> |
getScriptParameters()
Parameters for the studio component scripts.
|
String |
getStudioId()
The studio ID.
|
String |
getSubtype()
The specific subtype of a studio component.
|
Map<String,String> |
getTags()
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
String |
getType()
The type of the studio component.
|
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 |
setConfiguration(StudioComponentConfiguration configuration)
The configuration of the studio component, based on component type.
|
void |
setDescription(String description)
The description.
|
void |
setEc2SecurityGroupIds(Collection<String> ec2SecurityGroupIds)
The EC2 security groups that control access to the studio component.
|
void |
setInitializationScripts(Collection<StudioComponentInitializationScript> initializationScripts)
Initialization scripts for studio components.
|
void |
setName(String name)
The name for the studio component.
|
void |
setScriptParameters(Collection<ScriptParameterKeyValue> scriptParameters)
Parameters for the studio component scripts.
|
void |
setStudioId(String studioId)
The studio ID.
|
void |
setSubtype(String subtype)
The specific subtype of a studio component.
|
void |
setTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
void |
setType(String type)
The type of the studio component.
|
String |
toString()
Returns a string representation of this object.
|
CreateStudioComponentRequest |
withClientToken(String clientToken)
To make an idempotent API request using one of these actions, specify a client token in the request.
|
CreateStudioComponentRequest |
withConfiguration(StudioComponentConfiguration configuration)
The configuration of the studio component, based on component type.
|
CreateStudioComponentRequest |
withDescription(String description)
The description.
|
CreateStudioComponentRequest |
withEc2SecurityGroupIds(Collection<String> ec2SecurityGroupIds)
The EC2 security groups that control access to the studio component.
|
CreateStudioComponentRequest |
withEc2SecurityGroupIds(String... ec2SecurityGroupIds)
The EC2 security groups that control access to the studio component.
|
CreateStudioComponentRequest |
withInitializationScripts(Collection<StudioComponentInitializationScript> initializationScripts)
Initialization scripts for studio components.
|
CreateStudioComponentRequest |
withInitializationScripts(StudioComponentInitializationScript... initializationScripts)
Initialization scripts for studio components.
|
CreateStudioComponentRequest |
withName(String name)
The name for the studio component.
|
CreateStudioComponentRequest |
withScriptParameters(Collection<ScriptParameterKeyValue> scriptParameters)
Parameters for the studio component scripts.
|
CreateStudioComponentRequest |
withScriptParameters(ScriptParameterKeyValue... scriptParameters)
Parameters for the studio component scripts.
|
CreateStudioComponentRequest |
withStudioId(String studioId)
The studio ID.
|
CreateStudioComponentRequest |
withSubtype(String subtype)
The specific subtype of a studio component.
|
CreateStudioComponentRequest |
withSubtype(StudioComponentSubtype subtype)
The specific subtype of a studio component.
|
CreateStudioComponentRequest |
withTags(Map<String,String> tags)
A collection of labels, in the form of key:value pairs, that apply to this resource.
|
CreateStudioComponentRequest |
withType(String type)
The type of the studio component.
|
CreateStudioComponentRequest |
withType(StudioComponentType type)
The type of the studio component.
|
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 CreateStudioComponentRequest 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 setConfiguration(StudioComponentConfiguration configuration)
The configuration of the studio component, based on component type.
configuration
- The configuration of the studio component, based on component type.public StudioComponentConfiguration getConfiguration()
The configuration of the studio component, based on component type.
public CreateStudioComponentRequest withConfiguration(StudioComponentConfiguration configuration)
The configuration of the studio component, based on component type.
configuration
- The configuration of the studio component, based on component type.public void setDescription(String description)
The description.
description
- The description.public String getDescription()
The description.
public CreateStudioComponentRequest withDescription(String description)
The description.
description
- The description.public List<String> getEc2SecurityGroupIds()
The EC2 security groups that control access to the studio component.
public void setEc2SecurityGroupIds(Collection<String> ec2SecurityGroupIds)
The EC2 security groups that control access to the studio component.
ec2SecurityGroupIds
- The EC2 security groups that control access to the studio component.public CreateStudioComponentRequest withEc2SecurityGroupIds(String... ec2SecurityGroupIds)
The EC2 security groups that control access to the studio component.
NOTE: This method appends the values to the existing list (if any). Use
setEc2SecurityGroupIds(java.util.Collection)
or withEc2SecurityGroupIds(java.util.Collection)
if you want to override the existing values.
ec2SecurityGroupIds
- The EC2 security groups that control access to the studio component.public CreateStudioComponentRequest withEc2SecurityGroupIds(Collection<String> ec2SecurityGroupIds)
The EC2 security groups that control access to the studio component.
ec2SecurityGroupIds
- The EC2 security groups that control access to the studio component.public List<StudioComponentInitializationScript> getInitializationScripts()
Initialization scripts for studio components.
public void setInitializationScripts(Collection<StudioComponentInitializationScript> initializationScripts)
Initialization scripts for studio components.
initializationScripts
- Initialization scripts for studio components.public CreateStudioComponentRequest withInitializationScripts(StudioComponentInitializationScript... initializationScripts)
Initialization scripts for studio components.
NOTE: This method appends the values to the existing list (if any). Use
setInitializationScripts(java.util.Collection)
or
withInitializationScripts(java.util.Collection)
if you want to override the existing values.
initializationScripts
- Initialization scripts for studio components.public CreateStudioComponentRequest withInitializationScripts(Collection<StudioComponentInitializationScript> initializationScripts)
Initialization scripts for studio components.
initializationScripts
- Initialization scripts for studio components.public void setName(String name)
The name for the studio component.
name
- The name for the studio component.public String getName()
The name for the studio component.
public CreateStudioComponentRequest withName(String name)
The name for the studio component.
name
- The name for the studio component.public List<ScriptParameterKeyValue> getScriptParameters()
Parameters for the studio component scripts.
public void setScriptParameters(Collection<ScriptParameterKeyValue> scriptParameters)
Parameters for the studio component scripts.
scriptParameters
- Parameters for the studio component scripts.public CreateStudioComponentRequest withScriptParameters(ScriptParameterKeyValue... scriptParameters)
Parameters for the studio component scripts.
NOTE: This method appends the values to the existing list (if any). Use
setScriptParameters(java.util.Collection)
or withScriptParameters(java.util.Collection)
if you
want to override the existing values.
scriptParameters
- Parameters for the studio component scripts.public CreateStudioComponentRequest withScriptParameters(Collection<ScriptParameterKeyValue> scriptParameters)
Parameters for the studio component scripts.
scriptParameters
- Parameters for the studio component scripts.public void setStudioId(String studioId)
The studio ID.
studioId
- The studio ID.public String getStudioId()
The studio ID.
public CreateStudioComponentRequest withStudioId(String studioId)
The studio ID.
studioId
- The studio ID.public void setSubtype(String subtype)
The specific subtype of a studio component.
subtype
- The specific subtype of a studio component.StudioComponentSubtype
public String getSubtype()
The specific subtype of a studio component.
StudioComponentSubtype
public CreateStudioComponentRequest withSubtype(String subtype)
The specific subtype of a studio component.
subtype
- The specific subtype of a studio component.StudioComponentSubtype
public CreateStudioComponentRequest withSubtype(StudioComponentSubtype subtype)
The specific subtype of a studio component.
subtype
- The specific subtype of a studio component.StudioComponentSubtype
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 CreateStudioComponentRequest 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 CreateStudioComponentRequest addTagsEntry(String key, String value)
public CreateStudioComponentRequest clearTagsEntries()
public void setType(String type)
The type of the studio component.
type
- The type of the studio component.StudioComponentType
public String getType()
The type of the studio component.
StudioComponentType
public CreateStudioComponentRequest withType(String type)
The type of the studio component.
type
- The type of the studio component.StudioComponentType
public CreateStudioComponentRequest withType(StudioComponentType type)
The type of the studio component.
type
- The type of the studio component.StudioComponentType
public String toString()
toString
in class Object
Object.toString()
public CreateStudioComponentRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()