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