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.Builder
placementTemplate
(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
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iot1clickprojects.model.Iot1ClickProjectsRequest.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
-
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
callbackOverrides
for the device templates using theUpdateProject
API.- 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 updatecallbackOverrides
for the device templates using theUpdateProject
API.- 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 thecallbackOverrides
for the device templates using theUpdateProject
API.PlacementTemplate.Builder
avoiding the need to create one manually viaPlacementTemplate.builder()
.When the
Consumer
completes,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.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.
-