Interface CreateFlowRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateFlowRequest.Builder,,CreateFlowRequest> QuickSightRequest.Builder,SdkBuilder<CreateFlowRequest.Builder,,CreateFlowRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateFlowRequest
-
Method Summary
Modifier and TypeMethodDescriptionawsAccountId(String awsAccountId) The ID of the Amazon Web Services account where you want to create the flow.clientToken(String clientToken) A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.description(String description) The description for the flow.flowDefinition(Document flowDefinition) The definition of the flow, specifying the steps and configurations.The display name for the flow.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.permissions(Collection<Permission> permissions) Initial permissions for the flow.permissions(Consumer<Permission.Builder>... permissions) Initial permissions for the flow.permissions(Permission... permissions) Initial permissions for the flow.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.quicksight.model.QuickSightRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
awsAccountId
The ID of the Amazon Web Services account where you want to create the flow.
- Parameters:
awsAccountId- The ID of the Amazon Web Services account where you want to create the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The display name for the flow.
- Parameters:
name- The display name for the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
The description for the flow.
- Parameters:
description- The description for the flow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
flowDefinition
The definition of the flow, specifying the steps and configurations. This is the flow definition in Quick Flow's internal format. The format is subject to change.
Always derive or depend on the flow definition from the
DescribeFlowoperation to ensure you are working with the latest format.- Parameters:
flowDefinition- The definition of the flow, specifying the steps and configurations. This is the flow definition in Quick Flow's internal format. The format is subject to change.Always derive or depend on the flow definition from the
DescribeFlowoperation to ensure you are working with the latest format.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
Initial permissions for the flow. If omitted, the flow is created without any permissions.
- Parameters:
permissions- Initial permissions for the flow. If omitted, the flow is created without any permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
Initial permissions for the flow. If omitted, the flow is created without any permissions.
- Parameters:
permissions- Initial permissions for the flow. If omitted, the flow is created without any permissions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
permissions
Initial permissions for the flow. If omitted, the flow is created without any permissions.
This is a convenience method that creates an instance of thePermission.Builderavoiding the need to create one manually viaPermission.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed topermissions(List<Permission>).- Parameters:
permissions- a consumer that will call methods onPermission.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Parameters:
clientToken- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateFlowRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
overrideConfiguration- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
CreateFlowRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.BuilderAdd an optional request override configuration.- Specified by:
overrideConfigurationin interfaceAwsRequest.Builder- Parameters:
builderConsumer- AConsumerto which an emptyAwsRequestOverrideConfiguration.Builderwill be given.- Returns:
- This object for method chaining.
-