Interface GetServerDetailsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetServerDetailsResponse.Builder,
,GetServerDetailsResponse> MigrationHubStrategyResponse.Builder
,SdkBuilder<GetServerDetailsResponse.Builder,
,GetServerDetailsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetServerDetailsResponse
-
Method Summary
Modifier and TypeMethodDescriptionassociatedApplications
(Collection<AssociatedApplication> associatedApplications) The associated application group the server belongs to, as defined in AWS Application Discovery Service.associatedApplications
(Consumer<AssociatedApplication.Builder>... associatedApplications) The associated application group the server belongs to, as defined in AWS Application Discovery Service.associatedApplications
(AssociatedApplication... associatedApplications) The associated application group the server belongs to, as defined in AWS Application Discovery Service.The token you use to retrieve the next set of results, or null if there are no more results.default GetServerDetailsResponse.Builder
serverDetail
(Consumer<ServerDetail.Builder> serverDetail) Detailed information about the server.serverDetail
(ServerDetail serverDetail) Detailed information about the server.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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
associatedApplications
GetServerDetailsResponse.Builder associatedApplications(Collection<AssociatedApplication> associatedApplications) The associated application group the server belongs to, as defined in AWS Application Discovery Service.
- Parameters:
associatedApplications
- The associated application group the server belongs to, as defined in AWS Application Discovery Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedApplications
GetServerDetailsResponse.Builder associatedApplications(AssociatedApplication... associatedApplications) The associated application group the server belongs to, as defined in AWS Application Discovery Service.
- Parameters:
associatedApplications
- The associated application group the server belongs to, as defined in AWS Application Discovery Service.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
associatedApplications
GetServerDetailsResponse.Builder associatedApplications(Consumer<AssociatedApplication.Builder>... associatedApplications) The associated application group the server belongs to, 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:
-
nextToken
The token you use to retrieve the next set of results, or null if there are no more results.
- Parameters:
nextToken
- The token you use to retrieve the next set of results, or null if there are no more results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverDetail
Detailed information about the server.
- Parameters:
serverDetail
- Detailed information about the server.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverDetail
Detailed information about the server.
This is a convenience method that creates an instance of theServerDetail.Builder
avoiding the need to create one manually viaServerDetail.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toserverDetail(ServerDetail)
.- Parameters:
serverDetail
- a consumer that will call methods onServerDetail.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-