Interface AvailabilityZone.Builder
-
- All Superinterfaces:
Buildable
,CopyableBuilder<AvailabilityZone.Builder,AvailabilityZone>
,SdkBuilder<AvailabilityZone.Builder,AvailabilityZone>
,SdkPojo
- Enclosing class:
- AvailabilityZone
public static interface AvailabilityZone.Builder extends SdkPojo, CopyableBuilder<AvailabilityZone.Builder,AvailabilityZone>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AvailabilityZone.Builder
groupName(String groupName)
For Availability Zones, this parameter has the same value as the Region name.AvailabilityZone.Builder
messages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.AvailabilityZone.Builder
messages(Consumer<AvailabilityZoneMessage.Builder>... messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.AvailabilityZone.Builder
messages(AvailabilityZoneMessage... messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.AvailabilityZone.Builder
networkBorderGroup(String networkBorderGroup)
The name of the network border group.AvailabilityZone.Builder
optInStatus(String optInStatus)
For Availability Zones, this parameter always has the value ofopt-in-not-required
.AvailabilityZone.Builder
optInStatus(AvailabilityZoneOptInStatus optInStatus)
For Availability Zones, this parameter always has the value ofopt-in-not-required
.AvailabilityZone.Builder
parentZoneId(String parentZoneId)
The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.AvailabilityZone.Builder
parentZoneName(String parentZoneName)
The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.AvailabilityZone.Builder
regionName(String regionName)
The name of the Region.AvailabilityZone.Builder
state(String state)
The state of the Availability Zone, Local Zone, or Wavelength Zone.AvailabilityZone.Builder
state(AvailabilityZoneState state)
The state of the Availability Zone, Local Zone, or Wavelength Zone.AvailabilityZone.Builder
zoneId(String zoneId)
The ID of the Availability Zone, Local Zone, or Wavelength Zone.AvailabilityZone.Builder
zoneName(String zoneName)
The name of the Availability Zone, Local Zone, or Wavelength Zone.AvailabilityZone.Builder
zoneType(String zoneType)
The type of zone.-
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
-
optInStatus
AvailabilityZone.Builder optInStatus(String optInStatus)
For Availability Zones, this parameter always has the value of
opt-in-not-required
.For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are
opted-in
, andnot-opted-in
.- Parameters:
optInStatus
- For Availability Zones, this parameter always has the value ofopt-in-not-required
.For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are
opted-in
, andnot-opted-in
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AvailabilityZoneOptInStatus
,AvailabilityZoneOptInStatus
-
optInStatus
AvailabilityZone.Builder optInStatus(AvailabilityZoneOptInStatus optInStatus)
For Availability Zones, this parameter always has the value of
opt-in-not-required
.For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are
opted-in
, andnot-opted-in
.- Parameters:
optInStatus
- For Availability Zones, this parameter always has the value ofopt-in-not-required
.For Local Zones and Wavelength Zones, this parameter is the opt-in status. The possible values are
opted-in
, andnot-opted-in
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AvailabilityZoneOptInStatus
,AvailabilityZoneOptInStatus
-
messages
AvailabilityZone.Builder messages(Collection<AvailabilityZoneMessage> messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.
- Parameters:
messages
- Any messages about the Availability Zone, Local Zone, or Wavelength Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
AvailabilityZone.Builder messages(AvailabilityZoneMessage... messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.
- Parameters:
messages
- Any messages about the Availability Zone, Local Zone, or Wavelength Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
messages
AvailabilityZone.Builder messages(Consumer<AvailabilityZoneMessage.Builder>... messages)
Any messages about the Availability Zone, Local Zone, or Wavelength Zone.
This is a convenience method that creates an instance of theAvailabilityZoneMessage.Builder
avoiding the need to create one manually viaAvailabilityZoneMessage.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed to#messages(List
.) - Parameters:
messages
- a consumer that will call methods onAvailabilityZoneMessage.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#messages(java.util.Collection
)
-
regionName
AvailabilityZone.Builder regionName(String regionName)
The name of the Region.
- Parameters:
regionName
- The name of the Region.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneName
AvailabilityZone.Builder zoneName(String zoneName)
The name of the Availability Zone, Local Zone, or Wavelength Zone.
- Parameters:
zoneName
- The name of the Availability Zone, Local Zone, or Wavelength Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneId
AvailabilityZone.Builder zoneId(String zoneId)
The ID of the Availability Zone, Local Zone, or Wavelength Zone.
- Parameters:
zoneId
- The ID of the Availability Zone, Local Zone, or Wavelength Zone.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
groupName
AvailabilityZone.Builder groupName(String groupName)
For Availability Zones, this parameter has the same value as the Region name.
For Local Zones, the name of the associated group, for example
us-west-2-lax-1
.For Wavelength Zones, the name of the associated group, for example
us-east-1-wl1-bos-wlz-1
.- Parameters:
groupName
- For Availability Zones, this parameter has the same value as the Region name.For Local Zones, the name of the associated group, for example
us-west-2-lax-1
.For Wavelength Zones, the name of the associated group, for example
us-east-1-wl1-bos-wlz-1
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
networkBorderGroup
AvailabilityZone.Builder networkBorderGroup(String networkBorderGroup)
The name of the network border group.
- Parameters:
networkBorderGroup
- The name of the network border group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
zoneType
AvailabilityZone.Builder zoneType(String zoneType)
The type of zone. The valid values are
availability-zone
,local-zone
, andwavelength-zone
.- Parameters:
zoneType
- The type of zone. The valid values areavailability-zone
,local-zone
, andwavelength-zone
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentZoneName
AvailabilityZone.Builder parentZoneName(String parentZoneName)
The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.
- Parameters:
parentZoneName
- The name of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parentZoneId
AvailabilityZone.Builder parentZoneId(String parentZoneId)
The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.
- Parameters:
parentZoneId
- The ID of the zone that handles some of the Local Zone or Wavelength Zone control plane operations, such as API calls.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
state
AvailabilityZone.Builder state(String state)
The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
available
.- Parameters:
state
- The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is alwaysavailable
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AvailabilityZoneState
,AvailabilityZoneState
-
state
AvailabilityZone.Builder state(AvailabilityZoneState state)
The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is always
available
.- Parameters:
state
- The state of the Availability Zone, Local Zone, or Wavelength Zone. This value is alwaysavailable
.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
AvailabilityZoneState
,AvailabilityZoneState
-
-