Interface GetControlResponse.Builder
- All Superinterfaces:
AwsResponse.Builder,Buildable,ControlCatalogResponse.Builder,CopyableBuilder<GetControlResponse.Builder,,GetControlResponse> SdkBuilder<GetControlResponse.Builder,,GetControlResponse> SdkPojo,SdkResponse.Builder
- Enclosing class:
GetControlResponse
public static interface GetControlResponse.Builder
extends ControlCatalogResponse.Builder, SdkPojo, CopyableBuilder<GetControlResponse.Builder,GetControlResponse>
-
Method Summary
Modifier and TypeMethodDescriptionThe Amazon Resource Name (ARN) of the control.A term that identifies the control's functional behavior.behavior(ControlBehavior behavior) A term that identifies the control's functional behavior.description(String description) A description of what the control does.The display name of the control.default GetControlResponse.BuilderregionConfiguration(Consumer<RegionConfiguration.Builder> regionConfiguration) Sets the value of the RegionConfiguration property for this object.regionConfiguration(RegionConfiguration regionConfiguration) Sets the value of the RegionConfiguration property for this object.Methods inherited from interface software.amazon.awssdk.services.controlcatalog.model.ControlCatalogResponse.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
-
arn
The Amazon Resource Name (ARN) of the control.
- Parameters:
arn- The Amazon Resource Name (ARN) of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
The display name of the control.
- Parameters:
name- The display name of the control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
description
A description of what the control does.
- Parameters:
description- A description of what the control does.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
behavior
A term that identifies the control's functional behavior. One of
Preventive,Deteictive,Proactive- Parameters:
behavior- A term that identifies the control's functional behavior. One ofPreventive,Deteictive,Proactive- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
behavior
A term that identifies the control's functional behavior. One of
Preventive,Deteictive,Proactive- Parameters:
behavior- A term that identifies the control's functional behavior. One ofPreventive,Deteictive,Proactive- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
regionConfiguration
Sets the value of the RegionConfiguration property for this object.- Parameters:
regionConfiguration- The new value for the RegionConfiguration property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
regionConfiguration
default GetControlResponse.Builder regionConfiguration(Consumer<RegionConfiguration.Builder> regionConfiguration) Sets the value of the RegionConfiguration property for this object. This is a convenience method that creates an instance of theRegionConfiguration.Builderavoiding the need to create one manually viaRegionConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toregionConfiguration(RegionConfiguration).- Parameters:
regionConfiguration- a consumer that will call methods onRegionConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-