@Generated(value="software.amazon.awssdk:codegen") public final class ApplicationComponentDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ApplicationComponentDetail.Builder,ApplicationComponentDetail>
Contains detailed information about an application component.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ApplicationComponentDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
SrcCodeOrDbAnalysisStatus |
analysisStatus()
The status of analysis, if the application component has source code or an associated database.
|
String |
analysisStatusAsString()
The status of analysis, if the application component has source code or an associated database.
|
S3Object |
antipatternReportS3Object()
The S3 bucket name and the Amazon S3 key name for the anti-pattern report.
|
AntipatternReportStatus |
antipatternReportStatus()
The status of the anti-pattern report generation.
|
String |
antipatternReportStatusAsString()
The status of the anti-pattern report generation.
|
String |
antipatternReportStatusMessage()
The status message for the anti-pattern.
|
AppType |
appType()
The type of application component.
|
String |
appTypeAsString()
The type of application component.
|
String |
associatedServerId()
The ID of the server that the application component is running on.
|
static ApplicationComponentDetail.Builder |
builder() |
DatabaseConfigDetail |
databaseConfigDetail()
Configuration details for the database associated with the application component.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
int |
hashCode() |
boolean |
hasListAntipatternSeveritySummary()
For responses, this returns true if the service returned a value for the ListAntipatternSeveritySummary property.
|
boolean |
hasSourceCodeRepositories()
For responses, this returns true if the service returned a value for the SourceCodeRepositories property.
|
String |
id()
The ID of the application component.
|
InclusionStatus |
inclusionStatus()
Indicates whether the application component has been included for server recommendation or not.
|
String |
inclusionStatusAsString()
Indicates whether the application component has been included for server recommendation or not.
|
Instant |
lastAnalyzedTimestamp()
The timestamp of when the application component was assessed.
|
List<AntipatternSeveritySummary> |
listAntipatternSeveritySummary()
A list of anti-pattern severity summaries.
|
Boolean |
moreServerAssociationExists()
Set to true if the application component is running on multiple servers.
|
String |
name()
The name of application component.
|
String |
osDriver()
OS driver.
|
String |
osVersion()
OS version.
|
RecommendationSet |
recommendationSet()
The top recommendation set for the application component.
|
ResourceSubType |
resourceSubType()
The application component subtype.
|
String |
resourceSubTypeAsString()
The application component subtype.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ApplicationComponentDetail.Builder> |
serializableBuilderClass() |
List<SourceCodeRepository> |
sourceCodeRepositories()
Details about the source code repository associated with the application component.
|
String |
statusMessage()
A detailed description of the analysis status and any failure message.
|
ApplicationComponentDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic 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().
SrcCodeOrDbAnalysisStatuspublic 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().
SrcCodeOrDbAnalysisStatuspublic final S3Object antipatternReportS3Object()
The S3 bucket name and the Amazon S3 key name for the anti-pattern report.
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().
AntipatternReportStatuspublic 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().
AntipatternReportStatuspublic final String antipatternReportStatusMessage()
The status message for the anti-pattern.
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().
AppTypepublic 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().
AppTypepublic final String associatedServerId()
The ID of the server that the application component is running on.
public final DatabaseConfigDetail databaseConfigDetail()
Configuration details for the database associated with the application component.
public final String id()
The ID of the application component.
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().
InclusionStatuspublic 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().
InclusionStatuspublic final Instant lastAnalyzedTimestamp()
The timestamp of when the application component was assessed.
public final boolean hasListAntipatternSeveritySummary()
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.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.
public final Boolean moreServerAssociationExists()
Set to true if the application component is running on multiple servers.
public final String name()
The name of application component.
public final String osDriver()
OS driver.
public final String osVersion()
OS version.
public final RecommendationSet recommendationSet()
The top recommendation set for the application component.
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().
ResourceSubTypepublic 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().
ResourceSubTypepublic final boolean hasSourceCodeRepositories()
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.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.
public final String statusMessage()
A detailed description of the analysis status and any failure message.
public ApplicationComponentDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ApplicationComponentDetail.Builder,ApplicationComponentDetail>public static ApplicationComponentDetail.Builder builder()
public static Class<? extends ApplicationComponentDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2022. All rights reserved.