@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AttachTypedLinkRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
AttachTypedLinkRequest() |
Modifier and Type | Method and Description |
---|---|
AttachTypedLinkRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
List<AttributeNameAndValue> |
getAttributes()
A set of attributes that are associated with the typed link.
|
String |
getDirectoryArn()
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
|
ObjectReference |
getSourceObjectReference()
Identifies the source object that the typed link will attach to.
|
ObjectReference |
getTargetObjectReference()
Identifies the target object that the typed link will attach to.
|
TypedLinkSchemaAndFacetName |
getTypedLinkFacet()
Identifies the typed link facet that is associated with the typed link.
|
int |
hashCode() |
void |
setAttributes(Collection<AttributeNameAndValue> attributes)
A set of attributes that are associated with the typed link.
|
void |
setDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
|
void |
setSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
|
void |
setTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
|
void |
setTypedLinkFacet(TypedLinkSchemaAndFacetName typedLinkFacet)
Identifies the typed link facet that is associated with the typed link.
|
String |
toString()
Returns a string representation of this object.
|
AttachTypedLinkRequest |
withAttributes(AttributeNameAndValue... attributes)
A set of attributes that are associated with the typed link.
|
AttachTypedLinkRequest |
withAttributes(Collection<AttributeNameAndValue> attributes)
A set of attributes that are associated with the typed link.
|
AttachTypedLinkRequest |
withDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
|
AttachTypedLinkRequest |
withSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
|
AttachTypedLinkRequest |
withTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
|
AttachTypedLinkRequest |
withTypedLinkFacet(TypedLinkSchemaAndFacetName typedLinkFacet)
Identifies the typed link facet that is associated with the typed link.
|
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)
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
directoryArn
- The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.public String getDirectoryArn()
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
public AttachTypedLinkRequest withDirectoryArn(String directoryArn)
The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.
directoryArn
- The Amazon Resource Name (ARN) of the directory where you want to attach the typed link.public void setSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
sourceObjectReference
- Identifies the source object that the typed link will attach to.public ObjectReference getSourceObjectReference()
Identifies the source object that the typed link will attach to.
public AttachTypedLinkRequest withSourceObjectReference(ObjectReference sourceObjectReference)
Identifies the source object that the typed link will attach to.
sourceObjectReference
- Identifies the source object that the typed link will attach to.public void setTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
targetObjectReference
- Identifies the target object that the typed link will attach to.public ObjectReference getTargetObjectReference()
Identifies the target object that the typed link will attach to.
public AttachTypedLinkRequest withTargetObjectReference(ObjectReference targetObjectReference)
Identifies the target object that the typed link will attach to.
targetObjectReference
- Identifies the target object that the typed link will attach to.public void setTypedLinkFacet(TypedLinkSchemaAndFacetName typedLinkFacet)
Identifies the typed link facet that is associated with the typed link.
typedLinkFacet
- Identifies the typed link facet that is associated with the typed link.public TypedLinkSchemaAndFacetName getTypedLinkFacet()
Identifies the typed link facet that is associated with the typed link.
public AttachTypedLinkRequest withTypedLinkFacet(TypedLinkSchemaAndFacetName typedLinkFacet)
Identifies the typed link facet that is associated with the typed link.
typedLinkFacet
- Identifies the typed link facet that is associated with the typed link.public List<AttributeNameAndValue> getAttributes()
A set of attributes that are associated with the typed link.
public void setAttributes(Collection<AttributeNameAndValue> attributes)
A set of attributes that are associated with the typed link.
attributes
- A set of attributes that are associated with the typed link.public AttachTypedLinkRequest withAttributes(AttributeNameAndValue... attributes)
A set of attributes that are associated with the typed link.
NOTE: This method appends the values to the existing list (if any). Use
setAttributes(java.util.Collection)
or withAttributes(java.util.Collection)
if you want to
override the existing values.
attributes
- A set of attributes that are associated with the typed link.public AttachTypedLinkRequest withAttributes(Collection<AttributeNameAndValue> attributes)
A set of attributes that are associated with the typed link.
attributes
- A set of attributes that are associated with the typed link.public String toString()
toString
in class Object
Object.toString()
public AttachTypedLinkRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()