Interface CreateProjectRequest.Builder
- All Superinterfaces:
AwsRequest.Builder,Buildable,CopyableBuilder<CreateProjectRequest.Builder,,CreateProjectRequest> Iot1ClickProjectsRequest.Builder,SdkBuilder<CreateProjectRequest.Builder,,CreateProjectRequest> SdkPojo,SdkRequest.Builder
- Enclosing class:
CreateProjectRequest
-
Method Summary
Modifier and TypeMethodDescriptiondescription(String description) An optional description for the project.overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.default CreateProjectRequest.BuilderplacementTemplate(Consumer<PlacementTemplate.Builder> placementTemplate) The schema defining the placement to be created.placementTemplate(PlacementTemplate placementTemplate) The schema defining the placement to be created.projectName(String projectName) The name of the project to create.Optional tags (metadata key/value pairs) to be associated with the project.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.iot1clickprojects.model.Iot1ClickProjectsRequest.Builder
buildMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
projectName
The name of the project to create.
- Parameters:
projectName- The name of the project to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
An optional description for the project.
- Parameters:
description- An optional description for the project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementTemplate
The schema defining the placement to be created. A placement template defines placement default attributes and device templates. You cannot add or remove device templates after the project has been created. However, you can update
callbackOverridesfor the device templates using theUpdateProjectAPI.- Parameters:
placementTemplate- The schema defining the placement to be created. A placement template defines placement default attributes and device templates. You cannot add or remove device templates after the project has been created. However, you can updatecallbackOverridesfor the device templates using theUpdateProjectAPI.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
placementTemplate
default CreateProjectRequest.Builder placementTemplate(Consumer<PlacementTemplate.Builder> placementTemplate) The schema defining the placement to be created. A placement template defines placement default attributes and device templates. You cannot add or remove device templates after the project has been created. However, you can update
This is a convenience method that creates an instance of thecallbackOverridesfor the device templates using theUpdateProjectAPI.PlacementTemplate.Builderavoiding the need to create one manually viaPlacementTemplate.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toplacementTemplate(PlacementTemplate).- Parameters:
placementTemplate- a consumer that will call methods onPlacementTemplate.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
tags
Optional tags (metadata key/value pairs) to be associated with the project. For example,
{ {"key1": "value1", "key2": "value2"} }. For more information, see AWS Tagging Strategies.- Parameters:
tags- Optional tags (metadata key/value pairs) to be associated with the project. For example,{ {"key1": "value1", "key2": "value2"} }. For more information, see AWS Tagging Strategies.- 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.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.
-