@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBackendAuthResourceConfig extends Object implements Serializable, Cloneable, StructuredPojo
Defines the resource configuration when creating an auth resource in your Amplify project.
Constructor and Description |
---|
CreateBackendAuthResourceConfig() |
Modifier and Type | Method and Description |
---|---|
CreateBackendAuthResourceConfig |
clone() |
boolean |
equals(Object obj) |
String |
getAuthResources()
Defines whether you want to configure only authentication or both authentication and authorization settings.
|
CreateBackendAuthIdentityPoolConfig |
getIdentityPoolConfigs()
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your
auth resource in the Amplify project.
|
String |
getService()
Defines the service name to use when configuring an authentication resource in your Amplify project.
|
CreateBackendAuthUserPoolConfig |
getUserPoolConfigs()
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth
resource in the Amplify project.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setAuthResources(String authResources)
Defines whether you want to configure only authentication or both authentication and authorization settings.
|
void |
setIdentityPoolConfigs(CreateBackendAuthIdentityPoolConfig identityPoolConfigs)
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your
auth resource in the Amplify project.
|
void |
setService(String service)
Defines the service name to use when configuring an authentication resource in your Amplify project.
|
void |
setUserPoolConfigs(CreateBackendAuthUserPoolConfig userPoolConfigs)
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth
resource in the Amplify project.
|
String |
toString()
Returns a string representation of this object.
|
CreateBackendAuthResourceConfig |
withAuthResources(AuthResources authResources)
Defines whether you want to configure only authentication or both authentication and authorization settings.
|
CreateBackendAuthResourceConfig |
withAuthResources(String authResources)
Defines whether you want to configure only authentication or both authentication and authorization settings.
|
CreateBackendAuthResourceConfig |
withIdentityPoolConfigs(CreateBackendAuthIdentityPoolConfig identityPoolConfigs)
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your
auth resource in the Amplify project.
|
CreateBackendAuthResourceConfig |
withService(Service service)
Defines the service name to use when configuring an authentication resource in your Amplify project.
|
CreateBackendAuthResourceConfig |
withService(String service)
Defines the service name to use when configuring an authentication resource in your Amplify project.
|
CreateBackendAuthResourceConfig |
withUserPoolConfigs(CreateBackendAuthUserPoolConfig userPoolConfigs)
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth
resource in the Amplify project.
|
public void setAuthResources(String authResources)
Defines whether you want to configure only authentication or both authentication and authorization settings.
authResources
- Defines whether you want to configure only authentication or both authentication and authorization
settings.AuthResources
public String getAuthResources()
Defines whether you want to configure only authentication or both authentication and authorization settings.
AuthResources
public CreateBackendAuthResourceConfig withAuthResources(String authResources)
Defines whether you want to configure only authentication or both authentication and authorization settings.
authResources
- Defines whether you want to configure only authentication or both authentication and authorization
settings.AuthResources
public CreateBackendAuthResourceConfig withAuthResources(AuthResources authResources)
Defines whether you want to configure only authentication or both authentication and authorization settings.
authResources
- Defines whether you want to configure only authentication or both authentication and authorization
settings.AuthResources
public void setIdentityPoolConfigs(CreateBackendAuthIdentityPoolConfig identityPoolConfigs)
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
identityPoolConfigs
- Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of
your auth resource in the Amplify project.public CreateBackendAuthIdentityPoolConfig getIdentityPoolConfigs()
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
public CreateBackendAuthResourceConfig withIdentityPoolConfigs(CreateBackendAuthIdentityPoolConfig identityPoolConfigs)
Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of your auth resource in the Amplify project.
identityPoolConfigs
- Describes the authorization configuration for the Amazon Cognito identity pool, provisioned as a part of
your auth resource in the Amplify project.public void setService(String service)
Defines the service name to use when configuring an authentication resource in your Amplify project.
service
- Defines the service name to use when configuring an authentication resource in your Amplify project.Service
public String getService()
Defines the service name to use when configuring an authentication resource in your Amplify project.
Service
public CreateBackendAuthResourceConfig withService(String service)
Defines the service name to use when configuring an authentication resource in your Amplify project.
service
- Defines the service name to use when configuring an authentication resource in your Amplify project.Service
public CreateBackendAuthResourceConfig withService(Service service)
Defines the service name to use when configuring an authentication resource in your Amplify project.
service
- Defines the service name to use when configuring an authentication resource in your Amplify project.Service
public void setUserPoolConfigs(CreateBackendAuthUserPoolConfig userPoolConfigs)
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
userPoolConfigs
- Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your
auth resource in the Amplify project.public CreateBackendAuthUserPoolConfig getUserPoolConfigs()
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
public CreateBackendAuthResourceConfig withUserPoolConfigs(CreateBackendAuthUserPoolConfig userPoolConfigs)
Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your auth resource in the Amplify project.
userPoolConfigs
- Describes authentication configuration for the Amazon Cognito user pool, provisioned as a part of your
auth resource in the Amplify project.public String toString()
toString
in class Object
Object.toString()
public CreateBackendAuthResourceConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.