Interface SendConnectorEventRequest.Builder
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<SendConnectorEventRequest.Builder,
,SendConnectorEventRequest> IotManagedIntegrationsRequest.Builder
,SdkBuilder<SendConnectorEventRequest.Builder,
,SendConnectorEventRequest> SdkPojo
,SdkRequest.Builder
- Enclosing class:
SendConnectorEventRequest
-
Method Summary
Modifier and TypeMethodDescriptionconnectorDeviceId
(String connectorDeviceId) The third-party device id as defined by the connector.connectorId
(String connectorId) The id of the connector between the third-party cloud provider and IoT managed integrations.deviceDiscoveryId
(String deviceDiscoveryId) The id for the device discovery job.devices
(Collection<Device> devices) The list of devices.devices
(Consumer<Device.Builder>... devices) The list of devices.The list of devices.matterEndpoint
(Consumer<MatterEndpoint.Builder> matterEndpoint) The device endpoint.matterEndpoint
(MatterEndpoint matterEndpoint) The device endpoint.The device state change event payload.The Open Connectivity Foundation (OCF) operation requested to be performed on the managed thing.operation
(ConnectorEventOperation operation) The Open Connectivity Foundation (OCF) operation requested to be performed on the managed thing.operationVersion
(String operationVersion) The Open Connectivity Foundation (OCF) security specification version for the operation being requested on the managed thing.overrideConfiguration
(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Add an optional request override configuration.overrideConfiguration
(AwsRequestOverrideConfiguration overrideConfiguration) Add an optional request override configuration.statusCode
(Integer statusCode) The status code of the Open Connectivity Foundation (OCF) operation being performed on the managed thing.The trace request identifier used to correlate a command request and response.The id of the third-party cloud provider.Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.services.iotmanagedintegrations.model.IotManagedIntegrationsRequest.Builder
build
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
Method Details
-
connectorId
The id of the connector between the third-party cloud provider and IoT managed integrations.
- Parameters:
connectorId
- The id of the connector between the third-party cloud provider and IoT managed integrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
userId
The id of the third-party cloud provider.
- Parameters:
userId
- The id of the third-party cloud provider.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
operation
The Open Connectivity Foundation (OCF) operation requested to be performed on the managed thing.
The field op can have a value of "I" or "U". The field "cn" will contain the capability types.
- Parameters:
operation
- The Open Connectivity Foundation (OCF) operation requested to be performed on the managed thing.The field op can have a value of "I" or "U". The field "cn" will contain the capability types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operation
The Open Connectivity Foundation (OCF) operation requested to be performed on the managed thing.
The field op can have a value of "I" or "U". The field "cn" will contain the capability types.
- Parameters:
operation
- The Open Connectivity Foundation (OCF) operation requested to be performed on the managed thing.The field op can have a value of "I" or "U". The field "cn" will contain the capability types.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
operationVersion
The Open Connectivity Foundation (OCF) security specification version for the operation being requested on the managed thing. For more information, see OCF Security Specification.
- Parameters:
operationVersion
- The Open Connectivity Foundation (OCF) security specification version for the operation being requested on the managed thing. For more information, see OCF Security Specification.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
statusCode
The status code of the Open Connectivity Foundation (OCF) operation being performed on the managed thing.
- Parameters:
statusCode
- The status code of the Open Connectivity Foundation (OCF) operation being performed on the managed thing.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
message
The device state change event payload.
This parameter will include the following three fields:
-
uri
:schema auc://<PARTNER-DEVICE-ID>/ResourcePath
(TheResourcepath
corresponds to an OCF resource.) -
op
: For device state changes, this field must populate asn+d
. -
cn
: The content depends on the OCF resource referenced inResourcePath
.
- Parameters:
message
- The device state change event payload.This parameter will include the following three fields:
-
uri
:schema auc://<PARTNER-DEVICE-ID>/ResourcePath
(TheResourcepath
corresponds to an OCF resource.) -
op
: For device state changes, this field must populate asn+d
. -
cn
: The content depends on the OCF resource referenced inResourcePath
.
-
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-
deviceDiscoveryId
The id for the device discovery job.
- Parameters:
deviceDiscoveryId
- The id for the device discovery job.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
connectorDeviceId
The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).
This parameter is used for cloud-to-cloud devices only.
- Parameters:
connectorDeviceId
- The third-party device id as defined by the connector. This device id must not contain personal identifiable information (PII).This parameter is used for cloud-to-cloud devices only.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
traceId
The trace request identifier used to correlate a command request and response. This is specified by the device owner, but will be generated by IoT managed integrations if not provided by the device owner.
- Parameters:
traceId
- The trace request identifier used to correlate a command request and response. This is specified by the device owner, but will be generated by IoT managed integrations if not provided by the device owner.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The list of devices.
- Parameters:
devices
- The list of devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The list of devices.
- Parameters:
devices
- The list of devices.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
devices
The list of devices.
This is a convenience method that creates an instance of theDevice.Builder
avoiding the need to create one manually viaDevice.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed todevices(List<Device>)
.- Parameters:
devices
- a consumer that will call methods onDevice.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
matterEndpoint
The device endpoint.
- Parameters:
matterEndpoint
- The device endpoint.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
matterEndpoint
default SendConnectorEventRequest.Builder matterEndpoint(Consumer<MatterEndpoint.Builder> matterEndpoint) The device endpoint.
This is a convenience method that creates an instance of theMatterEndpoint.Builder
avoiding the need to create one manually viaMatterEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tomatterEndpoint(MatterEndpoint)
.- Parameters:
matterEndpoint
- a consumer that will call methods onMatterEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
overrideConfiguration
SendConnectorEventRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
overrideConfiguration
- The override configuration.- Returns:
- This object for method chaining.
-
overrideConfiguration
SendConnectorEventRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer) Description copied from interface:AwsRequest.Builder
Add an optional request override configuration.- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
- Parameters:
builderConsumer
- AConsumer
to which an emptyAwsRequestOverrideConfiguration.Builder
will be given.- Returns:
- This object for method chaining.
-