@Override
    public Builder toBuilder() {
        return builder()
                .sourceLocation(getSourceLocation())
                .type(type)
                .uri(uri)
                .credentials(credentials)
                .httpMethod(httpMethod)
                .passThroughBehavior(passThroughBehavior)
                .contentHandling(contentHandling)
                .timeoutInMillis(timeoutInMillis)
                .connectionId(connectionId)
                .connectionType(connectionType)
                .cacheNamespace(cacheNamespace)
                .payloadFormatVersion(payloadFormatVersion)
                .requestParameters(requestParameters)
                .requestTemplates(requestTemplates)
                .responses(responses)
                .cacheKeyParameters(cacheKeyParameters);
    }
Replaces templated placeholders in an Integration trait.

@param service Service shape ID to use when replacing {@code {serviceName}}.
@param operation Operation shape ID to use when replacing {@code {operationName}}.
@param component Templatized component to expand.
@return Returns the expanded string.
smithy-aws-apigateway-traits/src/main/java/software/amazon/smithy/aws/apigateway/traits/IntegrationTrait.java