Interface PayPalConfigurationOutput.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<PayPalConfigurationOutput.Builder,,PayPalConfigurationOutput> SdkBuilder<PayPalConfigurationOutput.Builder,,PayPalConfigurationOutput> SdkPojo
- Enclosing class:
PayPalConfigurationOutput
@Mutable
@NotThreadSafe
public static interface PayPalConfigurationOutput.Builder
extends SdkPojo, CopyableBuilder<PayPalConfigurationOutput.Builder,PayPalConfigurationOutput>
-
Method Summary
Modifier and TypeMethodDescriptionPayPal REST app client ID.clientSecretArn(Consumer<Secret.Builder> clientSecretArn) ARN of the secret that holds the client secret.clientSecretArn(Secret clientSecretArn) ARN of the secret that holds the client secret.clientSecretJsonKey(String clientSecretJsonKey) The key within the Secrets Manager secret's JSON payload that holds the client secret.clientSecretSource(String clientSecretSource) Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).clientSecretSource(SecretSourceType clientSecretSource) Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).environment(String environment) PayPal environment: LIVE or SANDBOX.environment(PayPalEnvironmentType environment) PayPal environment: LIVE or SANDBOX.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
-
clientId
PayPal REST app client ID.
- Parameters:
clientId- PayPal REST app client ID.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecretArn
ARN of the secret that holds the client secret.
- Parameters:
clientSecretArn- ARN of the secret that holds the client secret.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
clientSecretArn
ARN of the secret that holds the client secret.
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 toclientSecretArn(Secret).- Parameters:
clientSecretArn- 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:
-
clientSecretJsonKey
The key within the Secrets Manager secret's JSON payload that holds the client secret. Present only when the secret stores the value under a named key rather than as the whole payload.
- Parameters:
clientSecretJsonKey- The key within the Secrets Manager secret's JSON payload that holds the client secret. 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.
-
clientSecretSource
Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
- Parameters:
clientSecretSource- Where the client secret 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:
-
clientSecretSource
Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
- Parameters:
clientSecretSource- Where the client secret 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:
-
environment
PayPal environment: LIVE or SANDBOX.
- Parameters:
environment- PayPal environment: LIVE or SANDBOX.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
PayPal environment: LIVE or SANDBOX.
- Parameters:
environment- PayPal environment: LIVE or SANDBOX.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-