Interface MatterCapabilityReport.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<MatterCapabilityReport.Builder,
,MatterCapabilityReport> SdkBuilder<MatterCapabilityReport.Builder,
,MatterCapabilityReport> SdkPojo
- Enclosing class:
MatterCapabilityReport
@Mutable
@NotThreadSafe
public static interface MatterCapabilityReport.Builder
extends SdkPojo, CopyableBuilder<MatterCapabilityReport.Builder,MatterCapabilityReport>
-
Method Summary
Modifier and TypeMethodDescriptionendpoints
(Collection<MatterCapabilityReportEndpoint> endpoints) The endpoints used in the capability report.endpoints
(Consumer<MatterCapabilityReportEndpoint.Builder>... endpoints) The endpoints used in the capability report.endpoints
(MatterCapabilityReportEndpoint... endpoints) The endpoints used in the capability report.The numeric identifier of the node.The version of the capability report.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
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
-
version
The version of the capability report.
- Parameters:
version
- The version of the capability report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
nodeId
The numeric identifier of the node.
- Parameters:
nodeId
- The numeric identifier of the node.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The endpoints used in the capability report.
- Parameters:
endpoints
- The endpoints used in the capability report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
The endpoints used in the capability report.
- Parameters:
endpoints
- The endpoints used in the capability report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
endpoints
MatterCapabilityReport.Builder endpoints(Consumer<MatterCapabilityReportEndpoint.Builder>... endpoints) The endpoints used in the capability report.
This is a convenience method that creates an instance of theMatterCapabilityReportEndpoint.Builder
avoiding the need to create one manually viaMatterCapabilityReportEndpoint.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toendpoints(List<MatterCapabilityReportEndpoint>)
.- Parameters:
endpoints
- a consumer that will call methods onMatterCapabilityReportEndpoint.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-