Class CreateBackendAuthResourceConfig
- java.lang.Object
-
- software.amazon.awssdk.services.amplifybackend.model.CreateBackendAuthResourceConfig
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<CreateBackendAuthResourceConfig.Builder,CreateBackendAuthResourceConfig>
@Generated("software.amazon.awssdk:codegen") public final class CreateBackendAuthResourceConfig extends Object implements SdkPojo, Serializable, ToCopyableBuilder<CreateBackendAuthResourceConfig.Builder,CreateBackendAuthResourceConfig>
Defines the resource configuration when creating an auth resource in your Amplify project.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceCreateBackendAuthResourceConfig.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AuthResourcesauthResources()Defines whether you want to configure only authentication or both authentication and authorization settings.StringauthResourcesAsString()Defines whether you want to configure only authentication or both authentication and authorization settings.static CreateBackendAuthResourceConfig.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()CreateBackendAuthIdentityPoolConfigidentityPoolConfigs()Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.List<SdkField<?>>sdkFields()static Class<? extends CreateBackendAuthResourceConfig.Builder>serializableBuilderClass()Serviceservice()Defines the service name to use when configuring an authentication resource in your Amplify project.StringserviceAsString()Defines the service name to use when configuring an authentication resource in your Amplify project.CreateBackendAuthResourceConfig.BuildertoBuilder()StringtoString()Returns a string representation of this object.CreateBackendAuthUserPoolConfiguserPoolConfigs()Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
authResources
public final AuthResources authResources()
Defines whether you want to configure only authentication or both authentication and authorization settings.
If the service returns an enum value that is not available in the current SDK version,
authResourceswill returnAuthResources.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthResourcesAsString().- Returns:
- Defines whether you want to configure only authentication or both authentication and authorization settings.
- See Also:
AuthResources
-
authResourcesAsString
public final String authResourcesAsString()
Defines whether you want to configure only authentication or both authentication and authorization settings.
If the service returns an enum value that is not available in the current SDK version,
authResourceswill returnAuthResources.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromauthResourcesAsString().- Returns:
- Defines whether you want to configure only authentication or both authentication and authorization settings.
- See Also:
AuthResources
-
identityPoolConfigs
public final CreateBackendAuthIdentityPoolConfig identityPoolConfigs()
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
- Returns:
- Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
-
service
public final Service service()
Defines the service name to use when configuring an authentication resource in your Amplify project.
If the service returns an enum value that is not available in the current SDK version,
servicewill returnService.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromserviceAsString().- Returns:
- Defines the service name to use when configuring an authentication resource in your Amplify project.
- See Also:
Service
-
serviceAsString
public final String serviceAsString()
Defines the service name to use when configuring an authentication resource in your Amplify project.
If the service returns an enum value that is not available in the current SDK version,
servicewill returnService.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromserviceAsString().- Returns:
- Defines the service name to use when configuring an authentication resource in your Amplify project.
- See Also:
Service
-
userPoolConfigs
public final CreateBackendAuthUserPoolConfig userPoolConfigs()
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
- Returns:
- Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
-
toBuilder
public CreateBackendAuthResourceConfig.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<CreateBackendAuthResourceConfig.Builder,CreateBackendAuthResourceConfig>
-
builder
public static CreateBackendAuthResourceConfig.Builder builder()
-
serializableBuilderClass
public static Class<? extends CreateBackendAuthResourceConfig.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
-