Class StandardPartitionalEndpointsTrait.Builder
- java.lang.Object
- 
- software.amazon.smithy.model.traits.AbstractTraitBuilder<StandardPartitionalEndpointsTrait,StandardPartitionalEndpointsTrait.Builder>
- 
- software.amazon.smithy.rulesengine.aws.traits.StandardPartitionalEndpointsTrait.Builder
 
 
- 
- All Implemented Interfaces:
- SmithyBuilder<StandardPartitionalEndpointsTrait>
 - Enclosing class:
- StandardPartitionalEndpointsTrait
 
 public static final class StandardPartitionalEndpointsTrait.Builder extends AbstractTraitBuilder<StandardPartitionalEndpointsTrait,StandardPartitionalEndpointsTrait.Builder> 
- 
- 
Constructor SummaryConstructors Constructor Description Builder()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description StandardPartitionalEndpointsTraitbuild()Creates an immutable object that is created from the properties that have been set on the builder.StandardPartitionalEndpointsTrait.BuilderendpointPatternType(EndpointPatternType endpointPatternType)Sets the endpoint pattern type.StandardPartitionalEndpointsTrait.BuilderpartitionEndpointSpecialCases(java.util.Map<java.lang.String,java.util.List<PartitionEndpointSpecialCase>> partitionEndpointSpecialCases)Sets the partition endpoint special cases.StandardPartitionalEndpointsTrait.BuilderputPartitionEndpointSpecialCase(java.lang.String partition, java.util.List<PartitionEndpointSpecialCase> partitionEndpointSpecialCases)Sets the list of partition endpoint special cases for a partition.- 
Methods inherited from class software.amazon.smithy.model.traits.AbstractTraitBuildergetSourceLocation, sourceLocation
 
- 
 
- 
- 
- 
Method Detail- 
partitionEndpointSpecialCasespublic StandardPartitionalEndpointsTrait.Builder partitionEndpointSpecialCases(java.util.Map<java.lang.String,java.util.List<PartitionEndpointSpecialCase>> partitionEndpointSpecialCases) Sets the partition endpoint special cases.- Parameters:
- partitionEndpointSpecialCases- Map of partition string to list of- PartitionEndpointSpecialCase
- Returns:
- Returns the builder.
 
 - 
putPartitionEndpointSpecialCasepublic StandardPartitionalEndpointsTrait.Builder putPartitionEndpointSpecialCase(java.lang.String partition, java.util.List<PartitionEndpointSpecialCase> partitionEndpointSpecialCases) Sets the list of partition endpoint special cases for a partition.- Parameters:
- partition- the partition to use
- partitionEndpointSpecialCases- Map of partition string to list of- PartitionEndpointSpecialCase
- Returns:
- Returns the builder.
 
 - 
endpointPatternTypepublic StandardPartitionalEndpointsTrait.Builder endpointPatternType(EndpointPatternType endpointPatternType) Sets the endpoint pattern type.- Parameters:
- endpointPatternType- the endpoint pattern type to use
- Returns:
- Returns the builder.
 
 - 
buildpublic StandardPartitionalEndpointsTrait build() Description copied from interface:SmithyBuilderCreates an immutable object that is created from the properties that have been set on the builder.- Returns:
- an instance of T
 
 
- 
 
-