Class AssignedSessionActionDefinition
java.lang.Object
software.amazon.awssdk.services.deadline.model.AssignedSessionActionDefinition
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AssignedSessionActionDefinition.Builder,AssignedSessionActionDefinition>
@Generated("software.amazon.awssdk:codegen")
public final class AssignedSessionActionDefinition
extends Object
implements SdkPojo, Serializable, ToCopyableBuilder<AssignedSessionActionDefinition.Builder,AssignedSessionActionDefinition>
The definition of the assigned session action.
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic interfacestatic enum -
Method Summary
Modifier and TypeMethodDescriptionbuilder()envEnter()The environment a session starts on.envExit()The environment a session exits from.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.Create an instance of this class withenvEnter()initialized to the given value.Create an instance of this class withenvEnter()initialized to the given value.Create an instance of this class withenvExit()initialized to the given value.Create an instance of this class withenvExit()initialized to the given value.fromSyncInputJobAttachments(Consumer<AssignedSyncInputJobAttachmentsSessionActionDefinition.Builder> syncInputJobAttachments) Create an instance of this class withsyncInputJobAttachments()initialized to the given value.fromSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition syncInputJobAttachments) Create an instance of this class withsyncInputJobAttachments()initialized to the given value.Create an instance of this class withtaskRun()initialized to the given value.Create an instance of this class withtaskRun()initialized to the given value.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()static Class<? extends AssignedSessionActionDefinition.Builder> The job attachment to sync with an assigned session action.taskRun()The task run.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.type()Retrieve an enum value representing which member of this object is populated.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
envEnter
The environment a session starts on.
- Returns:
- The environment a session starts on.
-
envExit
The environment a session exits from.
- Returns:
- The environment a session exits from.
-
taskRun
-
syncInputJobAttachments
The job attachment to sync with an assigned session action.
- Returns:
- The job attachment to sync with an assigned session action.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<AssignedSessionActionDefinition.Builder,AssignedSessionActionDefinition> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
fromEnvEnter
public static AssignedSessionActionDefinition fromEnvEnter(AssignedEnvironmentEnterSessionActionDefinition envEnter) Create an instance of this class withenvEnter()initialized to the given value.The environment a session starts on.
- Parameters:
envEnter- The environment a session starts on.
-
fromEnvEnter
public static AssignedSessionActionDefinition fromEnvEnter(Consumer<AssignedEnvironmentEnterSessionActionDefinition.Builder> envEnter) Create an instance of this class withenvEnter()initialized to the given value.The environment a session starts on.
- Parameters:
envEnter- The environment a session starts on.
-
fromEnvExit
public static AssignedSessionActionDefinition fromEnvExit(AssignedEnvironmentExitSessionActionDefinition envExit) Create an instance of this class withenvExit()initialized to the given value.The environment a session exits from.
- Parameters:
envExit- The environment a session exits from.
-
fromEnvExit
public static AssignedSessionActionDefinition fromEnvExit(Consumer<AssignedEnvironmentExitSessionActionDefinition.Builder> envExit) Create an instance of this class withenvExit()initialized to the given value.The environment a session exits from.
- Parameters:
envExit- The environment a session exits from.
-
fromTaskRun
public static AssignedSessionActionDefinition fromTaskRun(AssignedTaskRunSessionActionDefinition taskRun) Create an instance of this class withtaskRun()initialized to the given value.The task run.
- Parameters:
taskRun- The task run.
-
fromTaskRun
public static AssignedSessionActionDefinition fromTaskRun(Consumer<AssignedTaskRunSessionActionDefinition.Builder> taskRun) Create an instance of this class withtaskRun()initialized to the given value.The task run.
- Parameters:
taskRun- The task run.
-
fromSyncInputJobAttachments
public static AssignedSessionActionDefinition fromSyncInputJobAttachments(AssignedSyncInputJobAttachmentsSessionActionDefinition syncInputJobAttachments) Create an instance of this class withsyncInputJobAttachments()initialized to the given value.The job attachment to sync with an assigned session action.
- Parameters:
syncInputJobAttachments- The job attachment to sync with an assigned session action.
-
fromSyncInputJobAttachments
public static AssignedSessionActionDefinition fromSyncInputJobAttachments(Consumer<AssignedSyncInputJobAttachmentsSessionActionDefinition.Builder> syncInputJobAttachments) Create an instance of this class withsyncInputJobAttachments()initialized to the given value.The job attachment to sync with an assigned session action.
- Parameters:
syncInputJobAttachments- The job attachment to sync with an assigned session action.
-
type
Retrieve an enum value representing which member of this object is populated. When this class is returned in a service response, this will beAssignedSessionActionDefinition.Type.UNKNOWN_TO_SDK_VERSIONif the service returned a member that is only known to a newer SDK version. When this class is created directly in your code, this will beAssignedSessionActionDefinition.Type.UNKNOWN_TO_SDK_VERSIONif zero members are set, andnullif more than one member is set. -
sdkFields
-