public Builder resource(List<String> resource) {
            this.resource.clear();
            this.resource.get().addAll(resource);
            return this;
        }
A builder used to create an {@link AwsArn} class.
smithy-aws-endpoints/src/main/java/software/amazon/smithy/rulesengine/aws/language/functions/AwsArn.java