public static interface ConfigureAgentResponse.Builder extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<ConfigureAgentResponse.Builder,ConfigureAgentResponse>
| Modifier and Type | Method and Description |
|---|---|
ConfigureAgentResponse.Builder |
configuration(AgentConfiguration configuration)
An
AgentConfiguration object that specifies if an agent profiles or not and for how long to
return profiling data. |
default ConfigureAgentResponse.Builder |
configuration(Consumer<AgentConfiguration.Builder> configuration)
An
AgentConfiguration object that specifies if an agent profiles or not and for how long to
return profiling data. |
build, responseMetadata, responseMetadatasdkHttpResponse, sdkHttpResponseequalsBySdkFields, sdkFieldscopyapplyMutation, buildConfigureAgentResponse.Builder configuration(AgentConfiguration configuration)
An
AgentConfiguration object that specifies if an agent profiles or not and for how long to
return profiling data.
configuration - An
AgentConfiguration object that specifies if an agent profiles or not and for how
long to return profiling data.default ConfigureAgentResponse.Builder configuration(Consumer<AgentConfiguration.Builder> configuration)
An
AgentConfiguration object that specifies if an agent profiles or not and for how long to
return profiling data.
AgentConfiguration.Builder avoiding the
need to create one manually via AgentConfiguration.builder().
When the Consumer completes, SdkBuilder.build() is called immediately and its
result is passed to configuration(AgentConfiguration).
configuration - a consumer that will call methods on AgentConfiguration.Builderconfiguration(AgentConfiguration)Copyright © 2023. All rights reserved.