@Generated(value="software.amazon.awssdk:codegen") public class EnvironmentInfoDescription extends Object implements ToCopyableBuilder<EnvironmentInfoDescription.Builder,EnvironmentInfoDescription>
The information retrieved from the Amazon EC2 instances.
Modifier and Type | Class and Description |
---|---|
static interface |
EnvironmentInfoDescription.Builder |
Modifier and Type | Method and Description |
---|---|
static EnvironmentInfoDescription.Builder |
builder() |
String |
ec2InstanceId()
The Amazon EC2 Instance ID for this information.
|
boolean |
equals(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
EnvironmentInfoType |
infoType()
The type of information retrieved.
|
String |
infoTypeString()
The type of information retrieved.
|
String |
message()
The retrieved information.
|
Instant |
sampleTimestamp()
The time stamp when this information was retrieved.
|
static Class<? extends EnvironmentInfoDescription.Builder> |
serializableBuilderClass() |
EnvironmentInfoDescription.Builder |
toBuilder()
Take this object and create a builder that contains all of the current property values of this object.
|
String |
toString() |
copy
public EnvironmentInfoType infoType()
The type of information retrieved.
If the service returns an enum value that is not available in the current SDK version, infoType
will
return EnvironmentInfoType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from infoTypeString()
.
EnvironmentInfoType
public String infoTypeString()
The type of information retrieved.
If the service returns an enum value that is not available in the current SDK version, infoType
will
return EnvironmentInfoType.UNKNOWN_TO_SDK_VERSION
. The raw value returned by the service is available
from infoTypeString()
.
EnvironmentInfoType
public String ec2InstanceId()
The Amazon EC2 Instance ID for this information.
public Instant sampleTimestamp()
The time stamp when this information was retrieved.
public String message()
The retrieved information.
public EnvironmentInfoDescription.Builder toBuilder()
ToCopyableBuilder
toBuilder
in interface ToCopyableBuilder<EnvironmentInfoDescription.Builder,EnvironmentInfoDescription>
public static EnvironmentInfoDescription.Builder builder()
public static Class<? extends EnvironmentInfoDescription.Builder> serializableBuilderClass()
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.