Interface StateEndpoint.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<StateEndpoint.Builder,
,StateEndpoint> SdkBuilder<StateEndpoint.Builder,
,StateEndpoint> SdkPojo
- Enclosing class:
StateEndpoint
@Mutable
@NotThreadSafe
public static interface StateEndpoint.Builder
extends SdkPojo, CopyableBuilder<StateEndpoint.Builder,StateEndpoint>
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities
(Collection<StateCapability> capabilities) Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.capabilities
(Consumer<StateCapability.Builder>... capabilities) Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.capabilities
(StateCapability... capabilities) Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.endpointId
(String endpointId) Numeric identifier of the endpointMethods 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
-
endpointId
Numeric identifier of the endpoint
- Parameters:
endpointId
- Numeric identifier of the endpoint- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.
- Parameters:
capabilities
- Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.
- Parameters:
capabilities
- Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
capabilities
Describe the endpoint with an id, a name, and the relevant capabilities for the reporting state.
This is a convenience method that creates an instance of theStateCapability.Builder
avoiding the need to create one manually viaStateCapability.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tocapabilities(List<StateCapability>)
.- Parameters:
capabilities
- a consumer that will call methods onStateCapability.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-