Class EnvironmentInfoDescription
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnvironmentInfoDescription.Builder,EnvironmentInfoDescription>
The information retrieved from the Amazon EC2 instances.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbuilder()final StringThe Amazon EC2 Instance ID for this information.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final EnvironmentInfoTypeinfoType()The type of information retrieved.final StringThe type of information retrieved.final Stringmessage()The retrieved information.final InstantThe time stamp when this information was retrieved.static Class<? extends EnvironmentInfoDescription.Builder> Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
infoType
The type of information retrieved.
If the service returns an enum value that is not available in the current SDK version,
infoTypewill returnEnvironmentInfoType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominfoTypeAsString().- Returns:
- The type of information retrieved.
- See Also:
-
infoTypeAsString
The type of information retrieved.
If the service returns an enum value that is not available in the current SDK version,
infoTypewill returnEnvironmentInfoType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominfoTypeAsString().- Returns:
- The type of information retrieved.
- See Also:
-
ec2InstanceId
The Amazon EC2 Instance ID for this information.
- Returns:
- The Amazon EC2 Instance ID for this information.
-
sampleTimestamp
The time stamp when this information was retrieved.
- Returns:
- The time stamp when this information was retrieved.
-
message
The retrieved information. Currently contains a presigned Amazon S3 URL. The files are deleted after 15 minutes.
Anyone in possession of this URL can access the files before they are deleted. Make the URL available only to trusted parties.
- Returns:
- The retrieved information. Currently contains a presigned Amazon S3 URL. The files are deleted after 15
minutes.
Anyone in possession of this URL can access the files before they are deleted. Make the URL available only to trusted parties.
-
toBuilder
Description copied from interface:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<EnvironmentInfoDescription.Builder,EnvironmentInfoDescription> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-