public Waiter<GetIdentityVerificationAttributesRequest> identityExists() {

        return new WaiterBuilder<GetIdentityVerificationAttributesRequest, GetIdentityVerificationAttributesResult>()
                .withSdkFunction(new GetIdentityVerificationAttributesFunction(client)).withAcceptors(new IdentityExists.IsSuccessMatcher())
                .withDefaultPollingStrategy(new PollingStrategy(new MaxAttemptsRetryStrategy(20), new FixedDelayStrategy(3)))
                .withExecutorService(executorService).build();
    }
public Waiter < GetIdentityVerificationAttributesRequest > identityExists ( ) { return new WaiterBuilder < GetIdentityVerificationAttributesRequest , GetIdentityVerificationAttributesResult > ( ) . withSdkFunction ( new GetIdentityVerificationAttributesFunction ( client ) ) . withAcceptors ( new IdentityExists . IsSuccessMatcher ( ) ) . withDefaultPollingStrategy ( new PollingStrategy ( new MaxAttemptsRetryStrategy ( 20 ) , new FixedDelayStrategy ( 3 ) ) ) . withExecutorService ( executorService ) . build ( ) ; }
Builds a IdentityExists waiter by using custom parameters waiterParameters and other parameters defined in the
waiters specification, and then polls until it determines whether the resource entered the desired state or not,
where polling criteria is bound by either default polling strategy or custom polling strategy.