Interface CreateSiteRequest.Builder

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

public static interface CreateSiteRequest.Builder extends NetworkManagerRequest.Builder, SdkPojo, CopyableBuilder<CreateSiteRequest.Builder,CreateSiteRequest>
  • Method Details

    • globalNetworkId

      CreateSiteRequest.Builder globalNetworkId(String globalNetworkId)

      The ID of the global network.

      Parameters:
      globalNetworkId - The ID of the global network.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      CreateSiteRequest.Builder description(String description)

      A description of your site.

      Constraints: Maximum length of 256 characters.

      Parameters:
      description - A description of your site.

      Constraints: Maximum length of 256 characters.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      CreateSiteRequest.Builder location(Location location)

      The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

      • Address: The physical address of the site.

      • Latitude: The latitude of the site.

      • Longitude: The longitude of the site.

      Parameters:
      location - The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

      • Address: The physical address of the site.

      • Latitude: The latitude of the site.

      • Longitude: The longitude of the site.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • location

      default CreateSiteRequest.Builder location(Consumer<Location.Builder> location)

      The site location. This information is used for visualization in the Network Manager console. If you specify the address, the latitude and longitude are automatically calculated.

      • Address: The physical address of the site.

      • Latitude: The latitude of the site.

      • Longitude: The longitude of the site.

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

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

      Parameters:
      location - a consumer that will call methods on Location.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • tags

      The tags to apply to the resource during creation.

      Parameters:
      tags - The tags to apply to the resource during creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to apply to the resource during creation.

      Parameters:
      tags - The tags to apply to the resource during creation.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The tags to apply to the resource during creation.

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

      When the Consumer completes, SdkBuilder.build() is called immediately and its result is passed to tags(List<Tag>).

      Parameters:
      tags - a consumer that will call methods on Tag.Builder
      Returns:
      Returns a reference to this object so that method calls can be chained together.
      See Also:
    • overrideConfiguration

      CreateSiteRequest.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.