Class EnvironmentSummary
- java.lang.Object
-
- software.amazon.awssdk.services.m2.model.EnvironmentSummary
-
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>
@Generated("software.amazon.awssdk:codegen") public final class EnvironmentSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>
Contains a subset of the possible runtime environment attributes. Used in the environment list.
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceEnvironmentSummary.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static EnvironmentSummary.Builderbuilder()InstantcreationTime()The timestamp when the runtime environment was created.EngineTypeengineType()The target platform for the runtime environment.StringengineTypeAsString()The target platform for the runtime environment.StringengineVersion()The version of the runtime engine.StringenvironmentArn()The Amazon Resource Name (ARN) of a particular runtime environment.StringenvironmentId()The unique identifier of a particular runtime environment.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()StringinstanceType()The instance type of the runtime environment.Stringname()The name of the runtime environment.List<SdkField<?>>sdkFields()static Class<? extends EnvironmentSummary.Builder>serializableBuilderClass()EnvironmentLifecyclestatus()The status of the runtime environmentStringstatusAsString()The status of the runtime environmentEnvironmentSummary.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
-
creationTime
public final Instant creationTime()
The timestamp when the runtime environment was created.
- Returns:
- The timestamp when the runtime environment was created.
-
engineType
public final EngineType engineType()
The target platform for the runtime environment.
If the service returns an enum value that is not available in the current SDK version,
engineTypewill returnEngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengineTypeAsString().- Returns:
- The target platform for the runtime environment.
- See Also:
EngineType
-
engineTypeAsString
public final String engineTypeAsString()
The target platform for the runtime environment.
If the service returns an enum value that is not available in the current SDK version,
engineTypewill returnEngineType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromengineTypeAsString().- Returns:
- The target platform for the runtime environment.
- See Also:
EngineType
-
engineVersion
public final String engineVersion()
The version of the runtime engine.
- Returns:
- The version of the runtime engine.
-
environmentArn
public final String environmentArn()
The Amazon Resource Name (ARN) of a particular runtime environment.
- Returns:
- The Amazon Resource Name (ARN) of a particular runtime environment.
-
environmentId
public final String environmentId()
The unique identifier of a particular runtime environment.
- Returns:
- The unique identifier of a particular runtime environment.
-
instanceType
public final String instanceType()
The instance type of the runtime environment.
- Returns:
- The instance type of the runtime environment.
-
name
public final String name()
The name of the runtime environment.
- Returns:
- The name of the runtime environment.
-
status
public final EnvironmentLifecycle status()
The status of the runtime environment
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEnvironmentLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the runtime environment
- See Also:
EnvironmentLifecycle
-
statusAsString
public final String statusAsString()
The status of the runtime environment
If the service returns an enum value that is not available in the current SDK version,
statuswill returnEnvironmentLifecycle.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromstatusAsString().- Returns:
- The status of the runtime environment
- See Also:
EnvironmentLifecycle
-
toBuilder
public EnvironmentSummary.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<EnvironmentSummary.Builder,EnvironmentSummary>
-
builder
public static EnvironmentSummary.Builder builder()
-
serializableBuilderClass
public static Class<? extends EnvironmentSummary.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.
-
-