Interface CodeConfigurationDetails.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<CodeConfigurationDetails.Builder,,CodeConfigurationDetails> SdkBuilder<CodeConfigurationDetails.Builder,,CodeConfigurationDetails> SdkPojo
- Enclosing class:
CodeConfigurationDetails
-
Method Summary
Modifier and TypeMethodDescriptiondefault CodeConfigurationDetails.BuildercollectorDetails(Consumer<CollectorDetails.Builder> collectorDetails) Collector data access configuration.collectorDetails(CollectorDetails collectorDetails) Collector data access configuration.default CodeConfigurationDetails.BuilderenvironmentConfiguration(Consumer<EnvironmentConfiguration.Builder> environmentConfiguration) Operating policy in the shape accepted by CreateEnvironment and UpdateEnvironment.environmentConfiguration(EnvironmentConfiguration environmentConfiguration) Operating policy in the shape accepted by CreateEnvironment and UpdateEnvironment.default CodeConfigurationDetails.BuilderlatestScan(Consumer<CodeScanSummary.Builder> latestScan) The newest scan requested for this environment, if one exists.latestScan(CodeScanSummary latestScan) The newest scan requested for this environment, if one exists.default CodeConfigurationDetails.BuildersourceConfiguration(Consumer<EnvironmentSourceConfiguration.Builder> sourceConfiguration) Sources in the shape accepted by CreateEnvironment and UpdateEnvironment.sourceConfiguration(EnvironmentSourceConfiguration sourceConfiguration) Sources in the shape accepted by CreateEnvironment and UpdateEnvironment.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
-
collectorDetails
Collector data access configuration. Omitted when no Collector data access role is configured.
- Parameters:
collectorDetails- Collector data access configuration. Omitted when no Collector data access role is configured.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
collectorDetails
default CodeConfigurationDetails.Builder collectorDetails(Consumer<CollectorDetails.Builder> collectorDetails) Collector data access configuration. Omitted when no Collector data access role is configured.
This is a convenience method that creates an instance of theCollectorDetails.Builderavoiding the need to create one manually viaCollectorDetails.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tocollectorDetails(CollectorDetails).- Parameters:
collectorDetails- a consumer that will call methods onCollectorDetails.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
sourceConfiguration
CodeConfigurationDetails.Builder sourceConfiguration(EnvironmentSourceConfiguration sourceConfiguration) Sources in the shape accepted by CreateEnvironment and UpdateEnvironment.
- Parameters:
sourceConfiguration- Sources in the shape accepted by CreateEnvironment and UpdateEnvironment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfiguration
default CodeConfigurationDetails.Builder sourceConfiguration(Consumer<EnvironmentSourceConfiguration.Builder> sourceConfiguration) Sources in the shape accepted by CreateEnvironment and UpdateEnvironment.
This is a convenience method that creates an instance of theEnvironmentSourceConfiguration.Builderavoiding the need to create one manually viaEnvironmentSourceConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tosourceConfiguration(EnvironmentSourceConfiguration).- Parameters:
sourceConfiguration- a consumer that will call methods onEnvironmentSourceConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environmentConfiguration
CodeConfigurationDetails.Builder environmentConfiguration(EnvironmentConfiguration environmentConfiguration) Operating policy in the shape accepted by CreateEnvironment and UpdateEnvironment.
- Parameters:
environmentConfiguration- Operating policy in the shape accepted by CreateEnvironment and UpdateEnvironment.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentConfiguration
default CodeConfigurationDetails.Builder environmentConfiguration(Consumer<EnvironmentConfiguration.Builder> environmentConfiguration) Operating policy in the shape accepted by CreateEnvironment and UpdateEnvironment.
This is a convenience method that creates an instance of theEnvironmentConfiguration.Builderavoiding the need to create one manually viaEnvironmentConfiguration.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed toenvironmentConfiguration(EnvironmentConfiguration).- Parameters:
environmentConfiguration- a consumer that will call methods onEnvironmentConfiguration.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
latestScan
The newest scan requested for this environment, if one exists.
- Parameters:
latestScan- The newest scan requested for this environment, if one exists.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
latestScan
The newest scan requested for this environment, if one exists.
This is a convenience method that creates an instance of theCodeScanSummary.Builderavoiding the need to create one manually viaCodeScanSummary.builder().When the
Consumercompletes,SdkBuilder.build()is called immediately and its result is passed tolatestScan(CodeScanSummary).- Parameters:
latestScan- a consumer that will call methods onCodeScanSummary.Builder- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-