Class PayPalConfigurationInput
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<PayPalConfigurationInput.Builder,PayPalConfigurationInput>
PayPal configuration - the merchant's own PayPal REST app (clientId/clientSecret created in the PayPal Developer Dashboard). AgentCore mints a short-lived OAuth2 access token from these credentials when you request a token. https://developer.paypal.com/api/rest/
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringclientId()PayPal REST app client ID.final StringInline client secret.final SecretReferenceReference to your Secrets Manager secret that holds the client secret (EXTERNAL).final SecretSourceTypeWhere the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).final StringWhere the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).final PayPalEnvironmentTypePayPal environment: LIVE or SANDBOX.final StringPayPal environment: LIVE or SANDBOX.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()static Class<? extends PayPalConfigurationInput.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
-
clientId
-
clientSecret
Inline client secret. AgentCore stores it for you (clientSecretSource MANAGED). Mutually exclusive with clientSecretConfig.
- Returns:
- Inline client secret. AgentCore stores it for you (clientSecretSource MANAGED). Mutually exclusive with clientSecretConfig.
-
clientSecretSource
Where the client secret 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,
clientSecretSourcewill returnSecretSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientSecretSourceAsString().- Returns:
- Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
- See Also:
-
clientSecretSourceAsString
Where the client secret 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,
clientSecretSourcewill returnSecretSourceType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromclientSecretSourceAsString().- Returns:
- Where the client secret is stored: MANAGED (inline) or EXTERNAL (Secrets Manager reference).
- See Also:
-
clientSecretConfig
Reference to your Secrets Manager secret that holds the client secret (EXTERNAL). Mutually exclusive with clientSecret.
- Returns:
- Reference to your Secrets Manager secret that holds the client secret (EXTERNAL). Mutually exclusive with clientSecret.
-
environment
PayPal environment: LIVE or SANDBOX.
If the service returns an enum value that is not available in the current SDK version,
environmentwill returnPayPalEnvironmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromenvironmentAsString().- Returns:
- PayPal environment: LIVE or SANDBOX.
- See Also:
-
environmentAsString
PayPal environment: LIVE or SANDBOX.
If the service returns an enum value that is not available in the current SDK version,
environmentwill returnPayPalEnvironmentType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromenvironmentAsString().- Returns:
- PayPal environment: LIVE or SANDBOX.
- See Also:
-
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<PayPalConfigurationInput.Builder,PayPalConfigurationInput> - 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.
-