public String getName() {
        return this.name;
    }
<p>
The name of the capacity provider. Up to 255 characters are allowed. They include letters (both upper and
lowercase letters), numbers, underscores (_), and hyphens (-). The name can't be prefixed with "<code>aws</code>
", "<code>ecs</code>", or "<code>fargate</code>".
</p>

@return The name of the capacity provider. Up to 255 characters are allowed. They include letters (both upper and
        lowercase letters), numbers, underscores (_), and hyphens (-). The name can't be prefixed with "
        <code>aws</code>", "<code>ecs</code>", or "<code>fargate</code>".
aws-java-sdk-ecs/src/main/java/com/amazonaws/services/ecs/model/CreateCapacityProviderRequest.java