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
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description GetControlResponse.Builderarn(String arn)The Amazon Resource Name (ARN) of the control.GetControlResponse.Builderbehavior(String behavior)A term that identifies the control's functional behavior.GetControlResponse.Builderbehavior(ControlBehavior behavior)A term that identifies the control's functional behavior.GetControlResponse.Builderdescription(String description)A description of what the control does.default GetControlResponse.Builderimplementation(Consumer<ImplementationDetails.Builder> implementation)Returns information about the control, as anImplementationDetailsobject that shows the underlying implementation type for a control.GetControlResponse.Builderimplementation(ImplementationDetails implementation)Returns information about the control, as anImplementationDetailsobject that shows the underlying implementation type for a control.GetControlResponse.Buildername(String name)The display name of the control.GetControlResponse.Builderparameters(Collection<ControlParameter> parameters)Returns an array ofControlParameterobjects that specify the parameters a control supports.GetControlResponse.Builderparameters(Consumer<ControlParameter.Builder>... parameters)Returns an array ofControlParameterobjects that specify the parameters a control supports.GetControlResponse.Builderparameters(ControlParameter... parameters)Returns an array ofControlParameterobjects that specify the parameters a control supports.default GetControlResponse.BuilderregionConfiguration(Consumer<RegionConfiguration.Builder> regionConfiguration)Sets the value of the RegionConfiguration property for this object.GetControlResponse.BuilderregionConfiguration(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, 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, sdkFieldNameToField, sdkFields
-
Methods inherited from interface software.amazon.awssdk.core.SdkResponse.Builder
sdkHttpResponse, sdkHttpResponse
-
-
-
-
Method Detail
-
arn
GetControlResponse.Builder arn(String 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
GetControlResponse.Builder name(String 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
GetControlResponse.Builder description(String 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
GetControlResponse.Builder behavior(String behavior)
A term that identifies the control's functional behavior. One of
Preventive,Detective,Proactive- Parameters:
behavior- A term that identifies the control's functional behavior. One ofPreventive,Detective,Proactive- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlBehavior,ControlBehavior
-
behavior
GetControlResponse.Builder behavior(ControlBehavior behavior)
A term that identifies the control's functional behavior. One of
Preventive,Detective,Proactive- Parameters:
behavior- A term that identifies the control's functional behavior. One ofPreventive,Detective,Proactive- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
ControlBehavior,ControlBehavior
-
regionConfiguration
GetControlResponse.Builder regionConfiguration(RegionConfiguration 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:
regionConfiguration(RegionConfiguration)
-
implementation
GetControlResponse.Builder implementation(ImplementationDetails implementation)
Returns information about the control, as an
ImplementationDetailsobject that shows the underlying implementation type for a control.- Parameters:
implementation- Returns information about the control, as anImplementationDetailsobject that shows the underlying implementation type for a control.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
implementation
default GetControlResponse.Builder implementation(Consumer<ImplementationDetails.Builder> implementation)
Returns information about the control, as an
This is a convenience method that creates an instance of theImplementationDetailsobject that shows the underlying implementation type for a control.ImplementationDetails.Builderavoiding the need to create one manually viaImplementationDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toimplementation(ImplementationDetails).- Parameters:
implementation- a consumer that will call methods onImplementationDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
implementation(ImplementationDetails)
-
parameters
GetControlResponse.Builder parameters(Collection<ControlParameter> parameters)
Returns an array of
ControlParameterobjects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.- Parameters:
parameters- Returns an array ofControlParameterobjects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
GetControlResponse.Builder parameters(ControlParameter... parameters)
Returns an array of
ControlParameterobjects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.- Parameters:
parameters- Returns an array ofControlParameterobjects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
parameters
GetControlResponse.Builder parameters(Consumer<ControlParameter.Builder>... parameters)
Returns an array of
This is a convenience method that creates an instance of theControlParameterobjects that specify the parameters a control supports. An empty list is returned for controls that don’t support parameters.ControlParameter.Builderavoiding the need to create one manually viaControlParameter.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed to#parameters(List.) - Parameters:
parameters- a consumer that will call methods onControlParameter.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
#parameters(java.util.Collection)
-
-