Interface GcpConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GcpConfiguration.Builder,,GcpConfiguration> SdkBuilder<GcpConfiguration.Builder,,GcpConfiguration> SdkPojo
- Enclosing class:
GcpConfiguration
@Mutable
@NotThreadSafe
public static interface GcpConfiguration.Builder
extends SdkPojo, CopyableBuilder<GcpConfiguration.Builder,GcpConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionorganizationId(String organizationId) The ID of the GCP organization.serviceAccountEmail(String serviceAccountEmail) The email address of the GCP service account used for authentication.default GcpConfiguration.Buildertargets(Consumer<GcpConfigurationTargets.Builder> targets) The target GCP projects for the cloud connector.targets(GcpConfigurationTargets targets) The target GCP projects for the cloud connector.workloadIdentityPoolProvider(String workloadIdentityPoolProvider) The full resource name of the GCP workload identity pool provider used for authentication.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
-
organizationId
The ID of the GCP organization.
- Parameters:
organizationId- The ID of the GCP organization.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
workloadIdentityPoolProvider
The full resource name of the GCP workload identity pool provider used for authentication.
- Parameters:
workloadIdentityPoolProvider- The full resource name of the GCP workload identity pool provider used for authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
serviceAccountEmail
The email address of the GCP service account used for authentication.
- Parameters:
serviceAccountEmail- The email address of the GCP service account used for authentication.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The target GCP projects for the cloud connector.
- Parameters:
targets- The target GCP projects for the cloud connector.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
targets
The target GCP projects for the cloud connector.
This is a convenience method that creates an instance of theGcpConfigurationTargets.Builderavoiding the need to create one manually viaGcpConfigurationTargets.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed totargets(GcpConfigurationTargets).- Parameters:
targets- a consumer that will call methods onGcpConfigurationTargets.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-