Interface DisassociateConfigurationRequest.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<DisassociateConfigurationRequest.Builder,,DisassociateConfigurationRequest> SdkBuilder<DisassociateConfigurationRequest.Builder,,DisassociateConfigurationRequest> SdkPojo
- Enclosing class:
DisassociateConfigurationRequest
@Mutable
@NotThreadSafe
public static interface DisassociateConfigurationRequest.Builder
extends SdkPojo, CopyableBuilder<DisassociateConfigurationRequest.Builder,DisassociateConfigurationRequest>
-
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 to disassociate from a code repository.Methods 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, sdkFields
-
Method Details
-
scanConfigurationArn
The Amazon Resource Name (ARN) of the scan configuration to disassociate from a code repository.
- Parameters:
scanConfigurationArn- The Amazon Resource Name (ARN) of the scan configuration to disassociate from a code repository.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
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 DisassociateConfigurationRequest.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.Builderavoiding the need to create one manually viaCodeSecurityResource.builder().When the
Consumercompletes,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:
-