Interface MainframeAction.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<MainframeAction.Builder,,MainframeAction> SdkBuilder<MainframeAction.Builder,,MainframeAction> SdkPojo
- Enclosing class:
MainframeAction
public static interface MainframeAction.Builder
extends SdkPojo, CopyableBuilder<MainframeAction.Builder,MainframeAction>
-
Method Summary
Modifier and TypeMethodDescriptiondefault MainframeAction.BuilderactionType(Consumer<MainframeActionType.Builder> actionType) The action type of the mainframe action.actionType(MainframeActionType actionType) The action type of the mainframe action.default MainframeAction.Builderproperties(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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, 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.Builderavoiding the need to create one manually viaMainframeActionType.builder().When the
Consumercompletes,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.Builderavoiding the need to create one manually viaMainframeActionProperties.builder().When the
Consumercompletes,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:
-