Interface GcpUpdateConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GcpUpdateConfiguration.Builder,,GcpUpdateConfiguration> SdkBuilder<GcpUpdateConfiguration.Builder,,GcpUpdateConfiguration> SdkPojo
- Enclosing class:
GcpUpdateConfiguration
@Mutable
@NotThreadSafe
public static interface GcpUpdateConfiguration.Builder
extends SdkPojo, CopyableBuilder<GcpUpdateConfiguration.Builder,GcpUpdateConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptiongcpRegions(String... gcpRegions) The updated list of GCP regions to monitor.gcpRegions(Collection<String> gcpRegions) The updated list of GCP regions to monitor.default GcpUpdateConfiguration.BuilderscopeConfiguration(Consumer<GcpScopeConfiguration.Builder> scopeConfiguration) The updated scope configuration.scopeConfiguration(GcpScopeConfiguration scopeConfiguration) The updated scope configuration.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
-
scopeConfiguration
The updated scope configuration.
- Parameters:
scopeConfiguration- The updated scope configuration.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
scopeConfiguration
default GcpUpdateConfiguration.Builder scopeConfiguration(Consumer<GcpScopeConfiguration.Builder> scopeConfiguration) The updated scope configuration.
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 updated list of GCP regions to monitor.
- Parameters:
gcpRegions- The updated list of GCP regions to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
gcpRegions
The updated list of GCP regions to monitor.
- Parameters:
gcpRegions- The updated list of GCP regions to monitor.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-