public NetworkPathComponent withComponentType(String componentType) {
        setComponentType(componentType);
        return this;
    }
<p>
The type of component.
</p>
<p>
Length Constraints: Minimum of 1. Maximum of 32.
</p>

@param componentType
       The type of component.</p>
       <p>
       Length Constraints: Minimum of 1. Maximum of 32.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-securityhub/src/main/java/com/amazonaws/services/securityhub/model/NetworkPathComponent.java