Interface GetManagedThingStateResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CopyableBuilder<GetManagedThingStateResponse.Builder,,GetManagedThingStateResponse> IotManagedIntegrationsResponse.Builder,SdkBuilder<GetManagedThingStateResponse.Builder,,GetManagedThingStateResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetManagedThingStateResponse
@Mutable
@NotThreadSafe
public static interface GetManagedThingStateResponse.Builder
extends IotManagedIntegrationsResponse.Builder, SdkPojo, CopyableBuilder<GetManagedThingStateResponse.Builder,GetManagedThingStateResponse>
-
Method Summary
Modifier and TypeMethodDescriptionendpoints(Collection<StateEndpoint> endpoints) The device endpoint.endpoints(Consumer<StateEndpoint.Builder>... endpoints) The device endpoint.endpoints(StateEndpoint... endpoints) The device endpoint.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copyMethods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsResponse.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
-
endpoints
The device endpoint.
- Parameters:
endpoints- The device endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The device endpoint.
- Parameters:
endpoints- The device endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The device endpoint.
This is a convenience method that creates an instance of theStateEndpoint.Builderavoiding the need to create one manually viaStateEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoints(List<StateEndpoint>).- Parameters:
endpoints- a consumer that will call methods onStateEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-