public CreateApiRequest withCredentialsArn(String credentialsArn) {
        setCredentialsArn(credentialsArn);
        return this;
    }
<p>
This property is part of quick create. It specifies the credentials required for the integration, if any. For a
Lambda integration, three options are available. To specify an IAM Role for API Gateway to assume, use the role's
Amazon Resource Name (ARN). To require that the caller's identity be passed through from the request, specify
arn:aws:iam::*:user/*. To use resource-based permissions on supported AWS services, specify null. Currently, this
property is not used for HTTP integrations. Supported only for HTTP APIs.
</p>

@param credentialsArn
       This property is part of quick create. It specifies the credentials required for the integration, if any.
       For a Lambda integration, three options are available. To specify an IAM Role for API Gateway to assume,
       use the role's Amazon Resource Name (ARN). To require that the caller's identity be passed through from
       the request, specify arn:aws:iam::*:user/*. To use resource-based permissions on supported AWS services,
       specify null. Currently, this property is not used for HTTP integrations. Supported only for HTTP APIs.
@return Returns a reference to this object so that method calls can be chained together.
aws-java-sdk-apigatewayv2/src/main/java/com/amazonaws/services/apigatewayv2/model/CreateApiRequest.java