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:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceApplicationComponentDetail.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description SrcCodeOrDbAnalysisStatusanalysisStatus()The status of analysis, if the application component has source code or an associated database.StringanalysisStatusAsString()The status of analysis, if the application component has source code or an associated database.S3ObjectantipatternReportS3Object()The S3 bucket name and the Amazon S3 key name for the anti-pattern report.AntipatternReportStatusantipatternReportStatus()The status of the anti-pattern report generation.StringantipatternReportStatusAsString()The status of the anti-pattern report generation.StringantipatternReportStatusMessage()The status message for the anti-pattern.AppTypeappType()The type of application component.StringappTypeAsString()The type of application component.AppUnitErrorappUnitError()The error in the analysis of the source code or database.StringassociatedServerId()The ID of the server that the application component is running on.static ApplicationComponentDetail.Builderbuilder()DatabaseConfigDetaildatabaseConfigDetail()Configuration details for the database associated with the application component.booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)inthashCode()booleanhasListAntipatternSeveritySummary()For responses, this returns true if the service returned a value for the ListAntipatternSeveritySummary property.booleanhasResultList()For responses, this returns true if the service returned a value for the ResultList property.booleanhasSourceCodeRepositories()For responses, this returns true if the service returned a value for the SourceCodeRepositories property.Stringid()The ID of the application component.InclusionStatusinclusionStatus()Indicates whether the application component has been included for server recommendation or not.StringinclusionStatusAsString()Indicates whether the application component has been included for server recommendation or not.InstantlastAnalyzedTimestamp()The timestamp of when the application component was assessed.List<AntipatternSeveritySummary>listAntipatternSeveritySummary()A list of anti-pattern severity summaries.BooleanmoreServerAssociationExists()Set to true if the application component is running on multiple servers.Stringname()The name of application component.StringosDriver()OS driver.StringosVersion()OS version.RecommendationSetrecommendationSet()The top recommendation set for the application component.ResourceSubTyperesourceSubType()The application component subtype.StringresourceSubTypeAsString()The application component subtype.List<Result>resultList()A list of the analysis results.RuntimeAnalysisStatusruntimeStatus()The status of the application unit.StringruntimeStatusAsString()The status of the application unit.StringruntimeStatusMessage()The status message for the application unit.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends ApplicationComponentDetail.Builder>serializableBuilderClass()List<SourceCodeRepository>sourceCodeRepositories()Details about the source code repository associated with the application component.StringstatusMessage()A detailed description of the analysis status and any failure message.ApplicationComponentDetail.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
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,
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:
SrcCodeOrDbAnalysisStatus
-
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,
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:
SrcCodeOrDbAnalysisStatus
-
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,
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:
AntipatternReportStatus
-
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,
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:
AntipatternReportStatus
-
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,
appTypewill returnAppType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromappTypeAsString().- Returns:
- The type of application component.
- See Also:
AppType
-
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,
appTypewill returnAppType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromappTypeAsString().- Returns:
- The type of application component.
- See Also:
AppType
-
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,
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:
InclusionStatus
-
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,
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:
InclusionStatus
-
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 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
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,
resourceSubTypewill returnResourceSubType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceSubTypeAsString().- Returns:
- The application component subtype.
- See Also:
ResourceSubType
-
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,
resourceSubTypewill returnResourceSubType.UNKNOWN_TO_SDK_VERSION. The raw value returned by the service is available fromresourceSubTypeAsString().- Returns:
- The application component subtype.
- See Also:
ResourceSubType
-
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
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,
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:
RuntimeAnalysisStatus
-
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,
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:
RuntimeAnalysisStatus
-
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 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
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
public ApplicationComponentDetail.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<ApplicationComponentDetail.Builder,ApplicationComponentDetail>
-
builder
public static ApplicationComponentDetail.Builder builder()
-
serializableBuilderClass
public static Class<? extends ApplicationComponentDetail.Builder> serializableBuilderClass()
-
equalsBySdkFields
public final boolean equalsBySdkFields(Object obj)
- Specified by:
equalsBySdkFieldsin interfaceSdkPojo
-
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.
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-