Interface CreateProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<CreateProjectRequest.Builder,
,CreateProjectRequest> DataBrewRequest.Builder
,SdkBuilder<CreateProjectRequest.Builder,
,CreateProjectRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
CreateProjectRequest
public static interface CreateProjectRequest.Builder
extends DataBrewRequest.Builder, SdkPojo, CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
-
Method Summary
Modifier and TypeMethodDescriptiondatasetName
(String datasetName) The name of an existing dataset to associate this project with.A unique name for the new project.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.recipeName
(String recipeName) The name of an existing recipe to associate with the project.The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request.default CreateProjectRequest.Builder
sample
(Consumer<Sample.Builder> sample) Sets the value of the Sample property for this object.Sets the value of the Sample property for this object.Metadata tags to apply to this project.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.services.databrew.model.DataBrewRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
datasetName
The name of an existing dataset to associate this project with.
- Parameters:
datasetName
- The name of an existing dataset to associate this project with.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.
- Parameters:
name
- A unique name for the new project. Valid characters are alphanumeric (A-Z, a-z, 0-9), hyphen (-), period (.), and space.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipeName
The name of an existing recipe to associate with the project.
- Parameters:
recipeName
- The name of an existing recipe to associate with the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sample
Sets the value of the Sample property for this object.- Parameters:
sample
- The new value for the Sample property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sample
Sets the value of the Sample property for this object. This is a convenience method that creates an instance of theSample.Builder
avoiding the need to create one manually viaSample.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosample(Sample)
.- Parameters:
sample
- a consumer that will call methods onSample.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
roleArn
The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request.
- Parameters:
roleArn
- The Amazon Resource Name (ARN) of the Identity and Access Management (IAM) role to be assumed for this request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
Metadata tags to apply to this project.
- Parameters:
tags
- Metadata tags to apply to this project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
CreateProjectRequest.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
CreateProjectRequest.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.
-