Interface GcpConfigurationTargets.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<GcpConfigurationTargets.Builder,,GcpConfigurationTargets> SdkBuilder<GcpConfigurationTargets.Builder,,GcpConfigurationTargets> SdkPojo
- Enclosing class:
GcpConfigurationTargets
@Mutable
@NotThreadSafe
public static interface GcpConfigurationTargets.Builder
extends SdkPojo, CopyableBuilder<GcpConfigurationTargets.Builder,GcpConfigurationTargets>
-
Method Summary
Modifier and TypeMethodDescriptionprojects(Collection<GcpProject> projects) A list of GCP projects to target.projects(Consumer<GcpProject.Builder>... projects) A list of GCP projects to target.projects(GcpProject... projects) A list of GCP projects to target.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
-
projects
A list of GCP projects to target.
- Parameters:
projects- A list of GCP projects to target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projects
A list of GCP projects to target.
- Parameters:
projects- A list of GCP projects to target.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
projects
A list of GCP projects to target.
This is a convenience method that creates an instance of theGcpProject.Builderavoiding the need to create one manually viaGcpProject.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toprojects(List<GcpProject>).- Parameters:
projects- a consumer that will call methods onGcpProject.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-