Class AppSummary

    • Method Detail

      • 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:
        AppStatus
      • 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:
        AppStatus
      • statusMessage

        public final String statusMessage()

        A message related to the status of the application

        Returns:
        A message related to the status of the application
      • 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.
      • 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:
        AppLaunchStatus
      • 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.
      • hashCode

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

        public final boolean equals​(Object obj)
        Overrides:
        equals in class Object
      • 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)