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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default MainframeAction.BuilderactionType(Consumer<MainframeActionType.Builder> actionType)The action type of the mainframe action.MainframeAction.BuilderactionType(MainframeActionType actionType)The action type of the mainframe action.default MainframeAction.Builderproperties(Consumer<MainframeActionProperties.Builder> properties)The properties of the mainframe action.MainframeAction.Builderproperties(MainframeActionProperties properties)The properties of the mainframe action.MainframeAction.Builderresource(String resource)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 Detail
-
resource
MainframeAction.Builder resource(String 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
MainframeAction.Builder actionType(MainframeActionType 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
default MainframeAction.Builder actionType(Consumer<MainframeActionType.Builder> 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:
actionType(MainframeActionType)
-
properties
MainframeAction.Builder properties(MainframeActionProperties 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
default MainframeAction.Builder properties(Consumer<MainframeActionProperties.Builder> 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:
properties(MainframeActionProperties)
-
-