Class GetPaymentInstrumentRequest
java.lang.Object
software.amazon.awssdk.core.SdkRequest
software.amazon.awssdk.awscore.AwsRequest
software.amazon.awssdk.services.bedrockagentcore.model.BedrockAgentCoreRequest
software.amazon.awssdk.services.bedrockagentcore.model.GetPaymentInstrumentRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetPaymentInstrumentRequest.Builder,GetPaymentInstrumentRequest>
@Generated("software.amazon.awssdk:codegen")
public final class GetPaymentInstrumentRequest
extends BedrockAgentCoreRequest
implements ToCopyableBuilder<GetPaymentInstrumentRequest.Builder,GetPaymentInstrumentRequest>
Request structure for getting a payment instrument.
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe agent name associated with this request, used for observability.builder()final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the payment connector.final StringThe ID of the payment instrument to retrieve.final StringThe ARN of the payment manager that owns this payment instrument.static Class<? extends GetPaymentInstrumentRequest.Builder>final StringtoString()Returns a string representation of this object.final StringuserId()The user ID associated with this payment instrument.Methods inherited from class software.amazon.awssdk.awscore.AwsRequest
overrideConfigurationMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
userId
The user ID associated with this payment instrument.
- Returns:
- The user ID associated with this payment instrument.
-
agentName
The agent name associated with this request, used for observability.
- Returns:
- The agent name associated with this request, used for observability.
-
paymentManagerArn
The ARN of the payment manager that owns this payment instrument.
- Returns:
- The ARN of the payment manager that owns this payment instrument.
-
paymentConnectorId
The ID of the payment connector.
- Returns:
- The ID of the payment connector.
-
paymentInstrumentId
The ID of the payment instrument to retrieve.
- Returns:
- The ID of the payment instrument to retrieve.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetPaymentInstrumentRequest.Builder,GetPaymentInstrumentRequest> - Specified by:
toBuilderin classBedrockAgentCoreRequest
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode()- Overrides:
hashCodein classAwsRequest
-
equals
- Overrides:
equalsin classAwsRequest
-
equalsBySdkFields
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value. -
getValueForField
- Overrides:
getValueForFieldin classSdkRequest
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-