Interface GetThingRuntimeConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetThingRuntimeConfigurationResponse.Builder,
,GetThingRuntimeConfigurationResponse> GreengrassResponse.Builder
,SdkBuilder<GetThingRuntimeConfigurationResponse.Builder,
,GetThingRuntimeConfigurationResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetThingRuntimeConfigurationResponse
public static interface GetThingRuntimeConfigurationResponse.Builder
extends GreengrassResponse.Builder, SdkPojo, CopyableBuilder<GetThingRuntimeConfigurationResponse.Builder,GetThingRuntimeConfigurationResponse>
-
Method Summary
Modifier and TypeMethodDescriptionruntimeConfiguration
(Consumer<RuntimeConfiguration.Builder> runtimeConfiguration) Runtime configuration for a thing.runtimeConfiguration
(RuntimeConfiguration runtimeConfiguration) Runtime configuration for a thing.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.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
-
runtimeConfiguration
GetThingRuntimeConfigurationResponse.Builder runtimeConfiguration(RuntimeConfiguration runtimeConfiguration) Runtime configuration for a thing.- Parameters:
runtimeConfiguration
- Runtime configuration for a thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
runtimeConfiguration
default GetThingRuntimeConfigurationResponse.Builder runtimeConfiguration(Consumer<RuntimeConfiguration.Builder> runtimeConfiguration) Runtime configuration for a thing. This is a convenience method that creates an instance of theRuntimeConfiguration.Builder
avoiding the need to create one manually viaRuntimeConfiguration.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toruntimeConfiguration(RuntimeConfiguration)
.- Parameters:
runtimeConfiguration
- a consumer that will call methods onRuntimeConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-