@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AuthenticationMethodItem extends Object implements Serializable, Cloneable, StructuredPojo
A structure that describes an authentication method and its type.
| Constructor and Description |
|---|
AuthenticationMethodItem() |
| Modifier and Type | Method and Description |
|---|---|
AuthenticationMethodItem |
clone() |
boolean |
equals(Object obj) |
AuthenticationMethod |
getAuthenticationMethod()
A structure that describes an authentication method.
|
String |
getAuthenticationMethodType()
The type of authentication that is used by this method.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAuthenticationMethod(AuthenticationMethod authenticationMethod)
A structure that describes an authentication method.
|
void |
setAuthenticationMethodType(String authenticationMethodType)
The type of authentication that is used by this method.
|
String |
toString()
Returns a string representation of this object.
|
AuthenticationMethodItem |
withAuthenticationMethod(AuthenticationMethod authenticationMethod)
A structure that describes an authentication method.
|
AuthenticationMethodItem |
withAuthenticationMethodType(AuthenticationMethodType authenticationMethodType)
The type of authentication that is used by this method.
|
AuthenticationMethodItem |
withAuthenticationMethodType(String authenticationMethodType)
The type of authentication that is used by this method.
|
public void setAuthenticationMethod(AuthenticationMethod authenticationMethod)
A structure that describes an authentication method. The contents of this structure is determined by the
AuthenticationMethodType.
authenticationMethod - A structure that describes an authentication method. The contents of this structure is determined by the
AuthenticationMethodType.public AuthenticationMethod getAuthenticationMethod()
A structure that describes an authentication method. The contents of this structure is determined by the
AuthenticationMethodType.
AuthenticationMethodType.public AuthenticationMethodItem withAuthenticationMethod(AuthenticationMethod authenticationMethod)
A structure that describes an authentication method. The contents of this structure is determined by the
AuthenticationMethodType.
authenticationMethod - A structure that describes an authentication method. The contents of this structure is determined by the
AuthenticationMethodType.public void setAuthenticationMethodType(String authenticationMethodType)
The type of authentication that is used by this method.
authenticationMethodType - The type of authentication that is used by this method.AuthenticationMethodTypepublic String getAuthenticationMethodType()
The type of authentication that is used by this method.
AuthenticationMethodTypepublic AuthenticationMethodItem withAuthenticationMethodType(String authenticationMethodType)
The type of authentication that is used by this method.
authenticationMethodType - The type of authentication that is used by this method.AuthenticationMethodTypepublic AuthenticationMethodItem withAuthenticationMethodType(AuthenticationMethodType authenticationMethodType)
The type of authentication that is used by this method.
authenticationMethodType - The type of authentication that is used by this method.AuthenticationMethodTypepublic String toString()
toString in class ObjectObject.toString()public AuthenticationMethodItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.