Interface Site.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<Site.Builder,
,Site> SdkBuilder<Site.Builder,
,Site> SdkPojo
- Enclosing class:
Site
-
Method Summary
Modifier and TypeMethodDescriptionSets the value of the AccountId property for this object.description
(String description) Sets the value of the Description property for this object.Sets the value of the Name property for this object.Notes about a site.operatingAddressCity
(String operatingAddressCity) City where the hardware is installed and powered on.operatingAddressCountryCode
(String operatingAddressCountryCode) The ISO-3166 two-letter country code where the hardware is installed and powered on.operatingAddressStateOrRegion
(String operatingAddressStateOrRegion) State or region where the hardware is installed and powered on.default Site.Builder
rackPhysicalProperties
(Consumer<RackPhysicalProperties.Builder> rackPhysicalProperties) Information about the physical and logistical details for a rack at the site.rackPhysicalProperties
(RackPhysicalProperties rackPhysicalProperties) Information about the physical and logistical details for a rack at the site.Sets the value of the SiteArn property for this object.Sets the value of the SiteId property for this object.The site tags.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
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
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
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
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
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
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
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
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
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
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 theRackPhysicalProperties.Builder
avoiding the need to create one manually viaRackPhysicalProperties.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed torackPhysicalProperties(RackPhysicalProperties)
.- Parameters:
rackPhysicalProperties
- a consumer that will call methods onRackPhysicalProperties.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-