Interface CapabilityReportEndpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CapabilityReportEndpoint.Builder,
,CapabilityReportEndpoint> SdkBuilder<CapabilityReportEndpoint.Builder,
,CapabilityReportEndpoint> SdkPojo
- Enclosing class:
CapabilityReportEndpoint
@Mutable
@NotThreadSafe
public static interface CapabilityReportEndpoint.Builder
extends SdkPojo, CopyableBuilder<CapabilityReportEndpoint.Builder,CapabilityReportEndpoint>
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities
(Collection<CapabilityReportCapability> capabilities) The capabilities used in the capability report.capabilities
(Consumer<CapabilityReportCapability.Builder>... capabilities) The capabilities used in the capability report.capabilities
(CapabilityReportCapability... capabilities) The capabilities used in the capability report.deviceTypes
(String... deviceTypes) The type of device.deviceTypes
(Collection<String> deviceTypes) The type of device.The id of the endpoint used in 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
-
id
The id of the endpoint used in the capability report.
- Parameters:
id
- The id of the endpoint used in the capability report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceTypes
The type of device.
- Parameters:
deviceTypes
- The type of device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
deviceTypes
The type of device.
- Parameters:
deviceTypes
- The type of device.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
The capabilities used in the capability report.
- Parameters:
capabilities
- The capabilities used in the capability report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
The capabilities used in the capability report.
- Parameters:
capabilities
- The capabilities used in the capability report.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
CapabilityReportEndpoint.Builder capabilities(Consumer<CapabilityReportCapability.Builder>... capabilities) The capabilities used in the capability report.
This is a convenience method that creates an instance of theCapabilityReportCapability.Builder
avoiding the need to create one manually viaCapabilityReportCapability.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilities(List<CapabilityReportCapability>)
.- Parameters:
capabilities
- a consumer that will call methods onCapabilityReportCapability.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-