@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 that contains
SchemaArn and facet name. |
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 that contains
SchemaArn and facet name. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
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 that contains
SchemaArn and facet name. |
CreateObjectRequest |
withSchemaFacets(SchemaFacet... schemaFacets)
A list of schema facets to be associated with the object that contains
SchemaArn and facet name. |
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 that contains SchemaArn
and facet name. For
more information, see arns.
SchemaArn
and facet
name. For more information, see arns.public void setSchemaFacets(Collection<SchemaFacet> schemaFacets)
A list of schema facets to be associated with the object that contains SchemaArn
and facet name. For
more information, see arns.
schemaFacets
- A list of schema facets to be associated with the object that contains SchemaArn
and facet
name. For more information, see arns.public CreateObjectRequest withSchemaFacets(SchemaFacet... schemaFacets)
A list of schema facets to be associated with the object that contains SchemaArn
and facet name. For
more information, see arns.
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 that contains SchemaArn
and facet
name. For more information, see arns.public CreateObjectRequest withSchemaFacets(Collection<SchemaFacet> schemaFacets)
A list of schema facets to be associated with the object that contains SchemaArn
and facet name. For
more information, see arns.
schemaFacets
- A list of schema facets to be associated with the object that contains SchemaArn
and facet
name. For more information, see arns.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.