Interface GcpProviderDetailCreate.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GcpProviderDetailCreate.Builder,,GcpProviderDetailCreate> SdkBuilder<GcpProviderDetailCreate.Builder,,GcpProviderDetailCreate> SdkPojo
- Enclosing class:
GcpProviderDetailCreate
@Mutable
@NotThreadSafe
public static interface GcpProviderDetailCreate.Builder
extends SdkPojo, CopyableBuilder<GcpProviderDetailCreate.Builder,GcpProviderDetailCreate>
-
Method Summary
Modifier and TypeMethodDescriptionautoInstallVMScanner(Boolean autoInstallVMScanner) Specifies whether to automatically install the VM scanner on connected GCP resources.awsConfigConnectorArn(String awsConfigConnectorArn) The ARN of the Amazon Web Services Config connector to associate with this connector.gcpRegions(String... gcpRegions) The GCP locations to scan, such as regions, zones, multi-regions, or dual-regions.gcpRegions(Collection<String> gcpRegions) The GCP locations to scan, such as regions, zones, multi-regions, or dual-regions.default GcpProviderDetailCreate.BuilderscopeConfiguration(Consumer<GcpScopeConfigurationInput.Builder> scopeConfiguration) The scope configuration that defines which GCP resources to scan.scopeConfiguration(GcpScopeConfigurationInput scopeConfiguration) The scope configuration that defines which GCP resources to scan.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
-
awsConfigConnectorArn
The ARN of the Amazon Web Services Config connector to associate with this connector.
- Parameters:
awsConfigConnectorArn- The ARN of the Amazon Web Services Config connector to associate with this connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
The scope configuration that defines which GCP resources to scan.
- Parameters:
scopeConfiguration- The scope configuration that defines which GCP resources to scan.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
default GcpProviderDetailCreate.Builder scopeConfiguration(Consumer<GcpScopeConfigurationInput.Builder> scopeConfiguration) The scope configuration that defines which GCP resources to scan.
This is a convenience method that creates an instance of theGcpScopeConfigurationInput.Builderavoiding the need to create one manually viaGcpScopeConfigurationInput.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopeConfiguration(GcpScopeConfigurationInput).- Parameters:
scopeConfiguration- a consumer that will call methods onGcpScopeConfigurationInput.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gcpRegions
The GCP locations to scan, such as regions, zones, multi-regions, or dual-regions. Specify
ALLto scan all locations.- Parameters:
gcpRegions- The GCP locations to scan, such as regions, zones, multi-regions, or dual-regions. SpecifyALLto scan all locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gcpRegions
The GCP locations to scan, such as regions, zones, multi-regions, or dual-regions. Specify
ALLto scan all locations.- Parameters:
gcpRegions- The GCP locations to scan, such as regions, zones, multi-regions, or dual-regions. SpecifyALLto scan all locations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
autoInstallVMScanner
Specifies whether to automatically install the VM scanner on connected GCP resources. Defaults to
true.- Parameters:
autoInstallVMScanner- Specifies whether to automatically install the VM scanner on connected GCP resources. Defaults totrue.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-