@Generated(value="software.amazon.awssdk:codegen") public final class ServerDetail extends Object implements SdkPojo, Serializable, ToCopyableBuilder<ServerDetail.Builder,ServerDetail>
Detailed information about a server.
| Modifier and Type | Class and Description |
|---|---|
static interface |
ServerDetail.Builder |
| Modifier and Type | Method and Description |
|---|---|
S3Object |
antipatternReportS3Object()
The S3 bucket name and Amazon S3 key name for 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()
A message about the status of the anti-pattern report generation.
|
List<StrategySummary> |
applicationComponentStrategySummary()
A list of strategy summaries.
|
static ServerDetail.Builder |
builder() |
RunTimeAssessmentStatus |
dataCollectionStatus()
The status of assessment for the server.
|
String |
dataCollectionStatusAsString()
The status of assessment for the server.
|
boolean |
equals(Object obj) |
boolean |
equalsBySdkFields(Object obj) |
<T> Optional<T> |
getValueForField(String fieldName,
Class<T> clazz) |
boolean |
hasApplicationComponentStrategySummary()
For responses, this returns true if the service returned a value for the ApplicationComponentStrategySummary
property.
|
int |
hashCode() |
boolean |
hasListAntipatternSeveritySummary()
For responses, this returns true if the service returned a value for the ListAntipatternSeveritySummary property.
|
String |
id()
The server ID.
|
Instant |
lastAnalyzedTimestamp()
The timestamp of when the server was assessed.
|
List<AntipatternSeveritySummary> |
listAntipatternSeveritySummary()
A list of anti-pattern severity summaries.
|
String |
name()
The name of the server.
|
RecommendationSet |
recommendationSet()
A set of recommendations.
|
List<SdkField<?>> |
sdkFields() |
static Class<? extends ServerDetail.Builder> |
serializableBuilderClass() |
ServerError |
serverError()
The error in server analysis.
|
String |
serverType()
The type of server.
|
String |
statusMessage()
A message about the status of data collection, which contains detailed descriptions of any error messages.
|
SystemInfo |
systemInfo()
System information about the server.
|
ServerDetail.Builder |
toBuilder() |
String |
toString()
Returns a string representation of this object.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitcopypublic final S3Object antipatternReportS3Object()
The S3 bucket name and Amazon S3 key name for 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()
A message about the status of the anti-pattern report generation.
public final boolean hasApplicationComponentStrategySummary()
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<StrategySummary> applicationComponentStrategySummary()
A list of strategy 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 hasApplicationComponentStrategySummary()
method.
public final RunTimeAssessmentStatus dataCollectionStatus()
The status of assessment for the server.
If the service returns an enum value that is not available in the current SDK version,
dataCollectionStatus will return RunTimeAssessmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dataCollectionStatusAsString().
RunTimeAssessmentStatuspublic final String dataCollectionStatusAsString()
The status of assessment for the server.
If the service returns an enum value that is not available in the current SDK version,
dataCollectionStatus will return RunTimeAssessmentStatus.UNKNOWN_TO_SDK_VERSION. The raw value
returned by the service is available from dataCollectionStatusAsString().
RunTimeAssessmentStatuspublic final String id()
The server ID.
public final Instant lastAnalyzedTimestamp()
The timestamp of when the server 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 String name()
The name of the server.
public final RecommendationSet recommendationSet()
A set of recommendations.
public final ServerError serverError()
The error in server analysis.
public final String serverType()
The type of server.
public final String statusMessage()
A message about the status of data collection, which contains detailed descriptions of any error messages.
public final SystemInfo systemInfo()
System information about the server.
public ServerDetail.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<ServerDetail.Builder,ServerDetail>public static ServerDetail.Builder builder()
public static Class<? extends ServerDetail.Builder> serializableBuilderClass()
public final boolean equalsBySdkFields(Object obj)
equalsBySdkFields in interface SdkPojopublic final String toString()
Copyright © 2023. All rights reserved.