@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateObjectRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateObjectRequest() |
Modifier and Type | Method and Description |
---|---|
CreateObjectRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getDirectoryArn()
The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created.
|
String |
getLinkName()
The name of link that is used to attach this object to a parent.
|
List<AttributeKeyAndValue> |
getObjectAttributeList()
The attribute map whose attribute ARN contains the key and attribute value as the map value.
|
ObjectReference |
getParentReference()
If specified, the parent reference to which this object will be attached.
|
List<SchemaFacet> |
getSchemaFacets()
A list of schema facets to be associated with the object.
|
int |
hashCode() |
void |
setDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created.
|
void |
setLinkName(String linkName)
The name of link that is used to attach this object to a parent.
|
void |
setObjectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList)
The attribute map whose attribute ARN contains the key and attribute value as the map value.
|
void |
setParentReference(ObjectReference parentReference)
If specified, the parent reference to which this object will be attached.
|
void |
setSchemaFacets(Collection<SchemaFacet> schemaFacets)
A list of schema facets to be associated with the object.
|
String |
toString()
Returns a string representation of this object.
|
CreateObjectRequest |
withDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) that is associated with the Directory in which the object will be created.
|
CreateObjectRequest |
withLinkName(String linkName)
The name of link that is used to attach this object to a parent.
|
CreateObjectRequest |
withObjectAttributeList(AttributeKeyAndValue... objectAttributeList)
The attribute map whose attribute ARN contains the key and attribute value as the map value.
|
CreateObjectRequest |
withObjectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList)
The attribute map whose attribute ARN contains the key and attribute value as the map value.
|
CreateObjectRequest |
withParentReference(ObjectReference parentReference)
If specified, the parent reference to which this object will be attached.
|
CreateObjectRequest |
withSchemaFacets(Collection<SchemaFacet> schemaFacets)
A list of schema facets to be associated with the object.
|
CreateObjectRequest |
withSchemaFacets(SchemaFacet... schemaFacets)
A list of schema facets to be associated with the object.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryArn(String directoryArn)
public String getDirectoryArn()
public CreateObjectRequest withDirectoryArn(String directoryArn)
public List<SchemaFacet> getSchemaFacets()
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
public void setSchemaFacets(Collection<SchemaFacet> schemaFacets)
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
schemaFacets
- A list of schema facets to be associated with the object. Do not provide minor version components. See
SchemaFacet for details.public CreateObjectRequest withSchemaFacets(SchemaFacet... schemaFacets)
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
NOTE: This method appends the values to the existing list (if any). Use
setSchemaFacets(java.util.Collection)
or withSchemaFacets(java.util.Collection)
if you want to
override the existing values.
schemaFacets
- A list of schema facets to be associated with the object. Do not provide minor version components. See
SchemaFacet for details.public CreateObjectRequest withSchemaFacets(Collection<SchemaFacet> schemaFacets)
A list of schema facets to be associated with the object. Do not provide minor version components. See SchemaFacet for details.
schemaFacets
- A list of schema facets to be associated with the object. Do not provide minor version components. See
SchemaFacet for details.public List<AttributeKeyAndValue> getObjectAttributeList()
The attribute map whose attribute ARN contains the key and attribute value as the map value.
public void setObjectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList)
The attribute map whose attribute ARN contains the key and attribute value as the map value.
objectAttributeList
- The attribute map whose attribute ARN contains the key and attribute value as the map value.public CreateObjectRequest withObjectAttributeList(AttributeKeyAndValue... objectAttributeList)
The attribute map whose attribute ARN contains the key and attribute value as the map value.
NOTE: This method appends the values to the existing list (if any). Use
setObjectAttributeList(java.util.Collection)
or withObjectAttributeList(java.util.Collection)
if you want to override the existing values.
objectAttributeList
- The attribute map whose attribute ARN contains the key and attribute value as the map value.public CreateObjectRequest withObjectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList)
The attribute map whose attribute ARN contains the key and attribute value as the map value.
objectAttributeList
- The attribute map whose attribute ARN contains the key and attribute value as the map value.public void setParentReference(ObjectReference parentReference)
If specified, the parent reference to which this object will be attached.
parentReference
- If specified, the parent reference to which this object will be attached.public ObjectReference getParentReference()
If specified, the parent reference to which this object will be attached.
public CreateObjectRequest withParentReference(ObjectReference parentReference)
If specified, the parent reference to which this object will be attached.
parentReference
- If specified, the parent reference to which this object will be attached.public void setLinkName(String linkName)
The name of link that is used to attach this object to a parent.
linkName
- The name of link that is used to attach this object to a parent.public String getLinkName()
The name of link that is used to attach this object to a parent.
public CreateObjectRequest withLinkName(String linkName)
The name of link that is used to attach this object to a parent.
linkName
- The name of link that is used to attach this object to a parent.public String toString()
toString
in class Object
Object.toString()
public CreateObjectRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.