Class StripeConfigurationOutput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<StripeConfigurationOutput.Builder,StripeConfigurationOutput>
Stripe configuration output with secret ARNs Stripe configuration output for a MANUAL provider.
Scoped to MANUAL on purpose. A QUICK_CREATE provider holds an OAuth access and refresh token and no restricted key, so it needs its own output shape rather than reusing this one — sharing it would leave a caller unable to tell which credential members to expect, since neither shape carries a mode discriminator.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Stripe account the restricted key belongs to.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 stored on the provider record.final SecretSecrets Manager ARN of the restricted key.final StringThe key within the Secrets Manager secret's JSON payload that holds the restricted key.final SecretSourceTypeWhere the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).final StringWhere the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).static Class<? extends StripeConfigurationOutput.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
-
restrictedKeyArn
Secrets Manager ARN of the restricted key. Always present: a MANUAL provider either points at the merchant's own secret (EXTERNAL) or at the service-linked secret AgentCore wrote (MANAGED).
- Returns:
- Secrets Manager ARN of the restricted key. Always present: a MANUAL provider either points at the merchant's own secret (EXTERNAL) or at the service-linked secret AgentCore wrote (MANAGED).
-
restrictedKeyJsonKey
The key within the Secrets Manager secret's JSON payload that holds the restricted key. Present only when the secret stores the value under a named key rather than as the whole payload.
- Returns:
- The key within the Secrets Manager secret's JSON payload that holds the restricted key. Present only when the secret stores the value under a named key rather than as the whole payload.
-
restrictedKeySource
Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
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:
- Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
- See Also:
-
restrictedKeySourceAsString
Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
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:
- Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
- See Also:
-
connectedAccountId
The Stripe account the restricted key belongs to.
Reserved, and not populated yet: resolving it needs a Stripe GET /v1/account call the service does not make. Treat it as server-written and immutable — no request member sets it, and an update carries the stored value forward untouched. The check that a rotated key still belongs to the same Stripe account is NOT implemented, so do not rely on this field as a control.
- Returns:
- The Stripe account the restricted key belongs to.
Reserved, and not populated yet: resolving it needs a Stripe GET /v1/account call the service does not make. Treat it as server-written and immutable — no request member sets it, and an update carries the stored value forward untouched. The check that a rotated key still belongs to the same Stripe account is NOT implemented, so do not rely on this field as a control.
-
publishableKey
Stripe publishable key stored on the provider record. Present only when the merchant supplied one at create/update. Public by design, so it is echoed in plaintext, not as a secret ARN.
- Returns:
- Stripe publishable key stored on the provider record. Present only when the merchant supplied one at create/update. Public by design, so it is echoed in plaintext, not as a secret ARN.
-
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<StripeConfigurationOutput.Builder,StripeConfigurationOutput> - 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.
-