public PrivateConnectionProvisioningState withFailureMessage(String failureMessage) {
        setFailureMessage(failureMessage);
        return this;
    }
<p>
Specifies the private connection provisioning failure reason.
</p>

@param failureMessage
       Specifies the private connection provisioning failure reason.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-appflow/src/main/java/com/amazonaws/services/appflow/model/PrivateConnectionProvisioningState.java