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
copyMethods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.Builder
build, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods 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
lastStatusChangeTimestampresponse. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSourceandlastReportedTimestampresponse. 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
lastStatusChangeTimestampresponse. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSourceandlastReportedTimestampresponse. 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
lastStatusChangeTimestampresponse. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSourceandlastReportedTimestampresponse. 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
lastStatusChangeTimestampresponse. This response can be inaccurate in earlier Greengrass nucleus versions.Greengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSourceandlastReportedTimestampresponse. 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
lastStatusChangeTimestampresponse. This response can be inaccurate in earlier Greengrass nucleus versions. This is a convenience method that creates an instance of theGreengrass nucleus v2.8.0 or later is required to get an accurate
lastInstallationSourceandlastReportedTimestampresponse. This response can be inaccurate or null in earlier Greengrass nucleus versions.InstalledComponent.Builderavoiding the need to create one manually viaInstalledComponent.builder().When the
Consumercompletes,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.
-