Interface ConfigureAgentResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CodeGuruProfilerResponse.Builder,- CopyableBuilder<ConfigureAgentResponse.Builder,,- ConfigureAgentResponse> - SdkBuilder<ConfigureAgentResponse.Builder,,- ConfigureAgentResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- ConfigureAgentResponse
@Mutable
@NotThreadSafe
public static interface ConfigureAgentResponse.Builder
extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<ConfigureAgentResponse.Builder,ConfigureAgentResponse> 
- 
Method SummaryModifier and TypeMethodDescriptiondefault ConfigureAgentResponse.Builderconfiguration(Consumer<AgentConfiguration.Builder> configuration) AnAgentConfigurationobject that specifies if an agent profiles or not and for how long to return profiling data.configuration(AgentConfiguration configuration) AnAgentConfigurationobject that specifies if an agent profiles or not and for how long to return profiling data.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.Builderbuild, responseMetadata, responseMetadataMethods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuildercopyMethods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilderapplyMutation, buildMethods inherited from interface software.amazon.awssdk.core.SdkPojoequalsBySdkFields, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.BuildersdkHttpResponse, sdkHttpResponse
- 
Method Details- 
configurationAn AgentConfigurationobject that specifies if an agent profiles or not and for how long to return profiling data.- Parameters:
- configuration- An- AgentConfigurationobject that specifies if an agent profiles or not and for how long to return profiling data.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
configurationdefault ConfigureAgentResponse.Builder configuration(Consumer<AgentConfiguration.Builder> configuration) An This is a convenience method that creates an instance of theAgentConfigurationobject that specifies if an agent profiles or not and for how long to return profiling data.AgentConfiguration.Builderavoiding the need to create one manually viaAgentConfiguration.builder().When the Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toconfiguration(AgentConfiguration).- Parameters:
- configuration- a consumer that will call methods on- AgentConfiguration.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-