Interface Region.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<Region.Builder,Region>,SdkBuilder<Region.Builder,Region>,SdkPojo
- Enclosing class:
- Region
@Mutable @NotThreadSafe public static interface Region.Builder extends SdkPojo, CopyableBuilder<Region.Builder,Region>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Region.Builderendpoint(String endpoint)The Region service endpoint.Region.Buildergeography(Collection<RegionGeography> geography)The geography information for the Region.Region.Buildergeography(Consumer<RegionGeography.Builder>... geography)The geography information for the Region.Region.Buildergeography(RegionGeography... geography)The geography information for the Region.Region.BuilderoptInStatus(String optInStatus)The Region opt-in status.Region.BuilderregionName(String regionName)The name of the Region.-
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, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
optInStatus
Region.Builder optInStatus(String optInStatus)
The Region opt-in status. The possible values are
opt-in-not-required,opted-in, andnot-opted-in.- Parameters:
optInStatus- The Region opt-in status. The possible values areopt-in-not-required,opted-in, andnot-opted-in.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geography
Region.Builder geography(Collection<RegionGeography> geography)
The geography information for the Region. The geography is returned as a list.
- Parameters:
geography- The geography information for the Region. The geography is returned as a list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geography
Region.Builder geography(RegionGeography... geography)
The geography information for the Region. The geography is returned as a list.
- Parameters:
geography- The geography information for the Region. The geography is returned as a list.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
geography
Region.Builder geography(Consumer<RegionGeography.Builder>... geography)
The geography information for the Region. The geography is returned as a list.
This is a convenience method that creates an instance of theRegionGeography.Builderavoiding the need to create one manually viaRegionGeography.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#geography(List.) - Parameters:
geography- a consumer that will call methods onRegionGeography.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#geography(java.util.Collection)
-
regionName
Region.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.
-
endpoint
Region.Builder endpoint(String endpoint)
The Region service endpoint.
- Parameters:
endpoint- The Region service endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-