Interface CapabilityReport.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CapabilityReport.Builder,,CapabilityReport> SdkBuilder<CapabilityReport.Builder,,CapabilityReport> SdkPojo
- Enclosing class:
CapabilityReport
@Mutable
@NotThreadSafe
public static interface CapabilityReport.Builder
extends SdkPojo, CopyableBuilder<CapabilityReport.Builder,CapabilityReport>
-
Method Summary
Modifier and TypeMethodDescriptionendpoints(Collection<CapabilityReportEndpoint> endpoints) The endpoints used in the capability report.endpoints(Consumer<CapabilityReportEndpoint.Builder>... endpoints) The endpoints used in the capability report.endpoints(CapabilityReportEndpoint... 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
copyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, buildMethods 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
The endpoints used in the capability report.
This is a convenience method that creates an instance of theCapabilityReportEndpoint.Builderavoiding the need to create one manually viaCapabilityReportEndpoint.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toendpoints(List<CapabilityReportEndpoint>).- Parameters:
endpoints- a consumer that will call methods onCapabilityReportEndpoint.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-