@Generated(value="software.amazon.awssdk:codegen") public final class ObjectReference extends Object implements StructuredPojo, ToCopyableBuilder<ObjectReference.Builder,ObjectReference>
The reference that identifies an object.
Modifier and Type | Class and Description |
---|---|
static interface |
ObjectReference.Builder |
Modifier and Type | Method and Description |
---|---|
static ObjectReference.Builder |
builder() |
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
String |
selector()
A path selector supports easy selection of an object by the parent/child links leading to it from the directory
root.
|
static Class<? extends ObjectReference.Builder> |
serializableBuilderClass() |
ObjectReference.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 selector()
A path selector supports easy selection of an object by the parent/child links leading to it from the directory root. Use the link names from each parent/child link to construct the path. Path selectors start with a slash (/) and link names are separated by slashes. For more information about paths, see Accessing Objects. You can identify an object in one of the following ways:
$ObjectIdentifier - An object identifier is an opaque string provided by Amazon Cloud Directory. When creating objects, the system will provide you with the identifier of the created object. An object’s identifier is immutable and no two objects will ever share the same object identifier
/some/path - Identifies the object based on path
#SomeBatchReference - Identifies the object in a batch call
$ObjectIdentifier - An object identifier is an opaque string provided by Amazon Cloud Directory. When creating objects, the system will provide you with the identifier of the created object. An object’s identifier is immutable and no two objects will ever share the same object identifier
/some/path - Identifies the object based on path
#SomeBatchReference - Identifies the object in a batch call
public ObjectReference.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<ObjectReference.Builder,ObjectReference>
public static ObjectReference.Builder builder()
public static Class<? extends ObjectReference.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.