Class CreatePaymentInstrumentRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<CreatePaymentInstrumentRequest.Builder,CreatePaymentInstrumentRequest>
Request structure for creating 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 StringA unique, case-sensitive identifier that you provide to ensure the idempotency of the request.final booleanfinal booleanequalsBySdkFields(Object obj) final <T> Optional<T>getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringThe ID of the payment connector to use for this instrument.final PaymentInstrumentDetailsThe details of the payment instrument.final PaymentInstrumentTypeThe type of payment instrument being created.final StringThe type of payment instrument being created.final StringThe ARN of the payment manager that owns this payment instrument.static Class<? extends CreatePaymentInstrumentRequest.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 to use for this instrument.
- Returns:
- The ID of the payment connector to use for this instrument.
-
paymentInstrumentType
The type of payment instrument being created.
If the service returns an enum value that is not available in the current SDK version,
paymentInstrumentTypewill returnPaymentInstrumentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompaymentInstrumentTypeAsString().- Returns:
- The type of payment instrument being created.
- See Also:
-
paymentInstrumentTypeAsString
The type of payment instrument being created.
If the service returns an enum value that is not available in the current SDK version,
paymentInstrumentTypewill returnPaymentInstrumentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frompaymentInstrumentTypeAsString().- Returns:
- The type of payment instrument being created.
- See Also:
-
paymentInstrumentDetails
The details of the payment instrument.
- Returns:
- The details of the payment instrument.
-
clientToken
A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
- Returns:
- A unique, case-sensitive identifier that you provide to ensure the idempotency of the request.
-
toBuilder
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreatePaymentInstrumentRequest.Builder,CreatePaymentInstrumentRequest> - 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
-