Interface CodeSecurityScanConfigurationAssociationSummary.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<CodeSecurityScanConfigurationAssociationSummary.Builder,
,CodeSecurityScanConfigurationAssociationSummary> SdkBuilder<CodeSecurityScanConfigurationAssociationSummary.Builder,
,CodeSecurityScanConfigurationAssociationSummary> SdkPojo
- Enclosing class:
CodeSecurityScanConfigurationAssociationSummary
@Mutable
@NotThreadSafe
public static interface CodeSecurityScanConfigurationAssociationSummary.Builder
extends SdkPojo, CopyableBuilder<CodeSecurityScanConfigurationAssociationSummary.Builder,CodeSecurityScanConfigurationAssociationSummary>
-
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.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 CodeSecurityScanConfigurationAssociationSummary.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:
-