Interface MainframeAction.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MainframeAction.Builder,
,MainframeAction> SdkBuilder<MainframeAction.Builder,
,MainframeAction> SdkPojo
- Enclosing class:
MainframeAction
@Mutable
@NotThreadSafe
public static interface MainframeAction.Builder
extends SdkPojo, CopyableBuilder<MainframeAction.Builder,MainframeAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MainframeAction.Builder
actionType
(Consumer<MainframeActionType.Builder> actionType) The action type of the mainframe action.actionType
(MainframeActionType actionType) The action type of the mainframe action.default MainframeAction.Builder
properties
(Consumer<MainframeActionProperties.Builder> properties) The properties of the mainframe action.properties
(MainframeActionProperties properties) The properties of the mainframe action.The resource of the mainframe action.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
resource
The resource of the mainframe action.
- Parameters:
resource
- The resource of the mainframe action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionType
The action type of the mainframe action.
- Parameters:
actionType
- The action type of the mainframe action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
actionType
The action type of the mainframe action.
This is a convenience method that creates an instance of theMainframeActionType.Builder
avoiding the need to create one manually viaMainframeActionType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toactionType(MainframeActionType)
.- Parameters:
actionType
- a consumer that will call methods onMainframeActionType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
properties
The properties of the mainframe action.
- Parameters:
properties
- The properties of the mainframe action.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
properties
The properties of the mainframe action.
This is a convenience method that creates an instance of theMainframeActionProperties.Builder
avoiding the need to create one manually viaMainframeActionProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toproperties(MainframeActionProperties)
.- Parameters:
properties
- a consumer that will call methods onMainframeActionProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-