public static class RegionSubscription.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
RegionSubscription |
build() |
RegionSubscription.Builder |
copy(RegionSubscription model) |
RegionSubscription.Builder |
isHomeRegion(Boolean isHomeRegion)
Indicates if the region is the home region or not.
|
RegionSubscription.Builder |
regionKey(String regionKey)
The region’s key.
|
RegionSubscription.Builder |
regionName(String regionName)
The region’s name.
|
RegionSubscription.Builder |
status(RegionSubscription.Status status)
The region subscription status.
|
public RegionSubscription.Builder regionKey(String regionKey)
The region’s key. See Regions and Availability Domains for the full list of supported 3-letter region codes.
Example: PHX
regionKey
- the value to setpublic RegionSubscription.Builder regionName(String regionName)
The region’s name. See Regions and Availability Domains for the full list of supported region names.
Example: us-phoenix-1
regionName
- the value to setpublic RegionSubscription.Builder status(RegionSubscription.Status status)
The region subscription status.
status
- the value to setpublic RegionSubscription.Builder isHomeRegion(Boolean isHomeRegion)
Indicates if the region is the home region or not.
isHomeRegion
- the value to setpublic RegionSubscription build()
public RegionSubscription.Builder copy(RegionSubscription model)
Copyright © 2016–2024. All rights reserved.