Class ApplicationComponentDetail

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

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

Contains detailed information about an application component.

See Also:
  • Method Details

    • analysisStatus

      public final SrcCodeOrDbAnalysisStatus analysisStatus()

      The status of analysis, if the application component has source code or an associated database.

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

      Returns:
      The status of analysis, if the application component has source code or an associated database.
      See Also:
    • analysisStatusAsString

      public final String analysisStatusAsString()

      The status of analysis, if the application component has source code or an associated database.

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

      Returns:
      The status of analysis, if the application component has source code or an associated database.
      See Also:
    • antipatternReportS3Object

      public final S3Object antipatternReportS3Object()

      The S3 bucket name and the Amazon S3 key name for the anti-pattern report.

      Returns:
      The S3 bucket name and the Amazon S3 key name for the anti-pattern report.
    • antipatternReportStatus

      public final AntipatternReportStatus antipatternReportStatus()

      The status of the anti-pattern report generation.

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

      Returns:
      The status of the anti-pattern report generation.
      See Also:
    • antipatternReportStatusAsString

      public final String antipatternReportStatusAsString()

      The status of the anti-pattern report generation.

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

      Returns:
      The status of the anti-pattern report generation.
      See Also:
    • antipatternReportStatusMessage

      public final String antipatternReportStatusMessage()

      The status message for the anti-pattern.

      Returns:
      The status message for the anti-pattern.
    • appType

      public final AppType appType()

      The type of application component.

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

      Returns:
      The type of application component.
      See Also:
    • appTypeAsString

      public final String appTypeAsString()

      The type of application component.

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

      Returns:
      The type of application component.
      See Also:
    • appUnitError

      public final AppUnitError appUnitError()

      The error in the analysis of the source code or database.

      Returns:
      The error in the analysis of the source code or database.
    • associatedServerId

      public final String associatedServerId()

      The ID of the server that the application component is running on.

      Returns:
      The ID of the server that the application component is running on.
    • databaseConfigDetail

      public final DatabaseConfigDetail databaseConfigDetail()

      Configuration details for the database associated with the application component.

      Returns:
      Configuration details for the database associated with the application component.
    • id

      public final String id()

      The ID of the application component.

      Returns:
      The ID of the application component.
    • inclusionStatus

      public final InclusionStatus inclusionStatus()

      Indicates whether the application component has been included for server recommendation or not.

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

      Returns:
      Indicates whether the application component has been included for server recommendation or not.
      See Also:
    • inclusionStatusAsString

      public final String inclusionStatusAsString()

      Indicates whether the application component has been included for server recommendation or not.

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

      Returns:
      Indicates whether the application component has been included for server recommendation or not.
      See Also:
    • lastAnalyzedTimestamp

      public final Instant lastAnalyzedTimestamp()

      The timestamp of when the application component was assessed.

      Returns:
      The timestamp of when the application component was assessed.
    • hasListAntipatternSeveritySummary

      public final boolean hasListAntipatternSeveritySummary()
      For responses, this returns true if the service returned a value for the ListAntipatternSeveritySummary property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • listAntipatternSeveritySummary

      public final List<AntipatternSeveritySummary> listAntipatternSeveritySummary()

      A list of anti-pattern severity summaries.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasListAntipatternSeveritySummary() method.

      Returns:
      A list of anti-pattern severity summaries.
    • moreServerAssociationExists

      public final Boolean moreServerAssociationExists()

      Set to true if the application component is running on multiple servers.

      Returns:
      Set to true if the application component is running on multiple servers.
    • name

      public final String name()

      The name of application component.

      Returns:
      The name of application component.
    • osDriver

      public final String osDriver()

      OS driver.

      Returns:
      OS driver.
    • osVersion

      public final String osVersion()

      OS version.

      Returns:
      OS version.
    • recommendationSet

      public final RecommendationSet recommendationSet()

      The top recommendation set for the application component.

      Returns:
      The top recommendation set for the application component.
    • resourceSubType

      public final ResourceSubType resourceSubType()

      The application component subtype.

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

      Returns:
      The application component subtype.
      See Also:
    • resourceSubTypeAsString

      public final String resourceSubTypeAsString()

      The application component subtype.

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

      Returns:
      The application component subtype.
      See Also:
    • hasResultList

      public final boolean hasResultList()
      For responses, this returns true if the service returned a value for the ResultList property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • resultList

      public final List<Result> resultList()

      A list of the analysis results.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasResultList() method.

      Returns:
      A list of the analysis results.
    • runtimeStatus

      public final RuntimeAnalysisStatus runtimeStatus()

      The status of the application unit.

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

      Returns:
      The status of the application unit.
      See Also:
    • runtimeStatusAsString

      public final String runtimeStatusAsString()

      The status of the application unit.

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

      Returns:
      The status of the application unit.
      See Also:
    • runtimeStatusMessage

      public final String runtimeStatusMessage()

      The status message for the application unit.

      Returns:
      The status message for the application unit.
    • hasSourceCodeRepositories

      public final boolean hasSourceCodeRepositories()
      For responses, this returns true if the service returned a value for the SourceCodeRepositories property. This DOES NOT check that the value is non-empty (for which, you should check the isEmpty() method on the property). This is useful because the SDK will never return a null collection or map, but you may need to differentiate between the service returning nothing (or null) and the service returning an empty collection or map. For requests, this returns true if a value for the property was specified in the request builder, and false if a value was not specified.
    • sourceCodeRepositories

      public final List<SourceCodeRepository> sourceCodeRepositories()

      Details about the source code repository associated with the application component.

      Attempts to modify the collection returned by this method will result in an UnsupportedOperationException.

      This method will never return null. If you would like to know whether the service returned this field (so that you can differentiate between null and empty), you can use the hasSourceCodeRepositories() method.

      Returns:
      Details about the source code repository associated with the application component.
    • statusMessage

      public final String statusMessage()

      A detailed description of the analysis status and any failure message.

      Returns:
      A detailed description of the analysis status and any failure message.
    • 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<ApplicationComponentDetail.Builder,ApplicationComponentDetail>
      Returns:
      a builder for type T
    • builder

      public static ApplicationComponentDetail.Builder builder()
    • serializableBuilderClass

      public static Class<? extends ApplicationComponentDetail.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.