Interface GetThingRuntimeConfigurationResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetThingRuntimeConfigurationResponse.Builder,,GetThingRuntimeConfigurationResponse> GreengrassResponse.Builder,SdkBuilder<GetThingRuntimeConfigurationResponse.Builder,,GetThingRuntimeConfigurationResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetThingRuntimeConfigurationResponse
@Mutable
@NotThreadSafe
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
copyMethods inherited from interface software.amazon.awssdk.services.greengrass.model.GreengrassResponse.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
-
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.Builderavoiding the need to create one manually viaRuntimeConfiguration.builder().When the
Consumercompletes,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:
-