public void setRetryPolicy(HttpRetryPolicy retryPolicy) {
        this.retryPolicy = retryPolicy;
    }
<p>
An object that represents a retry policy.
</p>

@param retryPolicy
       An object that represents a retry policy.
aws-java-sdk-appmesh/src/main/java/com/amazonaws/services/appmesh/model/HttpRoute.java