@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class BackendAPIAuthType extends Object implements Serializable, Cloneable, StructuredPojo
Describes the auth types for your configured data models.
Constructor and Description |
---|
BackendAPIAuthType() |
Modifier and Type | Method and Description |
---|---|
BackendAPIAuthType |
clone() |
boolean |
equals(Object obj) |
String |
getMode()
Describes the authentication mode.
|
BackendAPIAppSyncAuthSettings |
getSettings()
Describes settings for the authentication mode.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setMode(String mode)
Describes the authentication mode.
|
void |
setSettings(BackendAPIAppSyncAuthSettings settings)
Describes settings for the authentication mode.
|
String |
toString()
Returns a string representation of this object.
|
BackendAPIAuthType |
withMode(Mode mode)
Describes the authentication mode.
|
BackendAPIAuthType |
withMode(String mode)
Describes the authentication mode.
|
BackendAPIAuthType |
withSettings(BackendAPIAppSyncAuthSettings settings)
Describes settings for the authentication mode.
|
public void setMode(String mode)
Describes the authentication mode.
mode
- Describes the authentication mode.Mode
public String getMode()
Describes the authentication mode.
Mode
public BackendAPIAuthType withMode(String mode)
Describes the authentication mode.
mode
- Describes the authentication mode.Mode
public BackendAPIAuthType withMode(Mode mode)
Describes the authentication mode.
mode
- Describes the authentication mode.Mode
public void setSettings(BackendAPIAppSyncAuthSettings settings)
Describes settings for the authentication mode.
settings
- Describes settings for the authentication mode.public BackendAPIAppSyncAuthSettings getSettings()
Describes settings for the authentication mode.
public BackendAPIAuthType withSettings(BackendAPIAppSyncAuthSettings settings)
Describes settings for the authentication mode.
settings
- Describes settings for the authentication mode.public String toString()
toString
in class Object
Object.toString()
public BackendAPIAuthType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.