@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.AuthenticationMethodType
public String getAuthenticationMethodType()
The type of authentication that is used by this method.
AuthenticationMethodType
public 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.AuthenticationMethodType
public 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.AuthenticationMethodType
public String toString()
toString
in class Object
Object.toString()
public AuthenticationMethodItem clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.