@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateBackendAuthIdentityPoolConfig extends Object implements Serializable, Cloneable, StructuredPojo
Describes authorization configurations for the auth resources, configured as a part of your Amplify project.
Constructor and Description |
---|
CreateBackendAuthIdentityPoolConfig() |
Modifier and Type | Method and Description |
---|---|
CreateBackendAuthIdentityPoolConfig |
clone() |
boolean |
equals(Object obj) |
String |
getIdentityPoolName()
Name of the Amazon Cognito identity pool used for authorization.
|
Boolean |
getUnauthenticatedLogin()
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
|
int |
hashCode() |
Boolean |
isUnauthenticatedLogin()
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setIdentityPoolName(String identityPoolName)
Name of the Amazon Cognito identity pool used for authorization.
|
void |
setUnauthenticatedLogin(Boolean unauthenticatedLogin)
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
|
String |
toString()
Returns a string representation of this object.
|
CreateBackendAuthIdentityPoolConfig |
withIdentityPoolName(String identityPoolName)
Name of the Amazon Cognito identity pool used for authorization.
|
CreateBackendAuthIdentityPoolConfig |
withUnauthenticatedLogin(Boolean unauthenticatedLogin)
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
|
public void setIdentityPoolName(String identityPoolName)
Name of the Amazon Cognito identity pool used for authorization.
identityPoolName
- Name of the Amazon Cognito identity pool used for authorization.public String getIdentityPoolName()
Name of the Amazon Cognito identity pool used for authorization.
public CreateBackendAuthIdentityPoolConfig withIdentityPoolName(String identityPoolName)
Name of the Amazon Cognito identity pool used for authorization.
identityPoolName
- Name of the Amazon Cognito identity pool used for authorization.public void setUnauthenticatedLogin(Boolean unauthenticatedLogin)
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
unauthenticatedLogin
- Set to true or false based on whether you want to enable guest authorization to your Amplify app.public Boolean getUnauthenticatedLogin()
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
public CreateBackendAuthIdentityPoolConfig withUnauthenticatedLogin(Boolean unauthenticatedLogin)
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
unauthenticatedLogin
- Set to true or false based on whether you want to enable guest authorization to your Amplify app.public Boolean isUnauthenticatedLogin()
Set to true or false based on whether you want to enable guest authorization to your Amplify app.
public String toString()
toString
in class Object
Object.toString()
public CreateBackendAuthIdentityPoolConfig clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.