Interface ListInstalledComponentsResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<ListInstalledComponentsResponse.Builder,
,ListInstalledComponentsResponse> GreengrassV2Response.Builder
,SdkBuilder<ListInstalledComponentsResponse.Builder,
,ListInstalledComponentsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
ListInstalledComponentsResponse
-
Method Summary
Modifier and TypeMethodDescriptioninstalledComponents
(Collection<InstalledComponent> installedComponents) A list that summarizes each component on the core device.installedComponents
(Consumer<InstalledComponent.Builder>... installedComponents) A list that summarizes each component on the core device.installedComponents
(InstalledComponent... installedComponents) A list that summarizes each component on the core device.The token for the next set of results, or null if there are no additional results.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.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
-
installedComponents
ListInstalledComponentsResponse.Builder installedComponents(Collection<InstalledComponent> installedComponents) A list that summarizes each component on the core device.
Greengrass nucleus v2.7.0 or later is required to get an accurate
lastStatusChangeTimestamp
response. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSource
andlastReportedTimestamp
response. This response can be inaccurate or null in earlier Greengrass nucleus versions.- Parameters:
installedComponents
- A list that summarizes each component on the core device.Greengrass nucleus v2.7.0 or later is required to get an accurate
lastStatusChangeTimestamp
response. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSource
andlastReportedTimestamp
response. This response can be inaccurate or null in earlier Greengrass nucleus versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedComponents
ListInstalledComponentsResponse.Builder installedComponents(InstalledComponent... installedComponents) A list that summarizes each component on the core device.
Greengrass nucleus v2.7.0 or later is required to get an accurate
lastStatusChangeTimestamp
response. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSource
andlastReportedTimestamp
response. This response can be inaccurate or null in earlier Greengrass nucleus versions.- Parameters:
installedComponents
- A list that summarizes each component on the core device.Greengrass nucleus v2.7.0 or later is required to get an accurate
lastStatusChangeTimestamp
response. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSource
andlastReportedTimestamp
response. This response can be inaccurate or null in earlier Greengrass nucleus versions.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
installedComponents
ListInstalledComponentsResponse.Builder installedComponents(Consumer<InstalledComponent.Builder>... installedComponents) A list that summarizes each component on the core device.
Greengrass nucleus v2.7.0 or later is required to get an accurate
lastStatusChangeTimestamp
response. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSource
andlastReportedTimestamp
response. This response can be inaccurate or null in earlier Greengrass nucleus versions.InstalledComponent.Builder
avoiding the need to create one manually viaInstalledComponent.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toinstalledComponents(List<InstalledComponent>)
.- Parameters:
installedComponents
- a consumer that will call methods onInstalledComponent.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
nextToken
The token for the next set of results, or null if there are no additional results.
- Parameters:
nextToken
- The token for the next set of results, or null if there are no additional results.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-