@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackendAPIAppSyncAuthSettings extends Object implements Serializable, Cloneable, StructuredPojo
The authentication settings for accessing provisioned data models in your Amplify project.
Constructor and Description |
---|
BackendAPIAppSyncAuthSettings() |
Modifier and Type | Method and Description |
---|---|
BackendAPIAppSyncAuthSettings |
clone() |
boolean |
equals(Object obj) |
String |
getCognitoUserPoolId()
The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data
models.
|
String |
getDescription()
The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.
|
Double |
getExpirationTime()
The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data
models.
|
String |
getOpenIDAuthTTL()
The expiry time for the OpenID authentication mechanism.
|
String |
getOpenIDClientId()
The clientID for openID, if openID was used as an authentication setting to access your data models.
|
String |
getOpenIDIatTTL()
The expiry time for the OpenID authentication mechanism.
|
String |
getOpenIDIssueURL()
The openID issuer URL, if openID was used as an authentication setting to access your data models.
|
String |
getOpenIDProviderName()
The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCognitoUserPoolId(String cognitoUserPoolId)
The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data
models.
|
void |
setDescription(String description)
The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.
|
void |
setExpirationTime(Double expirationTime)
The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data
models.
|
void |
setOpenIDAuthTTL(String openIDAuthTTL)
The expiry time for the OpenID authentication mechanism.
|
void |
setOpenIDClientId(String openIDClientId)
The clientID for openID, if openID was used as an authentication setting to access your data models.
|
void |
setOpenIDIatTTL(String openIDIatTTL)
The expiry time for the OpenID authentication mechanism.
|
void |
setOpenIDIssueURL(String openIDIssueURL)
The openID issuer URL, if openID was used as an authentication setting to access your data models.
|
void |
setOpenIDProviderName(String openIDProviderName)
The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.
|
String |
toString()
Returns a string representation of this object.
|
BackendAPIAppSyncAuthSettings |
withCognitoUserPoolId(String cognitoUserPoolId)
The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data
models.
|
BackendAPIAppSyncAuthSettings |
withDescription(String description)
The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.
|
BackendAPIAppSyncAuthSettings |
withExpirationTime(Double expirationTime)
The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data
models.
|
BackendAPIAppSyncAuthSettings |
withOpenIDAuthTTL(String openIDAuthTTL)
The expiry time for the OpenID authentication mechanism.
|
BackendAPIAppSyncAuthSettings |
withOpenIDClientId(String openIDClientId)
The clientID for openID, if openID was used as an authentication setting to access your data models.
|
BackendAPIAppSyncAuthSettings |
withOpenIDIatTTL(String openIDIatTTL)
The expiry time for the OpenID authentication mechanism.
|
BackendAPIAppSyncAuthSettings |
withOpenIDIssueURL(String openIDIssueURL)
The openID issuer URL, if openID was used as an authentication setting to access your data models.
|
BackendAPIAppSyncAuthSettings |
withOpenIDProviderName(String openIDProviderName)
The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.
|
public void setCognitoUserPoolId(String cognitoUserPoolId)
The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data models.
cognitoUserPoolId
- The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your
data models.public String getCognitoUserPoolId()
The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data models.
public BackendAPIAppSyncAuthSettings withCognitoUserPoolId(String cognitoUserPoolId)
The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your data models.
cognitoUserPoolId
- The Amazon Cognito user pool ID, if Amazon Cognito was used as an authentication setting to access your
data models.public void setDescription(String description)
The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.
description
- The API key description for API_KEY, if it was used as an authentication mechanism to access your data
models.public String getDescription()
The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.
public BackendAPIAppSyncAuthSettings withDescription(String description)
The API key description for API_KEY, if it was used as an authentication mechanism to access your data models.
description
- The API key description for API_KEY, if it was used as an authentication mechanism to access your data
models.public void setExpirationTime(Double expirationTime)
The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.
expirationTime
- The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data
models.public Double getExpirationTime()
The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.
public BackendAPIAppSyncAuthSettings withExpirationTime(Double expirationTime)
The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data models.
expirationTime
- The API key expiration time for API_KEY, if it was used as an authentication mechanism to access your data
models.public void setOpenIDAuthTTL(String openIDAuthTTL)
The expiry time for the OpenID authentication mechanism.
openIDAuthTTL
- The expiry time for the OpenID authentication mechanism.public String getOpenIDAuthTTL()
The expiry time for the OpenID authentication mechanism.
public BackendAPIAppSyncAuthSettings withOpenIDAuthTTL(String openIDAuthTTL)
The expiry time for the OpenID authentication mechanism.
openIDAuthTTL
- The expiry time for the OpenID authentication mechanism.public void setOpenIDClientId(String openIDClientId)
The clientID for openID, if openID was used as an authentication setting to access your data models.
openIDClientId
- The clientID for openID, if openID was used as an authentication setting to access your data models.public String getOpenIDClientId()
The clientID for openID, if openID was used as an authentication setting to access your data models.
public BackendAPIAppSyncAuthSettings withOpenIDClientId(String openIDClientId)
The clientID for openID, if openID was used as an authentication setting to access your data models.
openIDClientId
- The clientID for openID, if openID was used as an authentication setting to access your data models.public void setOpenIDIatTTL(String openIDIatTTL)
The expiry time for the OpenID authentication mechanism.
openIDIatTTL
- The expiry time for the OpenID authentication mechanism.public String getOpenIDIatTTL()
The expiry time for the OpenID authentication mechanism.
public BackendAPIAppSyncAuthSettings withOpenIDIatTTL(String openIDIatTTL)
The expiry time for the OpenID authentication mechanism.
openIDIatTTL
- The expiry time for the OpenID authentication mechanism.public void setOpenIDIssueURL(String openIDIssueURL)
The openID issuer URL, if openID was used as an authentication setting to access your data models.
openIDIssueURL
- The openID issuer URL, if openID was used as an authentication setting to access your data models.public String getOpenIDIssueURL()
The openID issuer URL, if openID was used as an authentication setting to access your data models.
public BackendAPIAppSyncAuthSettings withOpenIDIssueURL(String openIDIssueURL)
The openID issuer URL, if openID was used as an authentication setting to access your data models.
openIDIssueURL
- The openID issuer URL, if openID was used as an authentication setting to access your data models.public void setOpenIDProviderName(String openIDProviderName)
The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.
openIDProviderName
- The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.public String getOpenIDProviderName()
The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.
public BackendAPIAppSyncAuthSettings withOpenIDProviderName(String openIDProviderName)
The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.
openIDProviderName
- The OpenID provider name, if OpenID was used as an authentication mechanism to access your data models.public String toString()
toString
in class Object
Object.toString()
public BackendAPIAppSyncAuthSettings clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.