public GetComponentResult withComponent(Component component) {
        setComponent(component);
        return this;
    }
<p>
The component of an application registered with AWS Systems Manager for SAP.
</p>

@param component
       The component of an application registered with AWS Systems Manager for SAP.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-ssmsap/src/main/java/com/amazonaws/services/ssmsap/model/GetComponentResult.java