Interface GcpProviderConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GcpProviderConfiguration.Builder,,GcpProviderConfiguration> SdkBuilder<GcpProviderConfiguration.Builder,,GcpProviderConfiguration> SdkPojo
- Enclosing class:
GcpProviderConfiguration
@Mutable
@NotThreadSafe
public static interface GcpProviderConfiguration.Builder
extends SdkPojo, CopyableBuilder<GcpProviderConfiguration.Builder,GcpProviderConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionawsConfigConnectorArn(String awsConfigConnectorArn) The ARN of the multi-cloud configuration connector used to establish the connection to GCP.gcpRegions(String... gcpRegions) The list of GCP regions to monitor.gcpRegions(Collection<String> gcpRegions) The list of GCP regions to monitor.default GcpProviderConfiguration.BuilderscopeConfiguration(Consumer<GcpScopeConfiguration.Builder> scopeConfiguration) The scope configuration that defines which GCP resources are monitored.scopeConfiguration(GcpScopeConfiguration scopeConfiguration) The scope configuration that defines which GCP resources are monitored.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 multi-cloud configuration connector used to establish the connection to GCP.
- Parameters:
awsConfigConnectorArn- The ARN of the multi-cloud configuration connector used to establish the connection to GCP.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
The scope configuration that defines which GCP resources are monitored.
- Parameters:
scopeConfiguration- The scope configuration that defines which GCP resources are monitored.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
default GcpProviderConfiguration.Builder scopeConfiguration(Consumer<GcpScopeConfiguration.Builder> scopeConfiguration) The scope configuration that defines which GCP resources are monitored.
This is a convenience method that creates an instance of theGcpScopeConfiguration.Builderavoiding the need to create one manually viaGcpScopeConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toscopeConfiguration(GcpScopeConfiguration).- Parameters:
scopeConfiguration- a consumer that will call methods onGcpScopeConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
gcpRegions
The list of GCP regions to monitor.
- Parameters:
gcpRegions- The list of GCP regions to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gcpRegions
The list of GCP regions to monitor.
- Parameters:
gcpRegions- The list of GCP regions to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-