@Generated(value="software.amazon.awssdk:codegen") public class FolderMetadata extends Object implements StructuredPojo, ToCopyableBuilder<FolderMetadata.Builder,FolderMetadata>
Describes a folder.
Modifier and Type | Class and Description |
---|---|
static interface |
FolderMetadata.Builder |
Modifier and Type | Method and Description |
---|---|
static FolderMetadata.Builder |
builder() |
Instant |
createdTimestamp()
The time when the folder was created.
|
String |
creatorId()
The ID of the creator.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
String |
id()
The ID of the folder.
|
List<String> |
labels()
List of labels on the folder.
|
Long |
latestVersionSize()
The size of the latest version of the folder metadata.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
Instant |
modifiedTimestamp()
The time when the folder was updated.
|
String |
name()
The name of the folder.
|
String |
parentFolderId()
The ID of the parent folder.
|
ResourceStateType |
resourceState()
The resource state of the folder.
|
String |
resourceStateString()
The resource state of the folder.
|
static Class<? extends FolderMetadata.Builder> |
serializableBuilderClass() |
String |
signature()
The unique identifier created from the subfolders and documents of the folder.
|
Long |
size()
The size of the folder metadata.
|
FolderMetadata.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String id()
The ID of the folder.
public String name()
The name of the folder.
public String creatorId()
The ID of the creator.
public String parentFolderId()
The ID of the parent folder.
public Instant createdTimestamp()
The time when the folder was created.
public Instant modifiedTimestamp()
The time when the folder was updated.
public ResourceStateType resourceState()
The resource state of the folder.
If the service returns an enum value that is not available in the current SDK version, resourceState
will return ResourceStateType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from resourceStateString()
.
ResourceStateType
public String resourceStateString()
The resource state of the folder.
If the service returns an enum value that is not available in the current SDK version, resourceState
will return ResourceStateType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from resourceStateString()
.
ResourceStateType
public String signature()
The unique identifier created from the subfolders and documents of the folder.
public List<String> labels()
List of labels on the folder.
Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.
public Long size()
The size of the folder metadata.
public Long latestVersionSize()
The size of the latest version of the folder metadata.
public FolderMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<FolderMetadata.Builder,FolderMetadata>
public static FolderMetadata.Builder builder()
public static Class<? extends FolderMetadata.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.