Interface StopDataCollectionByAgentIdsResponse.Builder
- All Superinterfaces:
ApplicationDiscoveryResponse.Builder
,AwsResponse.Builder
,Buildable
,CopyableBuilder<StopDataCollectionByAgentIdsResponse.Builder,
,StopDataCollectionByAgentIdsResponse> SdkBuilder<StopDataCollectionByAgentIdsResponse.Builder,
,StopDataCollectionByAgentIdsResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
StopDataCollectionByAgentIdsResponse
-
Method Summary
Modifier and TypeMethodDescriptionagentsConfigurationStatus
(Collection<AgentConfigurationStatus> agentsConfigurationStatus) Information about the agents that were instructed to stop collecting data.agentsConfigurationStatus
(Consumer<AgentConfigurationStatus.Builder>... agentsConfigurationStatus) Information about the agents that were instructed to stop collecting data.agentsConfigurationStatus
(AgentConfigurationStatus... agentsConfigurationStatus) Information about the agents that were instructed to stop collecting data.Methods inherited from interface software.amazon.awssdk.services.applicationdiscovery.model.ApplicationDiscoveryResponse.Builder
build, responseMetadata, responseMetadata
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, sdkFields
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
agentsConfigurationStatus
StopDataCollectionByAgentIdsResponse.Builder agentsConfigurationStatus(Collection<AgentConfigurationStatus> agentsConfigurationStatus) Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.
- Parameters:
agentsConfigurationStatus
- Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentsConfigurationStatus
StopDataCollectionByAgentIdsResponse.Builder agentsConfigurationStatus(AgentConfigurationStatus... agentsConfigurationStatus) Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.
- Parameters:
agentsConfigurationStatus
- Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
agentsConfigurationStatus
StopDataCollectionByAgentIdsResponse.Builder agentsConfigurationStatus(Consumer<AgentConfigurationStatus.Builder>... agentsConfigurationStatus) Information about the agents that were instructed to stop collecting data. Information includes the agent ID, a description of the operation performed, and whether the agent configuration was updated.
This is a convenience method that creates an instance of theAgentConfigurationStatus.Builder
avoiding the need to create one manually viaAgentConfigurationStatus.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toagentsConfigurationStatus(List<AgentConfigurationStatus>)
.- Parameters:
agentsConfigurationStatus
- a consumer that will call methods onAgentConfigurationStatus.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-