@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AccountRecoverySettingType extends Object implements Serializable, Cloneable, StructuredPojo
The data type for AccountRecoverySetting
.
Constructor and Description |
---|
AccountRecoverySettingType() |
Modifier and Type | Method and Description |
---|---|
AccountRecoverySettingType |
clone() |
boolean |
equals(Object obj) |
List<RecoveryOptionType> |
getRecoveryMechanisms()
The list of
RecoveryOptionTypes . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setRecoveryMechanisms(Collection<RecoveryOptionType> recoveryMechanisms)
The list of
RecoveryOptionTypes . |
String |
toString()
Returns a string representation of this object.
|
AccountRecoverySettingType |
withRecoveryMechanisms(Collection<RecoveryOptionType> recoveryMechanisms)
The list of
RecoveryOptionTypes . |
AccountRecoverySettingType |
withRecoveryMechanisms(RecoveryOptionType... recoveryMechanisms)
The list of
RecoveryOptionTypes . |
public List<RecoveryOptionType> getRecoveryMechanisms()
The list of RecoveryOptionTypes
.
RecoveryOptionTypes
.public void setRecoveryMechanisms(Collection<RecoveryOptionType> recoveryMechanisms)
The list of RecoveryOptionTypes
.
recoveryMechanisms
- The list of RecoveryOptionTypes
.public AccountRecoverySettingType withRecoveryMechanisms(RecoveryOptionType... recoveryMechanisms)
The list of RecoveryOptionTypes
.
NOTE: This method appends the values to the existing list (if any). Use
setRecoveryMechanisms(java.util.Collection)
or withRecoveryMechanisms(java.util.Collection)
if
you want to override the existing values.
recoveryMechanisms
- The list of RecoveryOptionTypes
.public AccountRecoverySettingType withRecoveryMechanisms(Collection<RecoveryOptionType> recoveryMechanisms)
The list of RecoveryOptionTypes
.
recoveryMechanisms
- The list of RecoveryOptionTypes
.public String toString()
toString
in class Object
Object.toString()
public AccountRecoverySettingType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.