aws-events-apidestination/src/main/java/software/amazon/events/apidestination/Translator.java
static CreateApiDestinationRequest translateToCreateRequest(final ResourceModel model) {
    return CreateApiDestinationRequest.builder()
            .name(model.getName())
            .description(model.getDescription())
            .httpMethod(model.getHttpMethod())
            .invocationEndpoint(model.getInvocationEndpoint())
            .connectionArn(model.getConnectionArn())
            .invocationRateLimitPerSecond(model.getInvocationRateLimitPerSecond())
            .build();
  }
/**
   * Request to create a resource
   * @param model resource model
   * @return awsRequest the aws service request to create a resource
   */
Request to create a resource
@param model resource model
@return awsRequest the aws service request to create a resource
Request to create a resource @param model resource model @return awsRequest the aws service request to create a resource
static CreateApiDestinationRequest translateToCreateRequest(final ResourceModel model) {
    return CreateApiDestinationRequest.builder()
            .name(model.getName())
            .description(model.getDescription())
            .httpMethod(model.getHttpMethod())
            .invocationEndpoint(model.getInvocationEndpoint())
            .connectionArn(model.getConnectionArn())
            .invocationRateLimitPerSecond(model.getInvocationRateLimitPerSecond())
            .build();
  }
static CreateApiDestinationRequest translateToCreateRequest ( final ResourceModel model ) { return CreateApiDestinationRequest . builder ( ) . name ( model . getName ( ) ) . description ( model . getDescription ( ) ) . httpMethod ( model . getHttpMethod ( ) ) . invocationEndpoint ( model . getInvocationEndpoint ( ) ) . connectionArn ( model . getConnectionArn ( ) ) . invocationRateLimitPerSecond ( model . getInvocationRateLimitPerSecond ( ) ) . build ( ) ; }
Request to create a resource
 @param model resource model
 @return awsRequest the aws service request to create a resource
Request to create a resource @param model resource model @return awsRequest the aws service request to create a resource