@Generated(value="software.amazon.awssdk:codegen") public final class InstanceIdentity extends Object implements SdkPojo, Serializable, 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() |
List<SdkField<?>> |
sdkFields() |
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()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.