StructuredPojo
, ToCopyableBuilder<ResourceMetadata.Builder,ResourceMetadata>
@Generated("software.amazon.awssdk:codegen") public class ResourceMetadata extends Object implements StructuredPojo, ToCopyableBuilder<ResourceMetadata.Builder,ResourceMetadata>
Describes the metadata of a resource.
Modifier and Type | Class | Description |
---|---|---|
static interface |
ResourceMetadata.Builder |
Modifier and Type | Method | Description |
---|---|---|
static ResourceMetadata.Builder |
builder() |
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
String |
id() |
The ID of the resource.
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
name() |
The name of the resource.
|
String |
originalName() |
The original name of the resource prior to a rename operation.
|
UserMetadata |
owner() |
The owner of the resource.
|
String |
parentId() |
The parent ID of the resource before a rename operation.
|
static Class<? extends ResourceMetadata.Builder> |
serializableBuilderClass() |
|
ResourceMetadata.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
|
String |
type() |
The type of resource.
|
String |
versionId() |
The version ID of the resource.
|
public String type()
The type of resource.
ResourceType
public String name()
The name of the resource.
public String originalName()
The original name of the resource prior to a rename operation.
public String id()
The ID of the resource.
public String versionId()
The version ID of the resource. This is an optional field and is filled for action on document version.
public UserMetadata owner()
The owner of the resource.
public String parentId()
The parent ID of the resource before a rename operation.
public ResourceMetadata.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ResourceMetadata.Builder,ResourceMetadata>
public static ResourceMetadata.Builder builder()
public static Class<? extends ResourceMetadata.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.