@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FolderConfiguration extends Object implements Serializable, Cloneable, StructuredPojo
The configuration applied to an organization's folders by its retention policy.
| Constructor and Description |
|---|
FolderConfiguration() |
| Modifier and Type | Method and Description |
|---|---|
FolderConfiguration |
clone() |
boolean |
equals(Object obj) |
String |
getAction()
The action to take on the folder contents at the end of the folder configuration period.
|
String |
getName()
The folder name.
|
Integer |
getPeriod()
The number of days for which the folder-configuration action applies.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setAction(String action)
The action to take on the folder contents at the end of the folder configuration period.
|
void |
setName(String name)
The folder name.
|
void |
setPeriod(Integer period)
The number of days for which the folder-configuration action applies.
|
String |
toString()
Returns a string representation of this object.
|
FolderConfiguration |
withAction(RetentionAction action)
The action to take on the folder contents at the end of the folder configuration period.
|
FolderConfiguration |
withAction(String action)
The action to take on the folder contents at the end of the folder configuration period.
|
FolderConfiguration |
withName(FolderName name)
The folder name.
|
FolderConfiguration |
withName(String name)
The folder name.
|
FolderConfiguration |
withPeriod(Integer period)
The number of days for which the folder-configuration action applies.
|
public void setName(String name)
The folder name.
name - The folder name.FolderNamepublic String getName()
The folder name.
FolderNamepublic FolderConfiguration withName(String name)
The folder name.
name - The folder name.FolderNamepublic FolderConfiguration withName(FolderName name)
The folder name.
name - The folder name.FolderNamepublic void setAction(String action)
The action to take on the folder contents at the end of the folder configuration period.
action - The action to take on the folder contents at the end of the folder configuration period.RetentionActionpublic String getAction()
The action to take on the folder contents at the end of the folder configuration period.
RetentionActionpublic FolderConfiguration withAction(String action)
The action to take on the folder contents at the end of the folder configuration period.
action - The action to take on the folder contents at the end of the folder configuration period.RetentionActionpublic FolderConfiguration withAction(RetentionAction action)
The action to take on the folder contents at the end of the folder configuration period.
action - The action to take on the folder contents at the end of the folder configuration period.RetentionActionpublic void setPeriod(Integer period)
The number of days for which the folder-configuration action applies.
period - The number of days for which the folder-configuration action applies.public Integer getPeriod()
The number of days for which the folder-configuration action applies.
public FolderConfiguration withPeriod(Integer period)
The number of days for which the folder-configuration action applies.
period - The number of days for which the folder-configuration action applies.public String toString()
toString in class ObjectObject.toString()public FolderConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.