Interface GetConnectivityInfoResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CopyableBuilder<GetConnectivityInfoResponse.Builder,
,GetConnectivityInfoResponse> GreengrassV2Response.Builder
,SdkBuilder<GetConnectivityInfoResponse.Builder,
,GetConnectivityInfoResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
GetConnectivityInfoResponse
public static interface GetConnectivityInfoResponse.Builder
extends GreengrassV2Response.Builder, SdkPojo, CopyableBuilder<GetConnectivityInfoResponse.Builder,GetConnectivityInfoResponse>
-
Method Summary
Modifier and TypeMethodDescriptionconnectivityInfo
(Collection<ConnectivityInfo> connectivityInfo) The connectivity information for the core device.connectivityInfo
(Consumer<ConnectivityInfo.Builder>... connectivityInfo) The connectivity information for the core device.connectivityInfo
(ConnectivityInfo... connectivityInfo) The connectivity information for the core device.A message about the connectivity information request.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.greengrassv2.model.GreengrassV2Response.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
-
connectivityInfo
The connectivity information for the core device.
- Parameters:
connectivityInfo
- The connectivity information for the core device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectivityInfo
The connectivity information for the core device.
- Parameters:
connectivityInfo
- The connectivity information for the core device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectivityInfo
GetConnectivityInfoResponse.Builder connectivityInfo(Consumer<ConnectivityInfo.Builder>... connectivityInfo) The connectivity information for the core device.
This is a convenience method that creates an instance of theConnectivityInfo.Builder
avoiding the need to create one manually viaConnectivityInfo.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toconnectivityInfo(List<ConnectivityInfo>)
.- Parameters:
connectivityInfo
- a consumer that will call methods onConnectivityInfo.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
message
A message about the connectivity information request.
- Parameters:
message
- A message about the connectivity information request.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-