Class AuthConfig
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<AuthConfig.Builder,AuthConfig>
Contains the authentication settings that Connect Customer uses to call an external application endpoint.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionfinal StringThe value that Connect Customer uses as the audience (aud) claim of the JSON Web Token (JWT) that it issues.final AuthTypeauthType()The type of authentication that Connect Customer uses to call the external application endpoint.final StringThe type of authentication that Connect Customer uses to call the external application endpoint.static AuthConfig.Builderbuilder()final StringThe ARN of the Secrets Manager secret that stores the credentials.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 AuthConfig.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
-
authType
The type of authentication that Connect Customer uses to call the external application endpoint. You must specify an authentication type for
A2A_SERVERapplications. Valid values:-
API_KEY: Connect Customer sends an API key that is stored in the Secrets Manager secret that you specify inCredentialProviderIdentifier. -
CONNECT_JWT: Connect Customer issues a short-lived, signed JSON Web Token (JWT). This authentication type doesn't require a stored credential.
If the service returns an enum value that is not available in the current SDK version,
authTypewill returnAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- The type of authentication that Connect Customer uses to call the external application endpoint. You must
specify an authentication type for
A2A_SERVERapplications. Valid values:-
API_KEY: Connect Customer sends an API key that is stored in the Secrets Manager secret that you specify inCredentialProviderIdentifier. -
CONNECT_JWT: Connect Customer issues a short-lived, signed JSON Web Token (JWT). This authentication type doesn't require a stored credential.
-
- See Also:
-
-
authTypeAsString
The type of authentication that Connect Customer uses to call the external application endpoint. You must specify an authentication type for
A2A_SERVERapplications. Valid values:-
API_KEY: Connect Customer sends an API key that is stored in the Secrets Manager secret that you specify inCredentialProviderIdentifier. -
CONNECT_JWT: Connect Customer issues a short-lived, signed JSON Web Token (JWT). This authentication type doesn't require a stored credential.
If the service returns an enum value that is not available in the current SDK version,
authTypewill returnAuthType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthTypeAsString().- Returns:
- The type of authentication that Connect Customer uses to call the external application endpoint. You must
specify an authentication type for
A2A_SERVERapplications. Valid values:-
API_KEY: Connect Customer sends an API key that is stored in the Secrets Manager secret that you specify inCredentialProviderIdentifier. -
CONNECT_JWT: Connect Customer issues a short-lived, signed JSON Web Token (JWT). This authentication type doesn't require a stored credential.
-
- See Also:
-
-
credentialProviderIdentifier
The ARN of the Secrets Manager secret that stores the credentials. The secret must be accessible to Connect Customer.
You must specify this ARN when
AuthTypeisAPI_KEY. Don't specify it whenAuthTypeisCONNECT_JWT.- Returns:
- The ARN of the Secrets Manager secret that stores the credentials. The secret must be accessible to
Connect Customer.
You must specify this ARN when
AuthTypeisAPI_KEY. Don't specify it whenAuthTypeisCONNECT_JWT.
-
audienceOverride
The value that Connect Customer uses as the audience (
aud) claim of the JSON Web Token (JWT) that it issues. You can specify this parameter only whenAuthTypeisCONNECT_JWT. If you don't specify it, the audience is theAccessUrlof the application. The value can't containconnect.amazonaws.com.- Returns:
- The value that Connect Customer uses as the audience (
aud) claim of the JSON Web Token (JWT) that it issues. You can specify this parameter only whenAuthTypeisCONNECT_JWT. If you don't specify it, the audience is theAccessUrlof the application. The value can't containconnect.amazonaws.com.
-
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<AuthConfig.Builder,AuthConfig> - 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.
-