aws-events-apidestination/src/main/java/software/amazon/events/apidestination/Translator.java
static ResourceModel translateFromReadResponse(final DescribeApiDestinationResponse awsResponse) {
    ResourceModel resourceModel = ResourceModel.builder()
            .name(awsResponse.name())
            .arn(awsResponse.apiDestinationArn())
            .description(awsResponse.description())
            .connectionArn(awsResponse.connectionArn())
            .invocationEndpoint(awsResponse.invocationEndpoint())
            .invocationRateLimitPerSecond(awsResponse.invocationRateLimitPerSecond())
            .httpMethod(awsResponse.httpMethodAsString())
            .build();

    return resourceModel;
  }
/**
   * Translates resource object from sdk into a resource model
   * @param awsResponse the aws service describe resource response
   * @return model resource model
   */
Translates resource object from sdk into a resource model
@param awsResponse the aws service describe resource response
@return model resource model
Translates resource object from sdk into a resource model @param awsResponse the aws service describe resource response @return model resource model
static ResourceModel translateFromReadResponse(final DescribeApiDestinationResponse awsResponse) {
    ResourceModel resourceModel = ResourceModel.builder()
            .name(awsResponse.name())
            .arn(awsResponse.apiDestinationArn())
            .description(awsResponse.description())
            .connectionArn(awsResponse.connectionArn())
            .invocationEndpoint(awsResponse.invocationEndpoint())
            .invocationRateLimitPerSecond(awsResponse.invocationRateLimitPerSecond())
            .httpMethod(awsResponse.httpMethodAsString())
            .build();
    return resourceModel;
  }
static ResourceModel translateFromReadResponse ( final DescribeApiDestinationResponse awsResponse ) { ResourceModel resourceModel = ResourceModel . builder ( ) . name ( awsResponse . name ( ) ) . arn ( awsResponse . apiDestinationArn ( ) ) . description ( awsResponse . description ( ) ) . connectionArn ( awsResponse . connectionArn ( ) ) . invocationEndpoint ( awsResponse . invocationEndpoint ( ) ) . invocationRateLimitPerSecond ( awsResponse . invocationRateLimitPerSecond ( ) ) . httpMethod ( awsResponse . httpMethodAsString ( ) ) . build ( ) ; return resourceModel ; }
Translates resource object from sdk into a resource model
 @param awsResponse the aws service describe resource response
 @return model resource model
Translates resource object from sdk into a resource model @param awsResponse the aws service describe resource response @return model resource model