Class PartitionEndpointSpecialCase.Builder
- java.lang.Object
-
- software.amazon.smithy.rulesengine.aws.traits.PartitionEndpointSpecialCase.Builder
-
- All Implemented Interfaces:
SmithyBuilder<PartitionEndpointSpecialCase>
- Enclosing class:
- PartitionEndpointSpecialCase
public static final class PartitionEndpointSpecialCase.Builder extends java.lang.Object implements SmithyBuilder<PartitionEndpointSpecialCase>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PartitionEndpointSpecialCase
build()
Creates an immutable object that is created from the properties that have been set on the builder.PartitionEndpointSpecialCase.Builder
dualStack(java.lang.Boolean dualStack)
Sets the dualstack.PartitionEndpointSpecialCase.Builder
endpoint(java.lang.String endpoint)
Sets the special case endpoint template.PartitionEndpointSpecialCase.Builder
fips(java.lang.Boolean fips)
Sets the fips.PartitionEndpointSpecialCase.Builder
region(java.lang.String region)
Sets the region.
-
-
-
Method Detail
-
build
public PartitionEndpointSpecialCase build()
Description copied from interface:SmithyBuilder
Creates an immutable object that is created from the properties that have been set on the builder.- Specified by:
build
in interfaceSmithyBuilder<PartitionEndpointSpecialCase>
- Returns:
- an instance of T
-
endpoint
public PartitionEndpointSpecialCase.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 PartitionEndpointSpecialCase.Builder dualStack(java.lang.Boolean dualStack)
Sets the dualstack.- Parameters:
dualStack
- dualstack to set.- Returns:
- Returns the builder.
-
fips
public PartitionEndpointSpecialCase.Builder fips(java.lang.Boolean fips)
Sets the fips.- Parameters:
fips
- fips to set.- Returns:
- Returns the builder.
-
region
public PartitionEndpointSpecialCase.Builder region(java.lang.String region)
Sets the region.- Parameters:
region
- region to set.- Returns:
- Returns the builder.
-
-