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 Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description Site.BuilderaccountId(String accountId)Sets the value of the AccountId property for this object.Site.Builderdescription(String description)Sets the value of the Description property for this object.Site.Buildername(String name)Sets the value of the Name property for this object.Site.Buildernotes(String notes)Notes about a site.Site.BuilderoperatingAddressCity(String operatingAddressCity)City where the hardware is installed and powered on.Site.BuilderoperatingAddressCountryCode(String operatingAddressCountryCode)The ISO-3166 two-letter country code where the hardware is installed and powered on.Site.BuilderoperatingAddressStateOrRegion(String operatingAddressStateOrRegion)State or region where the hardware is installed and powered on.default Site.BuilderrackPhysicalProperties(Consumer<RackPhysicalProperties.Builder> rackPhysicalProperties)Information about the physical and logistical details for a rack at the site.Site.BuilderrackPhysicalProperties(RackPhysicalProperties rackPhysicalProperties)Information about the physical and logistical details for a rack at the site.Site.BuildersiteArn(String siteArn)Sets the value of the SiteArn property for this object.Site.BuildersiteId(String siteId)Sets the value of the SiteId property for this object.Site.Buildertags(Map<String,String> tags)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 Detail
-
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
Site.Builder tags(Map<String,String> 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 theRackPhysicalProperties.Builderavoiding the need to create one manually viaRackPhysicalProperties.builder().When the
Consumercompletes,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:
rackPhysicalProperties(RackPhysicalProperties)
-
-