Class EnvironmentInfoDescription
- java.lang.Object
-
- software.amazon.awssdk.services.elasticbeanstalk.model.EnvironmentInfoDescription
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnvironmentInfoDescription.Builder,EnvironmentInfoDescription>
@Generated("software.amazon.awssdk:codegen") public final class EnvironmentInfoDescription extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentInfoDescription.Builder,EnvironmentInfoDescription>
The information retrieved from the Amazon EC2 instances.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnvironmentInfoDescription.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnvironmentInfoDescription.Builderbuilder()Stringec2InstanceId()The Amazon EC2 Instance ID for this information.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()EnvironmentInfoTypeinfoType()The type of information retrieved.StringinfoTypeAsString()The type of information retrieved.Stringmessage()The retrieved information.InstantsampleTimestamp()The time stamp when this information was retrieved.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends EnvironmentInfoDescription.Builder>serializableBuilderClass()EnvironmentInfoDescription.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
infoType
public final EnvironmentInfoType 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:
EnvironmentInfoType
-
infoTypeAsString
public final String 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:
EnvironmentInfoType
-
ec2InstanceId
public final String ec2InstanceId()
The Amazon EC2 Instance ID for this information.
- Returns:
- The Amazon EC2 Instance ID for this information.
-
sampleTimestamp
public final Instant sampleTimestamp()
The time stamp when this information was retrieved.
- Returns:
- The time stamp when this information was retrieved.
-
message
public final String 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
public EnvironmentInfoDescription.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnvironmentInfoDescription.Builder,EnvironmentInfoDescription>
-
builder
public static EnvironmentInfoDescription.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnvironmentInfoDescription.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
toString
public final String toString()
Returns a string representation of this object. This is useful for testing and debugging. Sensitive data will be redacted from this string using a placeholder value.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-