Class GetApplicationComponentDetailsResponse
- java.lang.Object
-
- software.amazon.awssdk.core.SdkResponse
-
- software.amazon.awssdk.awscore.AwsResponse
-
- software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse
-
- software.amazon.awssdk.services.migrationhubstrategy.model.GetApplicationComponentDetailsResponse
-
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetApplicationComponentDetailsResponse.Builder,GetApplicationComponentDetailsResponse>
@Generated("software.amazon.awssdk:codegen") public final class GetApplicationComponentDetailsResponse extends MigrationHubStrategyResponse implements ToCopyableBuilder<GetApplicationComponentDetailsResponse.Builder,GetApplicationComponentDetailsResponse>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static interfaceGetApplicationComponentDetailsResponse.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ApplicationComponentDetailapplicationComponentDetail()Detailed information about an application component.List<AssociatedApplication>associatedApplications()The associated application group as defined in AWS Application Discovery Service.List<String>associatedServerIds()A list of the IDs of the servers on which the application component is running.static GetApplicationComponentDetailsResponse.Builderbuilder()booleanequals(Object obj)booleanequalsBySdkFields(Object obj)<T> Optional<T>getValueForField(String fieldName, Class<T> clazz)booleanhasAssociatedApplications()For responses, this returns true if the service returned a value for the AssociatedApplications property.booleanhasAssociatedServerIds()For responses, this returns true if the service returned a value for the AssociatedServerIds property.inthashCode()BooleanmoreApplicationResource()Set to true if the application component belongs to more than one application group.Map<String,SdkField<?>>sdkFieldNameToField()List<SdkField<?>>sdkFields()static Class<? extends GetApplicationComponentDetailsResponse.Builder>serializableBuilderClass()GetApplicationComponentDetailsResponse.BuildertoBuilder()StringtoString()Returns a string representation of this object.-
Methods inherited from class software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse
responseMetadata
-
Methods inherited from class software.amazon.awssdk.core.SdkResponse
sdkHttpResponse
-
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
-
applicationComponentDetail
public final ApplicationComponentDetail applicationComponentDetail()
Detailed information about an application component.
- Returns:
- Detailed information about an application component.
-
hasAssociatedApplications
public final boolean hasAssociatedApplications()
For responses, this returns true if the service returned a value for the AssociatedApplications 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.
-
associatedApplications
public final List<AssociatedApplication> associatedApplications()
The associated application group as defined in AWS Application Discovery Service.
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
hasAssociatedApplications()method.- Returns:
- The associated application group as defined in AWS Application Discovery Service.
-
hasAssociatedServerIds
public final boolean hasAssociatedServerIds()
For responses, this returns true if the service returned a value for the AssociatedServerIds 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.
-
associatedServerIds
public final List<String> associatedServerIds()
A list of the IDs of the servers on which the application component is running.
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
hasAssociatedServerIds()method.- Returns:
- A list of the IDs of the servers on which the application component is running.
-
moreApplicationResource
public final Boolean moreApplicationResource()
Set to true if the application component belongs to more than one application group.
- Returns:
- Set to true if the application component belongs to more than one application group.
-
toBuilder
public GetApplicationComponentDetailsResponse.Builder toBuilder()
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetApplicationComponentDetailsResponse.Builder,GetApplicationComponentDetailsResponse>- Specified by:
toBuilderin classAwsResponse
-
builder
public static GetApplicationComponentDetailsResponse.Builder builder()
-
serializableBuilderClass
public static Class<? extends GetApplicationComponentDetailsResponse.Builder> serializableBuilderClass()
-
hashCode
public final int hashCode()
- Overrides:
hashCodein classAwsResponse
-
equals
public final boolean equals(Object obj)
- Overrides:
equalsin classAwsResponse
-
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.
-
getValueForField
public final <T> Optional<T> getValueForField(String fieldName, Class<T> clazz)
- Overrides:
getValueForFieldin classSdkResponse
-
sdkFieldNameToField
public final Map<String,SdkField<?>> sdkFieldNameToField()
- Specified by:
sdkFieldNameToFieldin interfaceSdkPojo
-
-