Interface StripeConfigurationOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<StripeConfigurationOutput.Builder,,StripeConfigurationOutput> SdkBuilder<StripeConfigurationOutput.Builder,,StripeConfigurationOutput> SdkPojo
- Enclosing class:
StripeConfigurationOutput
-
Method Summary
Modifier and TypeMethodDescriptionconnectedAccountId(String connectedAccountId) The Stripe account the restricted key belongs to.publishableKey(String publishableKey) Stripe publishable key stored on the provider record.restrictedKeyArn(Consumer<Secret.Builder> restrictedKeyArn) Secrets Manager ARN of the restricted key.restrictedKeyArn(Secret restrictedKeyArn) Secrets Manager ARN of the restricted key.restrictedKeyJsonKey(String restrictedKeyJsonKey) The key within the Secrets Manager secret's JSON payload that holds the restricted key.restrictedKeySource(String restrictedKeySource) Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).restrictedKeySource(SecretSourceType restrictedKeySource) Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
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).
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
restrictedKeyArn
default StripeConfigurationOutput.Builder restrictedKeyArn(Consumer<Secret.Builder> 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).
This is a convenience method that creates an instance of theSecret.Builderavoiding the need to create one manually viaSecret.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torestrictedKeyArn(Secret).- Parameters:
restrictedKeyArn- a consumer that will call methods onSecret.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
restrictedKeySource
Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
- Parameters:
restrictedKeySource- Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
restrictedKeySource
Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
- Parameters:
restrictedKeySource- Where the restricted key is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).- Returns:
- Returns a reference to this object so that method calls can be chained together.
- 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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-
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.
- Parameters:
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:
- Returns a reference to this object so that method calls can be chained together.
-