Interface Location.Builder

All Superinterfaces:
Buildable, CopyableBuilder<Location.Builder,Location>, SdkBuilder<Location.Builder,Location>, SdkPojo
Enclosing class:
Location

@Mutable @NotThreadSafe public static interface Location.Builder extends SdkPojo, CopyableBuilder<Location.Builder,Location>
  • Method Details

    • locationCode

      Location.Builder locationCode(String locationCode)

      The code for the location.

      Parameters:
      locationCode - The code for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • locationName

      Location.Builder locationName(String locationName)

      The name of the location. This includes the name of the colocation partner and the physical site of the building.

      Parameters:
      locationName - The name of the location. This includes the name of the colocation partner and the physical site of the building.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • region

      Location.Builder region(String region)

      The Amazon Web Services Region for the location.

      Parameters:
      region - The Amazon Web Services Region for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availablePortSpeeds

      Location.Builder availablePortSpeeds(Collection<String> availablePortSpeeds)

      The available port speeds for the location.

      Parameters:
      availablePortSpeeds - The available port speeds for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availablePortSpeeds

      Location.Builder availablePortSpeeds(String... availablePortSpeeds)

      The available port speeds for the location.

      Parameters:
      availablePortSpeeds - The available port speeds for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableProviders

      Location.Builder availableProviders(Collection<String> availableProviders)

      The name of the service provider for the location.

      Parameters:
      availableProviders - The name of the service provider for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableProviders

      Location.Builder availableProviders(String... availableProviders)

      The name of the service provider for the location.

      Parameters:
      availableProviders - The name of the service provider for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableMacSecPortSpeeds

      Location.Builder availableMacSecPortSpeeds(Collection<String> availableMacSecPortSpeeds)

      The available MAC Security (MACsec) port speeds for the location.

      Parameters:
      availableMacSecPortSpeeds - The available MAC Security (MACsec) port speeds for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableMacSecPortSpeeds

      Location.Builder availableMacSecPortSpeeds(String... availableMacSecPortSpeeds)

      The available MAC Security (MACsec) port speeds for the location.

      Parameters:
      availableMacSecPortSpeeds - The available MAC Security (MACsec) port speeds for the location.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableBillingModes

      Location.Builder availableBillingModes(Collection<AvailableBillingMode> availableBillingModes)

      The billing modes available at the location, including the port speeds and Amazon Web Services Regions supported by each mode.

      Parameters:
      availableBillingModes - The billing modes available at the location, including the port speeds and Amazon Web Services Regions supported by each mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableBillingModes

      Location.Builder availableBillingModes(AvailableBillingMode... availableBillingModes)

      The billing modes available at the location, including the port speeds and Amazon Web Services Regions supported by each mode.

      Parameters:
      availableBillingModes - The billing modes available at the location, including the port speeds and Amazon Web Services Regions supported by each mode.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • availableBillingModes

      Location.Builder availableBillingModes(Consumer<AvailableBillingMode.Builder>... availableBillingModes)

      The billing modes available at the location, including the port speeds and Amazon Web Services Regions supported by each mode.

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

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

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