Class ApplicationComponentDetail
- All Implemented Interfaces:
Serializable,SdkPojo,ToCopyableBuilder<ApplicationComponentDetail.Builder,ApplicationComponentDetail>
Contains detailed information about an application component.
- See Also:
-
Nested Class Summary
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionThe status of analysis, if the application component has source code or an associated database.final StringThe status of analysis, if the application component has source code or an associated database.final S3ObjectThe S3 bucket name and the Amazon S3 key name for the anti-pattern report.final AntipatternReportStatusThe status of the anti-pattern report generation.final StringThe status of the anti-pattern report generation.final StringThe status message for the anti-pattern.final AppTypeappType()The type of application component.final StringThe type of application component.final AppUnitErrorThe error in the analysis of the source code or database.final StringThe ID of the server that the application component is running on.builder()final DatabaseConfigDetailConfiguration details for the database associated with the application component.final booleanfinal booleanequalsBySdkFields(Object obj) Indicates whether some other object is "equal to" this one by SDK fields.final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz) final inthashCode()final booleanFor responses, this returns true if the service returned a value for the ListAntipatternSeveritySummary property.final booleanFor responses, this returns true if the service returned a value for the ResultList property.final booleanFor responses, this returns true if the service returned a value for the SourceCodeRepositories property.final Stringid()The ID of the application component.final InclusionStatusIndicates whether the application component has been included for server recommendation or not.final StringIndicates whether the application component has been included for server recommendation or not.final InstantThe timestamp of when the application component was assessed.final List<AntipatternSeveritySummary> A list of anti-pattern severity summaries.final BooleanSet to true if the application component is running on multiple servers.final Stringname()The name of application component.final StringosDriver()OS driver.final StringOS version.final RecommendationSetThe top recommendation set for the application component.final ResourceSubTypeThe application component subtype.final StringThe application component subtype.A list of the analysis results.final RuntimeAnalysisStatusThe status of the application unit.final StringThe status of the application unit.final StringThe status message for the application unit.static Class<? extends ApplicationComponentDetail.Builder> final List<SourceCodeRepository> Details about the source code repository associated with the application component.final StringA detailed description of the analysis status and any failure message.Take this object and create a builder that contains all of the current property values of this object.final StringtoString()Returns a string representation of this object.Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
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,
analysisStatuswill returnSrcCodeOrDbAnalysisStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromanalysisStatusAsString().- Returns:
- The status of analysis, if the application component has source code or an associated database.
- See Also:
-
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,
analysisStatuswill returnSrcCodeOrDbAnalysisStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromanalysisStatusAsString().- Returns:
- The status of analysis, if the application component has source code or an associated database.
- See Also:
-
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
The status of the anti-pattern report generation.
If the service returns an enum value that is not available in the current SDK version,
antipatternReportStatuswill returnAntipatternReportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromantipatternReportStatusAsString().- Returns:
- The status of the anti-pattern report generation.
- See Also:
-
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,
antipatternReportStatuswill returnAntipatternReportStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromantipatternReportStatusAsString().- Returns:
- The status of the anti-pattern report generation.
- See Also:
-
antipatternReportStatusMessage
The status message for the anti-pattern.
- Returns:
- The status message for the anti-pattern.
-
appType
The type of application component.
If the service returns an enum value that is not available in the current SDK version,
appTypewill returnAppType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromappTypeAsString().- Returns:
- The type of application component.
- See Also:
-
appTypeAsString
The type of application component.
If the service returns an enum value that is not available in the current SDK version,
appTypewill returnAppType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromappTypeAsString().- Returns:
- The type of application component.
- See Also:
-
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
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
Configuration details for the database associated with the application component.
- Returns:
- Configuration details for the database associated with the application component.
-
id
The ID of the application component.
- Returns:
- The ID of the application component.
-
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,
inclusionStatuswill returnInclusionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominclusionStatusAsString().- Returns:
- Indicates whether the application component has been included for server recommendation or not.
- See Also:
-
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,
inclusionStatuswill returnInclusionStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available frominclusionStatusAsString().- Returns:
- Indicates whether the application component has been included for server recommendation or not.
- See Also:
-
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 theisEmpty()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
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
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
The name of application component.
- Returns:
- The name of application component.
-
osDriver
-
osVersion
-
recommendationSet
The top recommendation set for the application component.
- Returns:
- The top recommendation set for the application component.
-
resourceSubType
The application component subtype.
If the service returns an enum value that is not available in the current SDK version,
resourceSubTypewill returnResourceSubType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceSubTypeAsString().- Returns:
- The application component subtype.
- See Also:
-
resourceSubTypeAsString
The application component subtype.
If the service returns an enum value that is not available in the current SDK version,
resourceSubTypewill returnResourceSubType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceSubTypeAsString().- 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 theisEmpty()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
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
The status of the application unit.
If the service returns an enum value that is not available in the current SDK version,
runtimeStatuswill returnRuntimeAnalysisStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromruntimeStatusAsString().- Returns:
- The status of the application unit.
- See Also:
-
runtimeStatusAsString
The status of the application unit.
If the service returns an enum value that is not available in the current SDK version,
runtimeStatuswill returnRuntimeAnalysisStatus.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromruntimeStatusAsString().- Returns:
- The status of the application unit.
- See Also:
-
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 theisEmpty()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
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
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:ToCopyableBuilderTake this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplicationComponentDetail.Builder,ApplicationComponentDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
-
equals
-
equalsBySdkFields
Description copied from interface:SdkPojoIndicates whether some other object is "equal to" this one by SDK fields. An SDK field is a modeled, non-inherited field in anSdkPojoclass, and is generated based on a service model.If an
SdkPojoclass does not have any inherited fields,equalsBySdkFieldsandequalsare essentially the same.- Specified by:
equalsBySdkFieldsin interfaceSdkPojo- Parameters:
obj- the object to be compared with- Returns:
- true if the other object equals to this object by sdk fields, false otherwise.
-
toString
-
getValueForField
-
sdkFields
-