@Generated(value="software.amazon.awssdk:codegen") public final class InstanceIdentity extends Object implements StructuredPojo, ToCopyableBuilder<InstanceIdentity.Builder,InstanceIdentity>
Identity information for the 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, see 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.
Modifier and Type | Class and Description |
---|---|
static interface |
InstanceIdentity.Builder |
Modifier and Type | Method and Description |
---|---|
static InstanceIdentity.Builder |
builder() |
String |
document()
A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via
the instance metadata service in the form of a JSON representation of an object.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends InstanceIdentity.Builder> |
serializableBuilderClass() |
String |
signature()
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance
identity document.
|
InstanceIdentity.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public String document()
A description of an EC2 instance that is generated when the instance is launched and exposed to the instance via the instance metadata service in the form of a JSON representation of an object.
public String signature()
A signature which can be used to verify the accuracy and authenticity of the information provided in the instance identity document.
public InstanceIdentity.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<InstanceIdentity.Builder,InstanceIdentity>
public static InstanceIdentity.Builder builder()
public static Class<? extends InstanceIdentity.Builder> serializableBuilderClass()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.