Interface GetFlowTemplateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetFlowTemplateResponse.Builder,
,GetFlowTemplateResponse> IoTThingsGraphResponse.Builder
,SdkBuilder<GetFlowTemplateResponse.Builder,
,GetFlowTemplateResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetFlowTemplateResponse
public static interface GetFlowTemplateResponse.Builder
extends IoTThingsGraphResponse.Builder, SdkPojo, CopyableBuilder<GetFlowTemplateResponse.Builder,GetFlowTemplateResponse>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GetFlowTemplateResponse.Builder
description
(Consumer<FlowTemplateDescription.Builder> description) The object that describes the specified workflow.description
(FlowTemplateDescription description) The object that describes the specified workflow.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotthingsgraph.model.IoTThingsGraphResponse.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
-
description
The object that describes the specified workflow.
- Parameters:
description
- The object that describes the specified workflow.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
default GetFlowTemplateResponse.Builder description(Consumer<FlowTemplateDescription.Builder> description) The object that describes the specified workflow.
This is a convenience method that creates an instance of theFlowTemplateDescription.Builder
avoiding the need to create one manually viaFlowTemplateDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todescription(FlowTemplateDescription)
.- Parameters:
description
- a consumer that will call methods onFlowTemplateDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-