Interface UpdateProfilingGroupResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,CodeGuruProfilerResponse.Builder,CopyableBuilder<UpdateProfilingGroupResponse.Builder,,UpdateProfilingGroupResponse> SdkBuilder<UpdateProfilingGroupResponse.Builder,,UpdateProfilingGroupResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
UpdateProfilingGroupResponse
public static interface UpdateProfilingGroupResponse.Builder
extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<UpdateProfilingGroupResponse.Builder,UpdateProfilingGroupResponse>
-
Method Summary
Modifier and TypeMethodDescriptionprofilingGroup(Consumer<ProfilingGroupDescription.Builder> profilingGroup) AProfilingGroupDescriptionthat contains information about the returned updated profiling group.profilingGroup(ProfilingGroupDescription profilingGroup) AProfilingGroupDescriptionthat contains information about the returned updated profiling group.Methods inherited from interface software.amazon.awssdk.services.codeguruprofiler.model.CodeGuruProfilerResponse.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, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
Method Details
-
profilingGroup
A
ProfilingGroupDescriptionthat contains information about the returned updated profiling group.- Parameters:
profilingGroup- AProfilingGroupDescriptionthat contains information about the returned updated profiling group.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
profilingGroup
default UpdateProfilingGroupResponse.Builder profilingGroup(Consumer<ProfilingGroupDescription.Builder> profilingGroup) A
This is a convenience method that creates an instance of theProfilingGroupDescriptionthat contains information about the returned updated profiling group.ProfilingGroupDescription.Builderavoiding the need to create one manually viaProfilingGroupDescription.builder().When the
Consumercompletes,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:
-