def METHOD_NAME(self):
    _content_value, _builder = self.new_content_builder(
        self.ctx.args,
        typ=AAZObjectType,
        typ_kwargs={"flags": {"required": True, "client_flatten": True}}
    )
    _builder.set_prop("connectionType", AAZStrType, ".connection_type")
    _builder.set_prop("resourceUri", AAZStrType, ".resource_uri")
    return self.serialize_content(_content_value)