code: public Waiter<GetStreamingDistributionRequest> streamingDistributionDeployed() {
  
          return new WaiterBuilder<GetStreamingDistributionRequest, GetStreamingDistributionResult>()
                  .withSdkFunction(new GetStreamingDistributionFunction(client)).withAcceptors(new StreamingDistributionDeployed.IsDeployedMatcher())
                  .withDefaultPollingStrategy(new PollingStrategy(new MaxAttemptsRetryStrategy(25), new FixedDelayStrategy(60)))
                  .withExecutorService(executorService).build();
      }
docs: Builds a StreamingDistributionDeployed 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.