Interface CreateProfilingGroupResponse.Builder
- All Superinterfaces:
- AwsResponse.Builder,- Buildable,- CodeGuruProfilerResponse.Builder,- CopyableBuilder<CreateProfilingGroupResponse.Builder,,- CreateProfilingGroupResponse> - SdkBuilder<CreateProfilingGroupResponse.Builder,,- CreateProfilingGroupResponse> - SdkPojo,- SdkResponse.Builder
- Enclosing class:
- CreateProfilingGroupResponse
@Mutable
@NotThreadSafe
public static interface CreateProfilingGroupResponse.Builder
extends CodeGuruProfilerResponse.Builder, SdkPojo, CopyableBuilder<CreateProfilingGroupResponse.Builder,CreateProfilingGroupResponse> 
- 
Method SummaryModifier and TypeMethodDescriptionprofilingGroup(Consumer<ProfilingGroupDescription.Builder> profilingGroup) The returnedProfilingGroupDescriptionobject that contains information about the created profiling group.profilingGroup(ProfilingGroupDescription profilingGroup) The returnedProfilingGroupDescriptionobject that contains information about the created profiling group.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- 
profilingGroupThe returned ProfilingGroupDescriptionobject that contains information about the created profiling group.- Parameters:
- profilingGroup- The returned- ProfilingGroupDescriptionobject that contains information about the created profiling group.
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
- 
profilingGroupdefault CreateProfilingGroupResponse.Builder profilingGroup(Consumer<ProfilingGroupDescription.Builder> profilingGroup) The returned This is a convenience method that creates an instance of theProfilingGroupDescriptionobject that contains information about the created 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 on- ProfilingGroupDescription.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
 
 
-