Interface CreateProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,BedrockRequest.Builder,Buildable,CopyableBuilder<CreateProjectRequest.Builder,,CreateProjectRequest> SdkBuilder<CreateProjectRequest.Builder,,CreateProjectRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptiondefault CreateProjectRequest.BuilderdataRetention(Consumer<ProjectDataRetention.Builder> dataRetention) The project's data-retention mode.dataRetention(ProjectDataRetention dataRetention) The project's data-retention mode.The display name for the project.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.tags(Collection<Tag> tags) The tags to associate with the project.tags(Consumer<Tag.Builder>... tags) The tags to associate with the project.The tags to associate with the project.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfigurationMethods inherited from interface software.amazon.awssdk.services.bedrock.model.BedrockRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
name
The display name for the project. Project names do not have to be unique.
- Parameters:
name- The display name for the project. Project names do not have to be unique.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the project.
- Parameters:
tags- The tags to associate with the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the project.
- Parameters:
tags- The tags to associate with the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
tags
The tags to associate with the project.
This is a convenience method that creates an instance of theTag.Builderavoiding the need to create one manually viaTag.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totags(List<Tag>).- Parameters:
tags- a consumer that will call methods onTag.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
dataRetention
The project's data-retention mode. If you omit this field, Amazon Bedrock sets the mode to
inherit. The project then uses the account setting or the model default.- Parameters:
dataRetention- The project's data-retention mode. If you omit this field, Amazon Bedrock sets the mode toinherit. The project then uses the account setting or the model default.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
dataRetention
default CreateProjectRequest.Builder dataRetention(Consumer<ProjectDataRetention.Builder> dataRetention) The project's data-retention mode. If you omit this field, Amazon Bedrock sets the mode to
This is a convenience method that creates an instance of theinherit. The project then uses the account setting or the model default.ProjectDataRetention.Builderavoiding the need to create one manually viaProjectDataRetention.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed todataRetention(ProjectDataRetention).- Parameters:
dataRetention- a consumer that will call methods onProjectDataRetention.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
CreateProjectRequest.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
CreateProjectRequest.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.
-