@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.LaunchProfilePlatform
public String getPlatform()
The platform of the initialization script, either WINDOWS or LINUX.
LaunchProfilePlatform
public 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.LaunchProfilePlatform
public 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.LaunchProfilePlatform
public void setRunContext(String runContext)
The method to use when running the initialization script.
runContext
- The method to use when running the initialization script.StudioComponentInitializationScriptRunContext
public String getRunContext()
The method to use when running the initialization script.
StudioComponentInitializationScriptRunContext
public StudioComponentInitializationScript withRunContext(String runContext)
The method to use when running the initialization script.
runContext
- The method to use when running the initialization script.StudioComponentInitializationScriptRunContext
public StudioComponentInitializationScript withRunContext(StudioComponentInitializationScriptRunContext runContext)
The method to use when running the initialization script.
runContext
- The method to use when running the initialization script.StudioComponentInitializationScriptRunContext
public 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 Object
Object.toString()
public StudioComponentInitializationScript clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.