@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class FolderMetadata extends Object implements Serializable, Cloneable, StructuredPojo
Describes a folder.
Constructor and Description |
---|
FolderMetadata() |
Modifier and Type | Method and Description |
---|---|
FolderMetadata |
clone() |
boolean |
equals(Object obj) |
Date |
getCreatedTimestamp()
The time when the folder was created.
|
String |
getCreatorId()
The ID of the creator.
|
String |
getId()
The ID of the folder.
|
List<String> |
getLabels()
List of labels on the folder.
|
Long |
getLatestVersionSize()
The size of the latest version of the folder metadata.
|
Date |
getModifiedTimestamp()
The time when the folder was updated.
|
String |
getName()
The name of the folder.
|
String |
getParentFolderId()
The ID of the parent folder.
|
String |
getResourceState()
The resource state of the folder.
|
String |
getSignature()
The unique identifier created from the subfolders and documents of the folder.
|
Long |
getSize()
The size of the folder metadata.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setCreatedTimestamp(Date createdTimestamp)
The time when the folder was created.
|
void |
setCreatorId(String creatorId)
The ID of the creator.
|
void |
setId(String id)
The ID of the folder.
|
void |
setLabels(Collection<String> labels)
List of labels on the folder.
|
void |
setLatestVersionSize(Long latestVersionSize)
The size of the latest version of the folder metadata.
|
void |
setModifiedTimestamp(Date modifiedTimestamp)
The time when the folder was updated.
|
void |
setName(String name)
The name of the folder.
|
void |
setParentFolderId(String parentFolderId)
The ID of the parent folder.
|
void |
setResourceState(ResourceStateType resourceState)
The resource state of the folder.
|
void |
setResourceState(String resourceState)
The resource state of the folder.
|
void |
setSignature(String signature)
The unique identifier created from the subfolders and documents of the folder.
|
void |
setSize(Long size)
The size of the folder metadata.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
FolderMetadata |
withCreatedTimestamp(Date createdTimestamp)
The time when the folder was created.
|
FolderMetadata |
withCreatorId(String creatorId)
The ID of the creator.
|
FolderMetadata |
withId(String id)
The ID of the folder.
|
FolderMetadata |
withLabels(Collection<String> labels)
List of labels on the folder.
|
FolderMetadata |
withLabels(String... labels)
List of labels on the folder.
|
FolderMetadata |
withLatestVersionSize(Long latestVersionSize)
The size of the latest version of the folder metadata.
|
FolderMetadata |
withModifiedTimestamp(Date modifiedTimestamp)
The time when the folder was updated.
|
FolderMetadata |
withName(String name)
The name of the folder.
|
FolderMetadata |
withParentFolderId(String parentFolderId)
The ID of the parent folder.
|
FolderMetadata |
withResourceState(ResourceStateType resourceState)
The resource state of the folder.
|
FolderMetadata |
withResourceState(String resourceState)
The resource state of the folder.
|
FolderMetadata |
withSignature(String signature)
The unique identifier created from the subfolders and documents of the folder.
|
FolderMetadata |
withSize(Long size)
The size of the folder metadata.
|
public void setId(String id)
The ID of the folder.
id
- The ID of the folder.public String getId()
The ID of the folder.
public FolderMetadata withId(String id)
The ID of the folder.
id
- The ID of the folder.public void setName(String name)
The name of the folder.
name
- The name of the folder.public String getName()
The name of the folder.
public FolderMetadata withName(String name)
The name of the folder.
name
- The name of the folder.public void setCreatorId(String creatorId)
The ID of the creator.
creatorId
- The ID of the creator.public String getCreatorId()
The ID of the creator.
public FolderMetadata withCreatorId(String creatorId)
The ID of the creator.
creatorId
- The ID of the creator.public void setParentFolderId(String parentFolderId)
The ID of the parent folder.
parentFolderId
- The ID of the parent folder.public String getParentFolderId()
The ID of the parent folder.
public FolderMetadata withParentFolderId(String parentFolderId)
The ID of the parent folder.
parentFolderId
- The ID of the parent folder.public void setCreatedTimestamp(Date createdTimestamp)
The time when the folder was created.
createdTimestamp
- The time when the folder was created.public Date getCreatedTimestamp()
The time when the folder was created.
public FolderMetadata withCreatedTimestamp(Date createdTimestamp)
The time when the folder was created.
createdTimestamp
- The time when the folder was created.public void setModifiedTimestamp(Date modifiedTimestamp)
The time when the folder was updated.
modifiedTimestamp
- The time when the folder was updated.public Date getModifiedTimestamp()
The time when the folder was updated.
public FolderMetadata withModifiedTimestamp(Date modifiedTimestamp)
The time when the folder was updated.
modifiedTimestamp
- The time when the folder was updated.public void setResourceState(String resourceState)
The resource state of the folder.
resourceState
- The resource state of the folder.ResourceStateType
public String getResourceState()
The resource state of the folder.
ResourceStateType
public FolderMetadata withResourceState(String resourceState)
The resource state of the folder.
resourceState
- The resource state of the folder.ResourceStateType
public void setResourceState(ResourceStateType resourceState)
The resource state of the folder.
resourceState
- The resource state of the folder.ResourceStateType
public FolderMetadata withResourceState(ResourceStateType resourceState)
The resource state of the folder.
resourceState
- The resource state of the folder.ResourceStateType
public void setSignature(String signature)
The unique identifier created from the subfolders and documents of the folder.
signature
- The unique identifier created from the subfolders and documents of the folder.public String getSignature()
The unique identifier created from the subfolders and documents of the folder.
public FolderMetadata withSignature(String signature)
The unique identifier created from the subfolders and documents of the folder.
signature
- The unique identifier created from the subfolders and documents of the folder.public List<String> getLabels()
List of labels on the folder.
public void setLabels(Collection<String> labels)
List of labels on the folder.
labels
- List of labels on the folder.public FolderMetadata withLabels(String... labels)
List of labels on the folder.
NOTE: This method appends the values to the existing list (if any). Use
setLabels(java.util.Collection)
or withLabels(java.util.Collection)
if you want to override the
existing values.
labels
- List of labels on the folder.public FolderMetadata withLabels(Collection<String> labels)
List of labels on the folder.
labels
- List of labels on the folder.public void setSize(Long size)
The size of the folder metadata.
size
- The size of the folder metadata.public Long getSize()
The size of the folder metadata.
public FolderMetadata withSize(Long size)
The size of the folder metadata.
size
- The size of the folder metadata.public void setLatestVersionSize(Long latestVersionSize)
The size of the latest version of the folder metadata.
latestVersionSize
- The size of the latest version of the folder metadata.public Long getLatestVersionSize()
The size of the latest version of the folder metadata.
public FolderMetadata withLatestVersionSize(Long latestVersionSize)
The size of the latest version of the folder metadata.
latestVersionSize
- The size of the latest version of the folder metadata.public String toString()
toString
in class Object
Object.toString()
public FolderMetadata clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.