Interface DeprecateWorkflowTypeRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<DeprecateWorkflowTypeRequest.Builder,
,DeprecateWorkflowTypeRequest> SdkBuilder<DeprecateWorkflowTypeRequest.Builder,
,DeprecateWorkflowTypeRequest> SdkPojo
,SdkRequest.Builder
,SwfRequest.Builder
- Enclosing class:
DeprecateWorkflowTypeRequest
public static interface DeprecateWorkflowTypeRequest.Builder
extends SwfRequest.Builder, SdkPojo, CopyableBuilder<DeprecateWorkflowTypeRequest.Builder,DeprecateWorkflowTypeRequest>
-
Method Summary
Modifier and TypeMethodDescriptionThe name of the domain in which the workflow type is registered.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.workflowType
(Consumer<WorkflowType.Builder> workflowType) The workflow type to deprecate.workflowType
(WorkflowType workflowType) The workflow type to deprecate.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
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, sdkFields
Methods inherited from interface software.amazon.awssdk.services.swf.model.SwfRequest.Builder
build
-
Method Details
-
domain
The name of the domain in which the workflow type is registered.
- Parameters:
domain
- The name of the domain in which the workflow type is registered.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowType
The workflow type to deprecate.
- Parameters:
workflowType
- The workflow type to deprecate.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workflowType
default DeprecateWorkflowTypeRequest.Builder workflowType(Consumer<WorkflowType.Builder> workflowType) The workflow type to deprecate.
This is a convenience method that creates an instance of theWorkflowType.Builder
avoiding the need to create one manually viaWorkflowType.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toworkflowType(WorkflowType)
.- Parameters:
workflowType
- a consumer that will call methods onWorkflowType.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
DeprecateWorkflowTypeRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
DeprecateWorkflowTypeRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-