Interface GetControlResponse.Builder
-
- All Superinterfaces:
AuditManagerResponse.Builder,AwsResponse.Builder,Buildable,CopyableBuilder<GetControlResponse.Builder,GetControlResponse>,SdkBuilder<GetControlResponse.Builder,GetControlResponse>,SdkPojo,SdkResponse.Builder
- Enclosing class:
- GetControlResponse
public static interface GetControlResponse.Builder extends AuditManagerResponse.Builder, SdkPojo, CopyableBuilder<GetControlResponse.Builder,GetControlResponse>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default GetControlResponse.Buildercontrol(Consumer<Control.Builder> control)The details of the control that theGetControlAPI returned.GetControlResponse.Buildercontrol(Control control)The details of the control that theGetControlAPI returned.-
Methods inherited from interface software.amazon.awssdk.services.auditmanager.model.AuditManagerResponse.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 Detail
-
control
GetControlResponse.Builder control(Control 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
default GetControlResponse.Builder control(Consumer<Control.Builder> 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:
control(Control)
-
-