Interface GetApplicationComponentDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetApplicationComponentDetailsResponse.Builder,
,GetApplicationComponentDetailsResponse> MigrationHubStrategyResponse.Builder
,SdkBuilder<GetApplicationComponentDetailsResponse.Builder,
,GetApplicationComponentDetailsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetApplicationComponentDetailsResponse
-
Method Summary
Modifier and TypeMethodDescriptionapplicationComponentDetail
(Consumer<ApplicationComponentDetail.Builder> applicationComponentDetail) Detailed information about an application component.applicationComponentDetail
(ApplicationComponentDetail applicationComponentDetail) Detailed information about an application component.associatedApplications
(Collection<AssociatedApplication> associatedApplications) The associated application group as defined in AWS Application Discovery Service.associatedApplications
(Consumer<AssociatedApplication.Builder>... associatedApplications) The associated application group as defined in AWS Application Discovery Service.associatedApplications
(AssociatedApplication... associatedApplications) The associated application group as defined in AWS Application Discovery Service.associatedServerIds
(String... associatedServerIds) A list of the IDs of the servers on which the application component is running.associatedServerIds
(Collection<String> associatedServerIds) A list of the IDs of the servers on which the application component is running.moreApplicationResource
(Boolean moreApplicationResource) Set to true if the application component belongs to more than one application group.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.migrationhubstrategy.model.MigrationHubStrategyResponse.Builder
build, responseMetadata, responseMetadata
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
applicationComponentDetail
GetApplicationComponentDetailsResponse.Builder applicationComponentDetail(ApplicationComponentDetail applicationComponentDetail) Detailed information about an application component.
- Parameters:
applicationComponentDetail
- Detailed information about an application component.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
applicationComponentDetail
default GetApplicationComponentDetailsResponse.Builder applicationComponentDetail(Consumer<ApplicationComponentDetail.Builder> applicationComponentDetail) Detailed information about an application component.
This is a convenience method that creates an instance of theApplicationComponentDetail.Builder
avoiding the need to create one manually viaApplicationComponentDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toapplicationComponentDetail(ApplicationComponentDetail)
.- Parameters:
applicationComponentDetail
- a consumer that will call methods onApplicationComponentDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedApplications
GetApplicationComponentDetailsResponse.Builder associatedApplications(Collection<AssociatedApplication> associatedApplications) The associated application group as defined in AWS Application Discovery Service.
- Parameters:
associatedApplications
- The associated application group as defined in AWS Application Discovery Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedApplications
GetApplicationComponentDetailsResponse.Builder associatedApplications(AssociatedApplication... associatedApplications) The associated application group as defined in AWS Application Discovery Service.
- Parameters:
associatedApplications
- The associated application group as defined in AWS Application Discovery Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedApplications
GetApplicationComponentDetailsResponse.Builder associatedApplications(Consumer<AssociatedApplication.Builder>... associatedApplications) The associated application group as defined in AWS Application Discovery Service.
This is a convenience method that creates an instance of theAssociatedApplication.Builder
avoiding the need to create one manually viaAssociatedApplication.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toassociatedApplications(List<AssociatedApplication>)
.- Parameters:
associatedApplications
- a consumer that will call methods onAssociatedApplication.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
associatedServerIds
GetApplicationComponentDetailsResponse.Builder associatedServerIds(Collection<String> associatedServerIds) A list of the IDs of the servers on which the application component is running.
- Parameters:
associatedServerIds
- A list of the IDs of the servers on which the application component is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedServerIds
A list of the IDs of the servers on which the application component is running.
- Parameters:
associatedServerIds
- A list of the IDs of the servers on which the application component is running.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
moreApplicationResource
GetApplicationComponentDetailsResponse.Builder moreApplicationResource(Boolean moreApplicationResource) Set to true if the application component belongs to more than one application group.
- Parameters:
moreApplicationResource
- Set to true if the application component belongs to more than one application group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-