public Builder putPartitionEndpointSpecialCase(
                String partition,
                List<PartitionEndpointSpecialCase> partitionEndpointSpecialCases
        ) {
            this.partitionEndpointSpecialCases.get().put(partition, partitionEndpointSpecialCases);
            return this;
        }
Sets the list of partition endpoint special cases for a partition.

@param partition the partition to use
@param partitionEndpointSpecialCases Map of partition string to list of {@link PartitionEndpointSpecialCase}
@return Returns the builder.
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/traits/StandardPartitionalEndpointsTrait.java