Class ApplicationComponentDetail
- All Implemented Interfaces:
Serializable
,SdkPojo
,ToCopyableBuilder<ApplicationComponentDetail.Builder,
ApplicationComponentDetail>
Contains detailed information about an application component.
- See Also:
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionThe status of analysis, if the application component has source code or an associated database.final String
The status of analysis, if the application component has source code or an associated database.final S3Object
The S3 bucket name and the Amazon S3 key name for the anti-pattern report.final AntipatternReportStatus
The status of the anti-pattern report generation.final String
The status of the anti-pattern report generation.final String
The status message for the anti-pattern.final AppType
appType()
The type of application component.final String
The type of application component.final AppUnitError
The error in the analysis of the source code or database.final String
The ID of the server that the application component is running on.builder()
final DatabaseConfigDetail
Configuration details for the database associated with the application component.final boolean
final boolean
equalsBySdkFields
(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 int
hashCode()
final boolean
For responses, this returns true if the service returned a value for the ListAntipatternSeveritySummary property.final boolean
For responses, this returns true if the service returned a value for the ResultList property.final boolean
For responses, this returns true if the service returned a value for the SourceCodeRepositories property.final String
id()
The ID of the application component.final InclusionStatus
Indicates whether the application component has been included for server recommendation or not.final String
Indicates whether the application component has been included for server recommendation or not.final Instant
The timestamp of when the application component was assessed.final List
<AntipatternSeveritySummary> A list of anti-pattern severity summaries.final Boolean
Set to true if the application component is running on multiple servers.final String
name()
The name of application component.final String
osDriver()
OS driver.final String
OS version.final RecommendationSet
The top recommendation set for the application component.final ResourceSubType
The application component subtype.final String
The application component subtype.A list of the analysis results.final RuntimeAnalysisStatus
The status of the application unit.final String
The status of the application unit.final String
The 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 String
A 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 String
toString()
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,
analysisStatus
will 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,
analysisStatus
will 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,
antipatternReportStatus
will 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,
antipatternReportStatus
will 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,
appType
will 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,
appType
will 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,
inclusionStatus
will 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,
inclusionStatus
will 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
OS driver.
- Returns:
- OS driver.
-
osVersion
OS version.
- Returns:
- OS version.
-
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,
resourceSubType
will 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,
resourceSubType
will 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,
runtimeStatus
will 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,
runtimeStatus
will 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:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<ApplicationComponentDetail.Builder,
ApplicationComponentDetail> - Returns:
- a builder for type T
-
builder
-
serializableBuilderClass
-
hashCode
public final int hashCode() -
equals
-
equalsBySdkFields
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 anSdkPojo
class, and is generated based on a service model.If an
SdkPojo
class does not have any inherited fields,equalsBySdkFields
andequals
are essentially the same.- Specified by:
equalsBySdkFields
in 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
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. -
getValueForField
-
sdkFields
-