public Optional<String> getName() {
        return Optional.ofNullable(name);
    }
Get the AWS CloudFormation resource name.

@return Returns the name.
smithy-aws-cloudformation-traits/src/main/java/software/amazon/smithy/aws/cloudformation/traits/CfnResourceTrait.java