Class InstanceIdentity
java.lang.Object
com.amazonaws.services.opsworks.model.InstanceIdentity
- All Implemented Interfaces:
Serializable,Cloneable
Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata service. For more information, see Instance Metadata and User Data.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionclone()booleanA JSON document that contains the metadata.A signature that can be used to verify the document's accuracy and authenticity.inthashCode()voidsetDocument(String document) A JSON document that contains the metadata.voidsetSignature(String signature) A signature that can be used to verify the document's accuracy and authenticity.toString()Returns a string representation of this object; useful for testing and debugging.withDocument(String document) A JSON document that contains the metadata.withSignature(String signature) A signature that can be used to verify the document's accuracy and authenticity.
-
Constructor Details
-
InstanceIdentity
public InstanceIdentity()
-
-
Method Details
-
setDocument
A JSON document that contains the metadata.
- Parameters:
document- A JSON document that contains the metadata.
-
getDocument
A JSON document that contains the metadata.
- Returns:
- A JSON document that contains the metadata.
-
withDocument
A JSON document that contains the metadata.
- Parameters:
document- A JSON document that contains the metadata.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setSignature
A signature that can be used to verify the document's accuracy and authenticity.
- Parameters:
signature- A signature that can be used to verify the document's accuracy and authenticity.
-
getSignature
A signature that can be used to verify the document's accuracy and authenticity.
- Returns:
- A signature that can be used to verify the document's accuracy and authenticity.
-
withSignature
A signature that can be used to verify the document's accuracy and authenticity.
- Parameters:
signature- A signature that can be used to verify the document's accuracy and authenticity.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
Returns a string representation of this object; useful for testing and debugging. -
equals
-
hashCode
public int hashCode() -
clone
-