public OperationFuture < AntiAffinityPolicy > modify ( AntiAffinityPolicy policyRef , AntiAffinityPolicyConfig modifyConfig ) { client . modifyAntiAffinityPolicy ( findByRef ( policyRef ) . getId ( ) , new AntiAffinityPolicyRequest ( ) . name ( modifyConfig . getName ( ) ) ) ; return new OperationFuture <> ( policyRef , new NoWaitingJobFuture ( ) ) ; }
Update Anti - affinity policy