@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.FolderName
public String getName()
The folder name.
FolderName
public FolderConfiguration withName(String name)
The folder name.
name
- The folder name.FolderName
public FolderConfiguration withName(FolderName name)
The folder name.
name
- The folder name.FolderName
public 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.RetentionAction
public String getAction()
The action to take on the folder contents at the end of the folder configuration period.
RetentionAction
public 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.RetentionAction
public 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.RetentionAction
public 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 Object
Object.toString()
public FolderConfiguration clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.