Interface UpdateCodeConfiguration.Builder
- All Superinterfaces:
Buildable,CopyableBuilder<UpdateCodeConfiguration.Builder,,UpdateCodeConfiguration> SdkBuilder<UpdateCodeConfiguration.Builder,,UpdateCodeConfiguration> SdkPojo
- Enclosing class:
UpdateCodeConfiguration
-
Method Summary
Modifier and TypeMethodDescriptiondefault UpdateCodeConfiguration.BuilderenvironmentConfiguration(Consumer<EnvironmentConfiguration.Builder> environmentConfiguration) Operating-policy changes.environmentConfiguration(EnvironmentConfiguration environmentConfiguration) Operating-policy changes.default UpdateCodeConfiguration.BuildersourceConfiguration(Consumer<EnvironmentSourceConfiguration.Builder> sourceConfiguration) Source changes.sourceConfiguration(EnvironmentSourceConfiguration sourceConfiguration) Source changes.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
-
sourceConfiguration
UpdateCodeConfiguration.Builder sourceConfiguration(EnvironmentSourceConfiguration sourceConfiguration) Source changes. s3Sources replaces the environment's S3 source, and repositorySources replaces its repository selections.
- Parameters:
sourceConfiguration- Source changes. s3Sources replaces the environment's S3 source, and repositorySources replaces its repository selections.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
sourceConfiguration
default UpdateCodeConfiguration.Builder sourceConfiguration(Consumer<EnvironmentSourceConfiguration.Builder> sourceConfiguration) Source changes. s3Sources replaces the environment's S3 source, and repositorySources replaces its repository selections.
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
UpdateCodeConfiguration.Builder environmentConfiguration(EnvironmentConfiguration environmentConfiguration) Operating-policy changes. network replaces the environment's network policy; a network without allowedDomains allows no domains. Builds accepted before the change keep the domains they were accepted with. patchCreationPolicy replaces the patch creation policy. scanFrequency updates scan cadence. Omitted members preserve their stored values.
- Parameters:
environmentConfiguration- Operating-policy changes. network replaces the environment's network policy; a network without allowedDomains allows no domains. Builds accepted before the change keep the domains they were accepted with. patchCreationPolicy replaces the patch creation policy. scanFrequency updates scan cadence. Omitted members preserve their stored values.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environmentConfiguration
default UpdateCodeConfiguration.Builder environmentConfiguration(Consumer<EnvironmentConfiguration.Builder> environmentConfiguration) Operating-policy changes. network replaces the environment's network policy; a network without allowedDomains allows no domains. Builds accepted before the change keep the domains they were accepted with. patchCreationPolicy replaces the patch creation policy. scanFrequency updates scan cadence. Omitted members preserve their stored values.
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:
-