@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()
ARN 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()
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()
List of facet ARNs to be associated with the object.
|
int |
hashCode() |
void |
setDirectoryArn(String directoryArn)
ARN 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)
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)
List of facet ARNs to be associated with the object.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
CreateObjectRequest |
withDirectoryArn(String directoryArn)
ARN 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)
Attribute map whose attribute ARN contains the key and attribute value as the map value.
|
CreateObjectRequest |
withObjectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList)
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)
List of facet ARNs to be associated with the object.
|
CreateObjectRequest |
withSchemaFacets(SchemaFacet... schemaFacets)
List of facet ARNs 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, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setDirectoryArn(String directoryArn)
public String getDirectoryArn()
public CreateObjectRequest withDirectoryArn(String directoryArn)
public List<SchemaFacet> getSchemaFacets()
List of facet ARNs to be associated with the object. For more information, see arns.
public void setSchemaFacets(Collection<SchemaFacet> schemaFacets)
List of facet ARNs to be associated with the object. For more information, see arns.
schemaFacets
- List of facet ARNs to be associated with the object. For more information, see arns.public CreateObjectRequest withSchemaFacets(SchemaFacet... schemaFacets)
List of facet ARNs to be associated with the object. 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
- List of facet ARNs to be associated with the object. For more information, see arns.public CreateObjectRequest withSchemaFacets(Collection<SchemaFacet> schemaFacets)
List of facet ARNs to be associated with the object. For more information, see arns.
schemaFacets
- List of facet ARNs to be associated with the object. For more information, see arns.public List<AttributeKeyAndValue> getObjectAttributeList()
Attribute map whose attribute ARN contains the key and attribute value as the map value.
public void setObjectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList)
Attribute map whose attribute ARN contains the key and attribute value as the map value.
objectAttributeList
- Attribute map whose attribute ARN contains the key and attribute value as the map value.public CreateObjectRequest withObjectAttributeList(AttributeKeyAndValue... objectAttributeList)
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
- Attribute map whose attribute ARN contains the key and attribute value as the map value.public CreateObjectRequest withObjectAttributeList(Collection<AttributeKeyAndValue> objectAttributeList)
Attribute map whose attribute ARN contains the key and attribute value as the map value.
objectAttributeList
- 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.