@Generated(value="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.
Modifier and Type | Class and Description |
---|---|
static interface |
CreateBackendAuthResourceConfig.Builder |
Modifier and Type | Method and Description |
---|---|
AuthResources |
authResources()
Defines whether you want to configure only authentication or both authentication and authorization settings.
|
String |
authResourcesAsString()
Defines whether you want to configure only authentication or both authentication and authorization settings.
|
static CreateBackendAuthResourceConfig.Builder |
builder() |
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj)
Indicates whether some other object is "equal to" this one by SDK fields.
|
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
CreateBackendAuthIdentityPoolConfig |
identityPoolConfigs()
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of the auth
resource in your Amplify project.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends CreateBackendAuthResourceConfig.Builder> |
serializableBuilderClass() |
Service |
service()
Defines the service name to use when configuring an authentication resource in your Amplify project.
|
String |
serviceAsString()
Defines the service name to use when configuring an authentication resource in your Amplify project.
|
CreateBackendAuthResourceConfig.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString()
Returns a string representation of this object.
|
CreateBackendAuthUserPoolConfig |
userPoolConfigs()
Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of the auth
resource in your Amplify project.
|
copy
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, authResources
will return AuthResources.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
authResourcesAsString()
.
AuthResources
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, authResources
will return AuthResources.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
authResourcesAsString()
.
AuthResources
public final CreateBackendAuthIdentityPoolConfig identityPoolConfigs()
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of the auth resource in your Amplify project.
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, service
will
return Service.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
serviceAsString()
.
Service
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, service
will
return Service.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available from
serviceAsString()
.
Service
public final CreateBackendAuthUserPoolConfig userPoolConfigs()
Describes the authentication configuration for the Amazon Cognito user pool, provisioned as a part of the auth resource in your Amplify project.
public CreateBackendAuthResourceConfig.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<CreateBackendAuthResourceConfig.Builder,CreateBackendAuthResourceConfig>
public static CreateBackendAuthResourceConfig.Builder builder()
public static Class<? extends CreateBackendAuthResourceConfig.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
SdkPojo
SdkPojo
class,
and is generated based on a service model.
If an SdkPojo
class does not have any inherited fields, equalsBySdkFields
and equals
are essentially the same.
equalsBySdkFields
in interface SdkPojo
obj
- the object to be compared withpublic final String toString()