Interface EnvironmentSourceConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<EnvironmentSourceConfiguration.Builder,,EnvironmentSourceConfiguration> SdkBuilder<EnvironmentSourceConfiguration.Builder,,EnvironmentSourceConfiguration> SdkPojo
- Enclosing class:
EnvironmentSourceConfiguration
@Mutable
@NotThreadSafe
public static interface EnvironmentSourceConfiguration.Builder
extends SdkPojo, CopyableBuilder<EnvironmentSourceConfiguration.Builder,EnvironmentSourceConfiguration>
-
Method Summary
Modifier and TypeMethodDescriptionrepositorySources(Collection<EnvironmentRepositorySource> repositorySources) Explicit repository selections from previously-created integrations.repositorySources(Consumer<EnvironmentRepositorySource.Builder>... repositorySources) Explicit repository selections from previously-created integrations.repositorySources(EnvironmentRepositorySource... repositorySources) Explicit repository selections from previously-created integrations.s3Sources(Collection<EnvironmentS3IntegrationSource> s3Sources) S3 sources backed by previously-created S3 integrations.s3Sources(Consumer<EnvironmentS3IntegrationSource.Builder>... s3Sources) S3 sources backed by previously-created S3 integrations.s3Sources(EnvironmentS3IntegrationSource... s3Sources) S3 sources backed by previously-created S3 integrations.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
-
s3Sources
EnvironmentSourceConfiguration.Builder s3Sources(Collection<EnvironmentS3IntegrationSource> s3Sources) S3 sources backed by previously-created S3 integrations.
- Parameters:
s3Sources- S3 sources backed by previously-created S3 integrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Sources
S3 sources backed by previously-created S3 integrations.
- Parameters:
s3Sources- S3 sources backed by previously-created S3 integrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
s3Sources
EnvironmentSourceConfiguration.Builder s3Sources(Consumer<EnvironmentS3IntegrationSource.Builder>... s3Sources) S3 sources backed by previously-created S3 integrations.
This is a convenience method that creates an instance of theEnvironmentS3IntegrationSource.Builderavoiding the need to create one manually viaEnvironmentS3IntegrationSource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tos3Sources(List<EnvironmentS3IntegrationSource>).- Parameters:
s3Sources- a consumer that will call methods onEnvironmentS3IntegrationSource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
repositorySources
EnvironmentSourceConfiguration.Builder repositorySources(Collection<EnvironmentRepositorySource> repositorySources) Explicit repository selections from previously-created integrations.
- Parameters:
repositorySources- Explicit repository selections from previously-created integrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositorySources
EnvironmentSourceConfiguration.Builder repositorySources(EnvironmentRepositorySource... repositorySources) Explicit repository selections from previously-created integrations.
- Parameters:
repositorySources- Explicit repository selections from previously-created integrations.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
repositorySources
EnvironmentSourceConfiguration.Builder repositorySources(Consumer<EnvironmentRepositorySource.Builder>... repositorySources) Explicit repository selections from previously-created integrations.
This is a convenience method that creates an instance of theEnvironmentRepositorySource.Builderavoiding the need to create one manually viaEnvironmentRepositorySource.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed torepositorySources(List<EnvironmentRepositorySource>).- Parameters:
repositorySources- a consumer that will call methods onEnvironmentRepositorySource.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-