Interface CreateProjectRequest.Builder

All Superinterfaces:
AwsRequest.Builder, Buildable, CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>, Iot1ClickProjectsRequest.Builder, SdkBuilder<CreateProjectRequest.Builder,CreateProjectRequest>, SdkPojo, SdkRequest.Builder
Enclosing class:
CreateProjectRequest

public static interface CreateProjectRequest.Builder extends Iot1ClickProjectsRequest.Builder, SdkPojo, CopyableBuilder<CreateProjectRequest.Builder,CreateProjectRequest>
  • Method Details

    • projectName

      CreateProjectRequest.Builder projectName(String 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

      CreateProjectRequest.Builder description(String 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

      CreateProjectRequest.Builder placementTemplate(PlacementTemplate 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 the UpdateProject 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 update callbackOverrides for the device templates using the UpdateProject 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 callbackOverrides for the device templates using the UpdateProject API.

      This is a convenience method that creates an instance of the PlacementTemplate.Builder avoiding the need to create one manually via PlacementTemplate.builder().

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to placementTemplate(PlacementTemplate).

      Parameters:
      placementTemplate - a consumer that will call methods on PlacementTemplate.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 interface AwsRequest.Builder
      Parameters:
      overrideConfiguration - The override configuration.
      Returns:
      This object for method chaining.
    • overrideConfiguration

      Description copied from interface: AwsRequest.Builder
      Add an optional request override configuration.
      Specified by:
      overrideConfiguration in interface AwsRequest.Builder
      Parameters:
      builderConsumer - A Consumer to which an empty AwsRequestOverrideConfiguration.Builder will be given.
      Returns:
      This object for method chaining.