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
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
-
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.Builderavoiding the need to create one manually viaStateCapability.builder().When the
Consumercompletes,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:
-