public DescribeAgentResult withPrivateLinkConfig(PrivateLinkConfig privateLinkConfig) {
        setPrivateLinkConfig(privateLinkConfig);
        return this;
    }
<p>
The network configuration that the agent uses when connecting to a <a href=
"https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc"
>VPC service endpoint</a>.
</p>

@param privateLinkConfig
       The network configuration that the agent uses when connecting to a <a href=
       "https://docs.aws.amazon.com/datasync/latest/userguide/choose-service-endpoint.html#choose-service-endpoint-vpc"
       >VPC service endpoint</a>.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-datasync/src/main/java/com/amazonaws/services/datasync/model/DescribeAgentResult.java