Interface GetServerDetailsResponse.Builder
-
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetServerDetailsResponse.Builder,GetServerDetailsResponse>,MigrationHubStrategyResponse.Builder,SdkBuilder<GetServerDetailsResponse.Builder,GetServerDetailsResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetServerDetailsResponse
public static interface GetServerDetailsResponse.Builder extends MigrationHubStrategyResponse.Builder, SdkPojo, CopyableBuilder<GetServerDetailsResponse.Builder,GetServerDetailsResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetServerDetailsResponse.BuilderassociatedApplications(Collection<AssociatedApplication> associatedApplications)The associated application group the server belongs to, as defined in AWS Application Discovery Service.GetServerDetailsResponse.BuilderassociatedApplications(Consumer<AssociatedApplication.Builder>... associatedApplications)The associated application group the server belongs to, as defined in AWS Application Discovery Service.GetServerDetailsResponse.BuilderassociatedApplications(AssociatedApplication... associatedApplications)The associated application group the server belongs to, as defined in AWS Application Discovery Service.GetServerDetailsResponse.BuildernextToken(String nextToken)The token you use to retrieve the next set of results, or null if there are no more results.default GetServerDetailsResponse.BuilderserverDetail(Consumer<ServerDetail.Builder> serverDetail)Detailed information about the server.GetServerDetailsResponse.BuilderserverDetail(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 Detail
-
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.Builderavoiding the need to create one manually viaAssociatedApplication.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#associatedApplications(List.) - 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:
#associatedApplications(java.util.Collection)
-
nextToken
GetServerDetailsResponse.Builder nextToken(String 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
GetServerDetailsResponse.Builder serverDetail(ServerDetail 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
default GetServerDetailsResponse.Builder serverDetail(Consumer<ServerDetail.Builder> serverDetail)
Detailed information about the server.
This is a convenience method that creates an instance of theServerDetail.Builderavoiding the need to create one manually viaServerDetail.builder().When the
Consumercompletes,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:
serverDetail(ServerDetail)
-
-