// Code generated by software.amazon.smithy.rust.codegen.smithy-rs. DO NOT EDIT.
impl super::Client {
/// Constructs a fluent builder for the [`GetPaymentInstrument`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder) operation.
///
/// - The fluent builder is configurable:
/// - [`user_id(impl Into<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::user_id) / [`set_user_id(Option<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::set_user_id):<br>required: **false**<br><p>The user ID associated with this payment instrument.</p><br>
/// - [`agent_name(impl Into<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::agent_name) / [`set_agent_name(Option<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::set_agent_name):<br>required: **false**<br><p>The agent name associated with this request, used for observability.</p><br>
/// - [`payment_manager_arn(impl Into<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::payment_manager_arn) / [`set_payment_manager_arn(Option<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::set_payment_manager_arn):<br>required: **true**<br><p>The ARN of the payment manager that owns this payment instrument.</p><br>
/// - [`payment_connector_id(impl Into<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::payment_connector_id) / [`set_payment_connector_id(Option<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::set_payment_connector_id):<br>required: **false**<br><p>The ID of the payment connector.</p><br>
/// - [`payment_instrument_id(impl Into<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::payment_instrument_id) / [`set_payment_instrument_id(Option<String>)`](crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::set_payment_instrument_id):<br>required: **true**<br><p>The ID of the payment instrument to retrieve.</p><br>
/// - On success, responds with [`GetPaymentInstrumentOutput`](crate::operation::get_payment_instrument::GetPaymentInstrumentOutput) with field(s):
/// - [`payment_instrument(Option<PaymentInstrument>)`](crate::operation::get_payment_instrument::GetPaymentInstrumentOutput::payment_instrument): <p>The payment instrument details.</p>
/// - On failure, responds with [`SdkError<GetPaymentInstrumentError>`](crate::operation::get_payment_instrument::GetPaymentInstrumentError)
pub fn get_payment_instrument(&self) -> crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder {
crate::operation::get_payment_instrument::builders::GetPaymentInstrumentFluentBuilder::new(self.handle.clone())
}
}