Class RegionSpecialCase.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.aws.traits.RegionSpecialCase.Builder
-
- All Implemented Interfaces:
SmithyBuilder<RegionSpecialCase>
- Enclosing class:
- RegionSpecialCase
public static final class RegionSpecialCase.Builder extends java.lang.Object implements SmithyBuilder<RegionSpecialCase>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RegionSpecialCasebuild()Creates an immutable object that is created from the properties that have been set on the builder.RegionSpecialCase.BuilderdualStack(java.lang.Boolean dualStack)Sets the dualstack.RegionSpecialCase.Builderendpoint(java.lang.String endpoint)Sets the special case endpoint template.RegionSpecialCase.Builderfips(java.lang.Boolean fips)Sets the fips.RegionSpecialCase.BuildersigningRegion(java.lang.String signingRegion)Sets the signing region.RegionSpecialCase.BuildersourceLocation(SourceLocation sourceLocation)
-
-
-
Method Detail
-
build
public RegionSpecialCase build()
Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Specified by:
buildin interfaceSmithyBuilder<RegionSpecialCase>- Returns:
- an instance of T
-
endpoint
public RegionSpecialCase.Builder endpoint(java.lang.String endpoint)
Sets the special case endpoint template.- Parameters:
endpoint- Special case endpoint template to set.- Returns:
- Returns the builder.
-
dualStack
public RegionSpecialCase.Builder dualStack(java.lang.Boolean dualStack)
Sets the dualstack.- Parameters:
dualStack- dualstack to set.- Returns:
- Returns the builder.
-
fips
public RegionSpecialCase.Builder fips(java.lang.Boolean fips)
Sets the fips.- Parameters:
fips- fips to set.- Returns:
- Returns the builder.
-
signingRegion
public RegionSpecialCase.Builder signingRegion(java.lang.String signingRegion)
Sets the signing region.- Parameters:
signingRegion- region to set.- Returns:
- Returns the builder.
-
sourceLocation
public RegionSpecialCase.Builder sourceLocation(SourceLocation sourceLocation)
-
-