Interface AssociateConfigurationRequest.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AssociateConfigurationRequest.Builder,
,AssociateConfigurationRequest> SdkBuilder<AssociateConfigurationRequest.Builder,
,AssociateConfigurationRequest> SdkPojo
- Enclosing class:
AssociateConfigurationRequest
@Mutable
@NotThreadSafe
public static interface AssociateConfigurationRequest.Builder
extends SdkPojo, CopyableBuilder<AssociateConfigurationRequest.Builder,AssociateConfigurationRequest>
-
Method Summary
Modifier and TypeMethodDescriptionresource
(Consumer<CodeSecurityResource.Builder> resource) Sets the value of the Resource property for this object.resource
(CodeSecurityResource resource) Sets the value of the Resource property for this object.scanConfigurationArn
(String scanConfigurationArn) The Amazon Resource Name (ARN) of the scan configuration.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
-
Method Details
-
resource
Sets the value of the Resource property for this object.- Parameters:
resource
- The new value for the Resource property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
resource
default AssociateConfigurationRequest.Builder resource(Consumer<CodeSecurityResource.Builder> resource) Sets the value of the Resource property for this object. This is a convenience method that creates an instance of theCodeSecurityResource.Builder
avoiding the need to create one manually viaCodeSecurityResource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toresource(CodeSecurityResource)
.- Parameters:
resource
- a consumer that will call methods onCodeSecurityResource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
scanConfigurationArn
The Amazon Resource Name (ARN) of the scan configuration.
- Parameters:
scanConfigurationArn
- The Amazon Resource Name (ARN) of the scan configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-