@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class StudioComponentInitializationScript extends Object implements Serializable, Cloneable, StructuredPojo
Initialization scripts for studio components.
| Constructor and Description |
|---|
StudioComponentInitializationScript() |
| Modifier and Type | Method and Description |
|---|---|
StudioComponentInitializationScript |
clone() |
boolean |
equals(Object obj) |
String |
getLaunchProfileProtocolVersion()
The version number of the protocol that is used by the launch profile.
|
String |
getPlatform()
The platform of the initialization script, either Windows or Linux.
|
String |
getRunContext()
The method to use when running the initialization script.
|
String |
getScript()
The initialization script.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setLaunchProfileProtocolVersion(String launchProfileProtocolVersion)
The version number of the protocol that is used by the launch profile.
|
void |
setPlatform(String platform)
The platform of the initialization script, either Windows or Linux.
|
void |
setRunContext(String runContext)
The method to use when running the initialization script.
|
void |
setScript(String script)
The initialization script.
|
String |
toString()
Returns a string representation of this object.
|
StudioComponentInitializationScript |
withLaunchProfileProtocolVersion(String launchProfileProtocolVersion)
The version number of the protocol that is used by the launch profile.
|
StudioComponentInitializationScript |
withPlatform(LaunchProfilePlatform platform)
The platform of the initialization script, either Windows or Linux.
|
StudioComponentInitializationScript |
withPlatform(String platform)
The platform of the initialization script, either Windows or Linux.
|
StudioComponentInitializationScript |
withRunContext(String runContext)
The method to use when running the initialization script.
|
StudioComponentInitializationScript |
withRunContext(StudioComponentInitializationScriptRunContext runContext)
The method to use when running the initialization script.
|
StudioComponentInitializationScript |
withScript(String script)
The initialization script.
|
public void setLaunchProfileProtocolVersion(String launchProfileProtocolVersion)
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
launchProfileProtocolVersion - The version number of the protocol that is used by the launch profile. The only valid version is
"2021-03-31".public String getLaunchProfileProtocolVersion()
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
public StudioComponentInitializationScript withLaunchProfileProtocolVersion(String launchProfileProtocolVersion)
The version number of the protocol that is used by the launch profile. The only valid version is "2021-03-31".
launchProfileProtocolVersion - The version number of the protocol that is used by the launch profile. The only valid version is
"2021-03-31".public void setPlatform(String platform)
The platform of the initialization script, either Windows or Linux.
platform - The platform of the initialization script, either Windows or Linux.LaunchProfilePlatformpublic String getPlatform()
The platform of the initialization script, either Windows or Linux.
LaunchProfilePlatformpublic StudioComponentInitializationScript withPlatform(String platform)
The platform of the initialization script, either Windows or Linux.
platform - The platform of the initialization script, either Windows or Linux.LaunchProfilePlatformpublic StudioComponentInitializationScript withPlatform(LaunchProfilePlatform platform)
The platform of the initialization script, either Windows or Linux.
platform - The platform of the initialization script, either Windows or Linux.LaunchProfilePlatformpublic void setRunContext(String runContext)
The method to use when running the initialization script.
runContext - The method to use when running the initialization script.StudioComponentInitializationScriptRunContextpublic String getRunContext()
The method to use when running the initialization script.
StudioComponentInitializationScriptRunContextpublic StudioComponentInitializationScript withRunContext(String runContext)
The method to use when running the initialization script.
runContext - The method to use when running the initialization script.StudioComponentInitializationScriptRunContextpublic StudioComponentInitializationScript withRunContext(StudioComponentInitializationScriptRunContext runContext)
The method to use when running the initialization script.
runContext - The method to use when running the initialization script.StudioComponentInitializationScriptRunContextpublic void setScript(String script)
The initialization script.
script - The initialization script.public String getScript()
The initialization script.
public StudioComponentInitializationScript withScript(String script)
The initialization script.
script - The initialization script.public String toString()
toString in class ObjectObject.toString()public StudioComponentInitializationScript clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.