public CreateLoggerDefinitionRequest withName(String name) {
        setName(name);
        return this;
    }
The name of the logger definition.

@param name
       The name of the logger definition.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-greengrass/src/main/java/com/amazonaws/services/greengrass/model/CreateLoggerDefinitionRequest.java