public Waiter<GetSignalMapRequest> signalMapMonitorDeployed() {

        return new WaiterBuilder<GetSignalMapRequest, GetSignalMapResult>()
                .withSdkFunction(new GetSignalMapFunction(client))
                .withAcceptors(new SignalMapMonitorDeployed.IsDRY_RUN_DEPLOYMENT_COMPLETEMatcher(),
                        new SignalMapMonitorDeployed.IsDEPLOYMENT_COMPLETEMatcher(), new SignalMapMonitorDeployed.IsDRY_RUN_DEPLOYMENT_IN_PROGRESSMatcher(),
                        new SignalMapMonitorDeployed.IsDEPLOYMENT_IN_PROGRESSMatcher(), new SignalMapMonitorDeployed.IsDRY_RUN_DEPLOYMENT_FAILEDMatcher(),
                        new SignalMapMonitorDeployed.IsDEPLOYMENT_FAILEDMatcher())
                .withDefaultPollingStrategy(new PollingStrategy(new MaxAttemptsRetryStrategy(120), new FixedDelayStrategy(5)))
                .withExecutorService(executorService).build();
    }
Builds a SignalMapMonitorDeployed 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.
aws-java-sdk-medialive/src/main/java/com/amazonaws/services/medialive/waiters/AWSMediaLiveWaiters.java