Interface Project.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Project.Builder,Project>,SdkBuilder<Project.Builder,Project>,SdkPojo
- Enclosing class:
- Project
public static interface Project.Builder extends SdkPojo, CopyableBuilder<Project.Builder,Project>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Project.BuilderaccountId(String accountId)The ID of the Amazon Web Services account that owns the project.Project.BuildercreateDate(Instant createDate)The date and time that the project was created.Project.BuildercreatedBy(String createdBy)The Amazon Resource Name (ARN) of the user who crated the project.Project.BuilderdatasetName(String datasetName)The dataset that the project is to act upon.Project.BuilderlastModifiedBy(String lastModifiedBy)The Amazon Resource Name (ARN) of the user who last modified the project.Project.BuilderlastModifiedDate(Instant lastModifiedDate)The last modification date and time for the project.Project.Buildername(String name)The unique name of a project.Project.BuilderopenDate(Instant openDate)The date and time when the project was opened.Project.BuilderopenedBy(String openedBy)The Amazon Resource Name (ARN) of the user that opened the project for use.Project.BuilderrecipeName(String recipeName)The name of a recipe that will be developed during a project session.Project.BuilderresourceArn(String resourceArn)The Amazon Resource Name (ARN) for the project.Project.BuilderroleArn(String roleArn)The Amazon Resource Name (ARN) of the role that will be assumed for this project.default Project.Buildersample(Consumer<Sample.Builder> sample)The sample size and sampling type to apply to the data.Project.Buildersample(Sample sample)The sample size and sampling type to apply to the data.Project.Buildertags(Map<String,String> tags)Metadata tags that have been applied to the project.-
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
-
-
-
-
Method Detail
-
accountId
Project.Builder accountId(String accountId)
The ID of the Amazon Web Services account that owns the project.
- Parameters:
accountId- The ID of the Amazon Web Services account that owns the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createDate
Project.Builder createDate(Instant createDate)
The date and time that the project was created.
- Parameters:
createDate- The date and time that the project was created.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
createdBy
Project.Builder createdBy(String createdBy)
The Amazon Resource Name (ARN) of the user who crated the project.
- Parameters:
createdBy- The Amazon Resource Name (ARN) of the user who crated the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
datasetName
Project.Builder datasetName(String datasetName)
The dataset that the project is to act upon.
- Parameters:
datasetName- The dataset that the project is to act upon.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedDate
Project.Builder lastModifiedDate(Instant lastModifiedDate)
The last modification date and time for the project.
- Parameters:
lastModifiedDate- The last modification date and time for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
lastModifiedBy
Project.Builder lastModifiedBy(String lastModifiedBy)
The Amazon Resource Name (ARN) of the user who last modified the project.
- Parameters:
lastModifiedBy- The Amazon Resource Name (ARN) of the user who last modified the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
Project.Builder name(String name)
The unique name of a project.
- Parameters:
name- The unique name of a project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
recipeName
Project.Builder recipeName(String recipeName)
The name of a recipe that will be developed during a project session.
- Parameters:
recipeName- The name of a recipe that will be developed during a project session.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resourceArn
Project.Builder resourceArn(String resourceArn)
The Amazon Resource Name (ARN) for the project.
- Parameters:
resourceArn- The Amazon Resource Name (ARN) for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sample
Project.Builder sample(Sample sample)
The sample size and sampling type to apply to the data. If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
- Parameters:
sample- The sample size and sampling type to apply to the data. If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sample
default Project.Builder sample(Consumer<Sample.Builder> sample)
The sample size and sampling type to apply to the data. If this parameter isn't specified, then the sample consists of the first 500 rows from the dataset.
This is a convenience method that creates an instance of theSample.Builderavoiding the need to create one manually viaSample.builder().When the
Consumercompletes,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:
sample(Sample)
-
tags
Project.Builder tags(Map<String,String> tags)
Metadata tags that have been applied to the project.
- Parameters:
tags- Metadata tags that have been applied to the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
roleArn
Project.Builder roleArn(String roleArn)
The Amazon Resource Name (ARN) of the role that will be assumed for this project.
- Parameters:
roleArn- The Amazon Resource Name (ARN) of the role that will be assumed for this project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openedBy
Project.Builder openedBy(String openedBy)
The Amazon Resource Name (ARN) of the user that opened the project for use.
- Parameters:
openedBy- The Amazon Resource Name (ARN) of the user that opened the project for use.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
openDate
Project.Builder openDate(Instant openDate)
The date and time when the project was opened.
- Parameters:
openDate- The date and time when the project was opened.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-