Class StripeConfigurationInput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StripeConfigurationInput.Builder,StripeConfigurationInput>
Stripe configuration - a restricted key the merchant creates in the Stripe Dashboard. Stripe documents these as restricted API keys: https://docs.stripe.com/keys/restricted-api-keys
The key is supplied only as a Secrets Manager reference. AgentCore accepts a restricted key (rk_live_*
or rk_test_*) and rejects a secret key (sk_*) or a publishable key (pk_*).
Rotate by pointing restrictedKeyConfig at a new secret version.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final StringStripe publishable key (pk_live_* or pk_test_*).final StringThe restricted key value, supplied inline.final SecretReferenceSecrets Manager reference to a restricted key the merchant owns (EXTERNAL).final SecretSourceTypeWho owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant.final StringWho owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant.static Class<? extends StripeConfigurationInput.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
restrictedKey
The restricted key value, supplied inline. Use this when AgentCore should own the secret (MANAGED): the service stores the value in a service-linked Secrets Manager secret. Mutually exclusive with restrictedKeyConfig.
- Returns:
- The restricted key value, supplied inline. Use this when AgentCore should own the secret (MANAGED): the service stores the value in a service-linked Secrets Manager secret. Mutually exclusive with restrictedKeyConfig.
-
restrictedKeySource
Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.
If the service returns an enum value that is not available in the current SDK version,
restrictedKeySourcewill returnSecretSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrestrictedKeySourceAsString().- Returns:
- Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.
- See Also:
-
restrictedKeySourceAsString
Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.
If the service returns an enum value that is not available in the current SDK version,
restrictedKeySourcewill returnSecretSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromrestrictedKeySourceAsString().- Returns:
- Who owns the Secrets Manager secret: MANAGED for AgentCore, EXTERNAL for the merchant. Optional — supply restrictedKey inline and MANAGED is implied, matching CoinbaseCDP and StripePrivy.
- See Also:
-
restrictedKeyConfig
Secrets Manager reference to a restricted key the merchant owns (EXTERNAL). Preferred over restrictedKey: the value never travels through this API, so it stays out of the CloudTrail request body and out of shell history. Mutually exclusive with restrictedKey.
- Returns:
- Secrets Manager reference to a restricted key the merchant owns (EXTERNAL). Preferred over restrictedKey: the value never travels through this API, so it stays out of the CloudTrail request body and out of shell history. Mutually exclusive with restrictedKey.
-
publishableKey
Stripe publishable key (pk_live_* or pk_test_*). Optional. Public by Stripe's design, so it is stored as a plain attribute on the provider record, never in Secrets Manager. Its mode must match the restricted key's (pk_test_ with rk_test_, pk_live_ with rk_live_).
- Returns:
- Stripe publishable key (pk_live_* or pk_test_*). Optional. Public by Stripe's design, so it is stored as a plain attribute on the provider record, never in Secrets Manager. Its mode must match the restricted key's (pk_test_ with rk_test_, pk_live_ with rk_live_).
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<StripeConfigurationInput.Builder,StripeConfigurationInput> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-
sdkFieldNameToField
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo- Returns:
- The mapping between the field name and its corresponding field.
-