Interface GetControlResponse.Builder
- All Superinterfaces:
 AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetControlResponse.Builder,,GetControlResponse> SdkBuilder<GetControlResponse.Builder,,GetControlResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
 GetControlResponse
@Mutable
@NotThreadSafe
public static interface GetControlResponse.Builder
extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetControlResponse.Builder,GetControlResponse> 
- 
Method Summary
Modifier and TypeMethodDescriptiondefault GetControlResponse.Buildercontrol(Consumer<Control.Builder> control) The details of the control that theGetControlAPI returned.The details of the control that theGetControlAPI returned.Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerResponse.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, sdkFieldNameToField, sdkFieldsMethods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse 
- 
Method Details
- 
control
The details of the control that the
GetControlAPI returned.- Parameters:
 control- The details of the control that theGetControlAPI returned.- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 
 - 
control
The details of the control that the
This is a convenience method that creates an instance of theGetControlAPI returned.Control.Builderavoiding the need to create one manually viaControl.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontrol(Control).- Parameters:
 control- a consumer that will call methods onControl.Builder- Returns:
 - Returns a reference to this object so that method calls can be chained together.
 - See Also:
 
 
 -