@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RecoveryOptionType extends Object implements Serializable, Cloneable, StructuredPojo
A map containing a priority as a key, and recovery method name as a value.
Constructor and Description |
---|
RecoveryOptionType() |
Modifier and Type | Method and Description |
---|---|
RecoveryOptionType |
clone() |
boolean |
equals(Object obj) |
String |
getName()
The recovery method for a user.
|
Integer |
getPriority()
A positive integer specifying priority of a method with 1 being the highest priority.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setName(String name)
The recovery method for a user.
|
void |
setPriority(Integer priority)
A positive integer specifying priority of a method with 1 being the highest priority.
|
String |
toString()
Returns a string representation of this object.
|
RecoveryOptionType |
withName(RecoveryOptionNameType name)
The recovery method for a user.
|
RecoveryOptionType |
withName(String name)
The recovery method for a user.
|
RecoveryOptionType |
withPriority(Integer priority)
A positive integer specifying priority of a method with 1 being the highest priority.
|
public void setPriority(Integer priority)
A positive integer specifying priority of a method with 1 being the highest priority.
priority
- A positive integer specifying priority of a method with 1 being the highest priority.public Integer getPriority()
A positive integer specifying priority of a method with 1 being the highest priority.
public RecoveryOptionType withPriority(Integer priority)
A positive integer specifying priority of a method with 1 being the highest priority.
priority
- A positive integer specifying priority of a method with 1 being the highest priority.public void setName(String name)
The recovery method for a user.
name
- The recovery method for a user.RecoveryOptionNameType
public String getName()
The recovery method for a user.
RecoveryOptionNameType
public RecoveryOptionType withName(String name)
The recovery method for a user.
name
- The recovery method for a user.RecoveryOptionNameType
public RecoveryOptionType withName(RecoveryOptionNameType name)
The recovery method for a user.
name
- The recovery method for a user.RecoveryOptionNameType
public String toString()
toString
in class Object
Object.toString()
public RecoveryOptionType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.