Interface Site.Builder

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

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

    • siteId

      Site.Builder siteId(String siteId)
      Sets the value of the SiteId property for this object.
      Parameters:
      siteId - The new value for the SiteId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • accountId

      Site.Builder accountId(String accountId)
      Sets the value of the AccountId property for this object.
      Parameters:
      accountId - The new value for the AccountId property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • name

      Site.Builder name(String name)
      Sets the value of the Name property for this object.
      Parameters:
      name - The new value for the Name property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • description

      Site.Builder description(String description)
      Sets the value of the Description property for this object.
      Parameters:
      description - The new value for the Description property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • tags

      The site tags.

      Parameters:
      tags - The site tags.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • siteArn

      Site.Builder siteArn(String siteArn)
      Sets the value of the SiteArn property for this object.
      Parameters:
      siteArn - The new value for the SiteArn property for this object.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • notes

      Site.Builder notes(String notes)

      Notes about a site.

      Parameters:
      notes - Notes about a site.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatingAddressCountryCode

      Site.Builder operatingAddressCountryCode(String operatingAddressCountryCode)

      The ISO-3166 two-letter country code where the hardware is installed and powered on.

      Parameters:
      operatingAddressCountryCode - The ISO-3166 two-letter country code where the hardware is installed and powered on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatingAddressStateOrRegion

      Site.Builder operatingAddressStateOrRegion(String operatingAddressStateOrRegion)

      State or region where the hardware is installed and powered on.

      Parameters:
      operatingAddressStateOrRegion - State or region where the hardware is installed and powered on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • operatingAddressCity

      Site.Builder operatingAddressCity(String operatingAddressCity)

      City where the hardware is installed and powered on.

      Parameters:
      operatingAddressCity - City where the hardware is installed and powered on.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rackPhysicalProperties

      Site.Builder rackPhysicalProperties(RackPhysicalProperties rackPhysicalProperties)

      Information about the physical and logistical details for a rack at the site.

      Parameters:
      rackPhysicalProperties - Information about the physical and logistical details for a rack at the site.
      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • rackPhysicalProperties

      default Site.Builder rackPhysicalProperties(Consumer<RackPhysicalProperties.Builder> rackPhysicalProperties)

      Information about the physical and logistical details for a rack at the site.

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

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

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