Class AppSummary

java.lang.Object
software.amazon.awssdk.services.sms.model.AppSummary
All Implemented Interfaces:
Serializable, SdkPojo, ToCopyableBuilder<AppSummary.Builder,AppSummary>

@Generated("software.amazon.awssdk:codegen") public final class AppSummary extends Object implements SdkPojo, Serializable, ToCopyableBuilder<AppSummary.Builder,AppSummary>

Information about the application.

See Also:
  • Method Details

    • appId

      public final String appId()

      The unique ID of the application.

      Returns:
      The unique ID of the application.
    • importedAppId

      public final String importedAppId()

      The ID of the application.

      Returns:
      The ID of the application.
    • name

      public final String name()

      The name of the application.

      Returns:
      The name of the application.
    • description

      public final String description()

      The description of the application.

      Returns:
      The description of the application.
    • status

      public final AppStatus status()

      Status of the application.

      If the service returns an enum value that is not available in the current SDK version, status will return AppStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      Status of the application.
      See Also:
    • statusAsString

      public final String statusAsString()

      Status of the application.

      If the service returns an enum value that is not available in the current SDK version, status will return AppStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from statusAsString().

      Returns:
      Status of the application.
      See Also:
    • statusMessage

      public final String statusMessage()

      A message related to the status of the application

      Returns:
      A message related to the status of the application
    • replicationConfigurationStatus

      public final AppReplicationConfigurationStatus replicationConfigurationStatus()

      Status of the replication configuration.

      If the service returns an enum value that is not available in the current SDK version, replicationConfigurationStatus will return AppReplicationConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from replicationConfigurationStatusAsString().

      Returns:
      Status of the replication configuration.
      See Also:
    • replicationConfigurationStatusAsString

      public final String replicationConfigurationStatusAsString()

      Status of the replication configuration.

      If the service returns an enum value that is not available in the current SDK version, replicationConfigurationStatus will return AppReplicationConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from replicationConfigurationStatusAsString().

      Returns:
      Status of the replication configuration.
      See Also:
    • replicationStatus

      public final AppReplicationStatus replicationStatus()

      The replication status of the application.

      If the service returns an enum value that is not available in the current SDK version, replicationStatus will return AppReplicationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from replicationStatusAsString().

      Returns:
      The replication status of the application.
      See Also:
    • replicationStatusAsString

      public final String replicationStatusAsString()

      The replication status of the application.

      If the service returns an enum value that is not available in the current SDK version, replicationStatus will return AppReplicationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from replicationStatusAsString().

      Returns:
      The replication status of the application.
      See Also:
    • replicationStatusMessage

      public final String replicationStatusMessage()

      A message related to the replication status of the application.

      Returns:
      A message related to the replication status of the application.
    • latestReplicationTime

      public final Instant latestReplicationTime()

      The timestamp of the application's most recent successful replication.

      Returns:
      The timestamp of the application's most recent successful replication.
    • launchConfigurationStatus

      public final AppLaunchConfigurationStatus launchConfigurationStatus()

      Status of the launch configuration.

      If the service returns an enum value that is not available in the current SDK version, launchConfigurationStatus will return AppLaunchConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from launchConfigurationStatusAsString().

      Returns:
      Status of the launch configuration.
      See Also:
    • launchConfigurationStatusAsString

      public final String launchConfigurationStatusAsString()

      Status of the launch configuration.

      If the service returns an enum value that is not available in the current SDK version, launchConfigurationStatus will return AppLaunchConfigurationStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from launchConfigurationStatusAsString().

      Returns:
      Status of the launch configuration.
      See Also:
    • launchStatus

      public final AppLaunchStatus launchStatus()

      The launch status of the application.

      If the service returns an enum value that is not available in the current SDK version, launchStatus will return AppLaunchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from launchStatusAsString().

      Returns:
      The launch status of the application.
      See Also:
    • launchStatusAsString

      public final String launchStatusAsString()

      The launch status of the application.

      If the service returns an enum value that is not available in the current SDK version, launchStatus will return AppLaunchStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available from launchStatusAsString().

      Returns:
      The launch status of the application.
      See Also:
    • launchStatusMessage

      public final String launchStatusMessage()

      A message related to the launch status of the application.

      Returns:
      A message related to the launch status of the application.
    • launchDetails

      public final LaunchDetails launchDetails()

      Details about the latest launch of the application.

      Returns:
      Details about the latest launch of the application.
    • creationTime

      public final Instant creationTime()

      The creation time of the application.

      Returns:
      The creation time of the application.
    • lastModified

      public final Instant lastModified()

      The last modified time of the application.

      Returns:
      The last modified time of the application.
    • roleName

      public final String roleName()

      The name of the service role in the customer's account used by Server Migration Service.

      Returns:
      The name of the service role in the customer's account used by Server Migration Service.
    • totalServerGroups

      public final Integer totalServerGroups()

      The number of server groups present in the application.

      Returns:
      The number of server groups present in the application.
    • totalServers

      public final Integer totalServers()

      The number of servers present in the application.

      Returns:
      The number of servers present in the application.
    • toBuilder

      public AppSummary.Builder toBuilder()
      Description copied from interface: ToCopyableBuilder
      Take this object and create a builder that contains all of the current property values of this object.
      Specified by:
      toBuilder in interface ToCopyableBuilder<AppSummary.Builder,AppSummary>
      Returns:
      a builder for type T
    • builder

      public static AppSummary.Builder builder()
    • serializableBuilderClass

      public static Class<? extends AppSummary.Builder> serializableBuilderClass()
    • hashCode

      public final int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public final boolean equals(Object obj)
      Overrides:
      equals in class Object
    • equalsBySdkFields

      public final boolean equalsBySdkFields(Object obj)
      Description copied from interface: SdkPojo
      Indicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in an SdkPojo class, and is generated based on a service model.

      If an SdkPojo class does not have any inherited fields, equalsBySdkFields and equals are essentially the same.

      Specified by:
      equalsBySdkFields in interface SdkPojo
      Parameters:
      obj - the object to be compared with
      Returns:
      true if the other object equals to this object by sdk fields, false otherwise.
    • 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.
      Overrides:
      toString in class Object
    • getValueForField

      public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
    • sdkFields

      public final List<SdkField<?>> sdkFields()
      Specified by:
      sdkFields in interface SdkPojo
      Returns:
      List of SdkField in this POJO. May be empty list but should never be null.
    • sdkFieldNameToField

      public final Map<String,SdkField<?>> sdkFieldNameToField()
      Specified by:
      sdkFieldNameToField in interface SdkPojo
      Returns:
      The mapping between the field name and its corresponding field.