public String getEndpointType() {
        return this.endpointType;
    }
<p>
The type of <a href="https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html">service
endpoint</a> that your agent is connected to.
</p>

@return The type of <a
        href="https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html">service
        endpoint</a> that your agent is connected to.
@see EndpointType
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/DescribeAgentResult.java