StructuredPojo
, ToCopyableBuilder<InstanceIdentity.Builder,InstanceIdentity>
@Generated("software.amazon.awssdk:codegen") public class InstanceIdentity extends Object implements StructuredPojo, ToCopyableBuilder<InstanceIdentity.Builder,InstanceIdentity>
Contains a description of an Amazon EC2 instance from the Amazon EC2 metadata service. For more information, see Instance Metadata and User Data.
Modifier and Type | Class | Description |
---|---|---|
static interface |
InstanceIdentity.Builder |
Modifier and Type | Method | Description |
---|---|---|
static InstanceIdentity.Builder |
builder() |
|
String |
document() |
A JSON document that contains the metadata.
|
boolean |
equals(Object obj) |
|
int |
hashCode() |
|
void |
marshall(ProtocolMarshaller protocolMarshaller) |
Marshalls this structured data using the given
ProtocolMarshaller . |
static Class<? extends InstanceIdentity.Builder> |
serializableBuilderClass() |
|
String |
signature() |
A signature that can be used to verify the document's accuracy and authenticity.
|
InstanceIdentity.Builder |
toBuilder() |
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
public String document()
A JSON document that contains the metadata.
public String signature()
A signature that can be used to verify the document's accuracy and authenticity.
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.