|
Did this page help you?Yes No Tell us about it... |
||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.amazonaws.services.datapipeline.model.InstanceIdentity
public class InstanceIdentity
Identity information for the Amazon EC2 instance that is hosting the task runner. You can get this value by calling a metadata URI from the EC2 instance. For more information, go to Instance Metadata in the Amazon Elastic Compute Cloud User Guide. Passing in this value proves that your task runner is running on an EC2 instance, and ensures the proper AWS Data Pipeline service charges are applied to your pipeline.
Constructor Summary | |
---|---|
InstanceIdentity()
|
Method Summary | |
---|---|
boolean |
equals(Object obj)
|
String |
getDocument()
A description of an Amazon EC2 instance that is generated when the instance is launched and exposed to the instance via the instance meta-data service in the form of a JSON representation of an object. |
String |
getSignature()
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document. |
int |
hashCode()
|
void |
setDocument(String document)
A description of an Amazon EC2 instance that is generated when the instance is launched and exposed to the instance via the instance meta-data service in the form of a JSON representation of an object. |
void |
setSignature(String signature)
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document. |
String |
toString()
Returns a string representation of this object; useful for testing and debugging. |
InstanceIdentity |
withDocument(String document)
A description of an Amazon EC2 instance that is generated when the instance is launched and exposed to the instance via the instance meta-data service in the form of a JSON representation of an object. |
InstanceIdentity |
withSignature(String signature)
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document. |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public InstanceIdentity()
Method Detail |
---|
public String getDocument()
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*
public void setDocument(String document)
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*
document
- A description of an Amazon EC2 instance that is generated when the
instance is launched and exposed to the instance via the instance
meta-data service in the form of a JSON representation of an object.public InstanceIdentity withDocument(String document)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*
document
- A description of an Amazon EC2 instance that is generated when the
instance is launched and exposed to the instance via the instance
meta-data service in the form of a JSON representation of an object.
public String getSignature()
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*
public void setSignature(String signature)
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*
signature
- A signature which can be used to verify the accuracy and authenticity
of the information provided in the instance identity document.public InstanceIdentity withSignature(String signature)
Returns a reference to this object so that method calls can be chained together.
Constraints:
Length: 0 - 1024
Pattern: [ -??-??-?\r\n\t]*
signature
- A signature which can be used to verify the accuracy and authenticity
of the information provided in the instance identity document.
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |