Interface GcpScopeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GcpScopeConfiguration.Builder,,GcpScopeConfiguration> SdkBuilder<GcpScopeConfiguration.Builder,,GcpScopeConfiguration> SdkPojo
- Enclosing class:
GcpScopeConfiguration
@Mutable
@NotThreadSafe
public static interface GcpScopeConfiguration.Builder
extends SdkPojo, CopyableBuilder<GcpScopeConfiguration.Builder,GcpScopeConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiondefault GcpScopeConfiguration.BuildercontainerImageScanning(Consumer<GcpCapabilityScope.Builder> containerImageScanning) The scope configuration for container image scanning.containerImageScanning(GcpCapabilityScope containerImageScanning) The scope configuration for container image scanning.default GcpScopeConfiguration.BuilderserverlessScanning(Consumer<GcpCapabilityScope.Builder> serverlessScanning) The scope configuration for serverless scanning.serverlessScanning(GcpCapabilityScope serverlessScanning) The scope configuration for serverless scanning.default GcpScopeConfiguration.BuildervmScanning(Consumer<GcpCapabilityScope.Builder> vmScanning) The scope configuration for VM scanning.vmScanning(GcpCapabilityScope vmScanning) The scope configuration for VM scanning.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
-
vmScanning
The scope configuration for VM scanning.
- Parameters:
vmScanning- The scope configuration for VM scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vmScanning
The scope configuration for VM scanning.
This is a convenience method that creates an instance of theGcpCapabilityScope.Builderavoiding the need to create one manually viaGcpCapabilityScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tovmScanning(GcpCapabilityScope).- Parameters:
vmScanning- a consumer that will call methods onGcpCapabilityScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
containerImageScanning
The scope configuration for container image scanning.
- Parameters:
containerImageScanning- The scope configuration for container image scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
containerImageScanning
default GcpScopeConfiguration.Builder containerImageScanning(Consumer<GcpCapabilityScope.Builder> containerImageScanning) The scope configuration for container image scanning.
This is a convenience method that creates an instance of theGcpCapabilityScope.Builderavoiding the need to create one manually viaGcpCapabilityScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocontainerImageScanning(GcpCapabilityScope).- Parameters:
containerImageScanning- a consumer that will call methods onGcpCapabilityScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serverlessScanning
The scope configuration for serverless scanning.
- Parameters:
serverlessScanning- The scope configuration for serverless scanning.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serverlessScanning
default GcpScopeConfiguration.Builder serverlessScanning(Consumer<GcpCapabilityScope.Builder> serverlessScanning) The scope configuration for serverless scanning.
This is a convenience method that creates an instance of theGcpCapabilityScope.Builderavoiding the need to create one manually viaGcpCapabilityScope.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toserverlessScanning(GcpCapabilityScope).- Parameters:
serverlessScanning- a consumer that will call methods onGcpCapabilityScope.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-