Interface CommandEndpoint.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CommandEndpoint.Builder,,CommandEndpoint> SdkBuilder<CommandEndpoint.Builder,,CommandEndpoint> SdkPojo
- Enclosing class:
CommandEndpoint
@Mutable
@NotThreadSafe
public static interface CommandEndpoint.Builder
extends SdkPojo, CopyableBuilder<CommandEndpoint.Builder,CommandEndpoint>
-
Method Summary
Modifier and TypeMethodDescriptioncapabilities(Collection<CommandCapability> capabilities) Describe the endpoint with an id, a name, and the relevant capabilities for sending commands.capabilities(Consumer<CommandCapability.Builder>... capabilities) Describe the endpoint with an id, a name, and the relevant capabilities for sending commands.capabilities(CommandCapability... capabilities) Describe the endpoint with an id, a name, and the relevant capabilities for sending commands.endpointId(String endpointId) The id of the endpoint for a managed thing.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
-
endpointId
The id of the endpoint for a managed thing.
- Parameters:
endpointId- The id of the endpoint for a managed thing.- 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 sending commands.
- Parameters:
capabilities- Describe the endpoint with an id, a name, and the relevant capabilities for sending commands.- 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 sending commands.
- Parameters:
capabilities- Describe the endpoint with an id, a name, and the relevant capabilities for sending commands.- 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 sending commands.
This is a convenience method that creates an instance of theCommandCapability.Builderavoiding the need to create one manually viaCommandCapability.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocapabilities(List<CommandCapability>).- Parameters:
capabilities- a consumer that will call methods onCommandCapability.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-