aws-events-connection/src/main/java/software/amazon/events/connection/Translator.java
static CreateConnectionRequest translateToCreateRequest(final ResourceModel model) {
        return CreateConnectionRequest.builder()
                .name(model.getName())
                .description(model.getDescription())
                .authParameters(translateToSdkCreateAuthRequestParameter(model.getAuthParameters()))
                .authorizationType(model.getAuthorizationType())
                .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 CreateConnectionRequest translateToCreateRequest(final ResourceModel model) {
        return CreateConnectionRequest.builder()
                .name(model.getName())
                .description(model.getDescription())
                .authParameters(translateToSdkCreateAuthRequestParameter(model.getAuthParameters()))
                .authorizationType(model.getAuthorizationType())
                .build();
    }
static CreateConnectionRequest translateToCreateRequest ( final ResourceModel model ) { return CreateConnectionRequest . builder ( ) . name ( model . getName ( ) ) . description ( model . getDescription ( ) ) . authParameters ( translateToSdkCreateAuthRequestParameter ( model . getAuthParameters ( ) ) ) . authorizationType ( model . getAuthorizationType ( ) ) . 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