Interface CreateProfilingGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder
,Buildable
,CodeGuruProfilerResponse.Builder
,CopyableBuilder<CreateProfilingGroupResponse.Builder,
,CreateProfilingGroupResponse> SdkBuilder<CreateProfilingGroupResponse.Builder,
,CreateProfilingGroupResponse> SdkPojo
,SdkResponse.Builder
- Enclosing class:
CreateProfilingGroupResponse
public static interface CreateProfilingGroupResponse.Builder
extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<CreateProfilingGroupResponse.Builder,CreateProfilingGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprofilingGroup
(Consumer<ProfilingGroupDescription.Builder> profilingGroup) The returnedProfilingGroupDescription
object that contains information about the created profiling group.profilingGroup
(ProfilingGroupDescription profilingGroup) The returnedProfilingGroupDescription
object that contains information about the created profiling group.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.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
-
profilingGroup
The returned
ProfilingGroupDescription
object that contains information about the created profiling group.- Parameters:
profilingGroup
- The returnedProfilingGroupDescription
object that contains information about the created profiling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilingGroup
default CreateProfilingGroupResponse.Builder profilingGroup(Consumer<ProfilingGroupDescription.Builder> profilingGroup) The returned
This is a convenience method that creates an instance of theProfilingGroupDescription
object that contains information about the created profiling group.ProfilingGroupDescription.Builder
avoiding the need to create one manually viaProfilingGroupDescription.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toprofilingGroup(ProfilingGroupDescription)
.- Parameters:
profilingGroup
- a consumer that will call methods onProfilingGroupDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-