File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
main/java/software/amazon/awssdk/codegen/lite/regions
test/java/software/amazon/awssdk/codegen/lite/regions Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -65,9 +65,9 @@ public TypeSpec poetClass() {
6565 .addModifiers (FINAL )
6666 .addSuperinterface (ClassName .get (regionBasePackage , "RegionMetadata" ))
6767 .addField (staticFinalField ("ID" , region ))
68- .addField (staticFinalField ("DOMAIN" , partition .getDnsSuffix ()))
68+ .addField (staticFinalField ("DOMAIN" , partition .getOutputs (). getDnsSuffix ()))
6969 .addField (staticFinalField ("DESCRIPTION" , regionDescription ))
70- .addField (staticFinalField ("PARTITION_ID" , partition .getPartition ()))
70+ .addField (staticFinalField ("PARTITION_ID" , partition .getId ()))
7171 .addMethod (getter ("id" , "ID" ))
7272 .addMethod (getter ("domain" , "DOMAIN" ))
7373 .addMethod (getter ("description" , "DESCRIPTION" ))
Original file line number Diff line number Diff line change @@ -55,7 +55,7 @@ public void regionClass() {
5555
5656 @ Test
5757 public void regionMetadataClass () {
58- Partition partition = partitions .getPartitions ().get (0 );
58+ Partition partition = partitionsRegions .getPartitions ().get (0 );
5959 RegionMetadataGenerator metadataGenerator = new RegionMetadataGenerator (partition ,
6060 "us-east-1" ,
6161 "US East (N. Virginia)" ,
You can’t perform that action at this time.
0 commit comments