Interface AwsCodeBuildProjectDetails.Builder
- All Superinterfaces:
Buildable
,CopyableBuilder<AwsCodeBuildProjectDetails.Builder,
,AwsCodeBuildProjectDetails> SdkBuilder<AwsCodeBuildProjectDetails.Builder,
,AwsCodeBuildProjectDetails> SdkPojo
- Enclosing class:
AwsCodeBuildProjectDetails
-
Method Summary
Modifier and TypeMethodDescriptionartifacts
(Collection<AwsCodeBuildProjectArtifactsDetails> artifacts) Information about the build artifacts for the CodeBuild project.artifacts
(Consumer<AwsCodeBuildProjectArtifactsDetails.Builder>... artifacts) Information about the build artifacts for the CodeBuild project.artifacts
(AwsCodeBuildProjectArtifactsDetails... artifacts) Information about the build artifacts for the CodeBuild project.encryptionKey
(String encryptionKey) The KMS key used to encrypt the build output artifacts.environment
(Consumer<AwsCodeBuildProjectEnvironment.Builder> environment) Information about the build environment for this build project.environment
(AwsCodeBuildProjectEnvironment environment) Information about the build environment for this build project.Information about logs for the build project.logsConfig
(AwsCodeBuildProjectLogsConfigDetails logsConfig) Information about logs for the build project.The name of the build project.secondaryArtifacts
(Collection<AwsCodeBuildProjectArtifactsDetails> secondaryArtifacts) Information about the secondary artifacts for the CodeBuild project.secondaryArtifacts
(Consumer<AwsCodeBuildProjectArtifactsDetails.Builder>... secondaryArtifacts) Information about the secondary artifacts for the CodeBuild project.secondaryArtifacts
(AwsCodeBuildProjectArtifactsDetails... secondaryArtifacts) Information about the secondary artifacts for the CodeBuild project.serviceRole
(String serviceRole) The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.Information about the build input source code for this build project.source
(AwsCodeBuildProjectSource source) Information about the build input source code for this build project.vpcConfig
(Consumer<AwsCodeBuildProjectVpcConfig.Builder> vpcConfig) Information about the VPC configuration that CodeBuild accesses.vpcConfig
(AwsCodeBuildProjectVpcConfig vpcConfig) Information about the VPC configuration that CodeBuild accesses.Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFields
-
Method Details
-
encryptionKey
The KMS key used to encrypt the build output artifacts.
You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
- Parameters:
encryptionKey
- The KMS key used to encrypt the build output artifacts.You can specify either the ARN of the KMS key or, if available, the KMS key alias (using the format alias/alias-name).
- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
AwsCodeBuildProjectDetails.Builder artifacts(Collection<AwsCodeBuildProjectArtifactsDetails> artifacts) Information about the build artifacts for the CodeBuild project.
- Parameters:
artifacts
- Information about the build artifacts for the CodeBuild project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
Information about the build artifacts for the CodeBuild project.
- Parameters:
artifacts
- Information about the build artifacts for the CodeBuild project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
artifacts
AwsCodeBuildProjectDetails.Builder artifacts(Consumer<AwsCodeBuildProjectArtifactsDetails.Builder>... artifacts) Information about the build artifacts for the CodeBuild project.
This is a convenience method that creates an instance of theAwsCodeBuildProjectArtifactsDetails.Builder
avoiding the need to create one manually viaAwsCodeBuildProjectArtifactsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toartifacts(List<AwsCodeBuildProjectArtifactsDetails>)
.- Parameters:
artifacts
- a consumer that will call methods onAwsCodeBuildProjectArtifactsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
environment
Information about the build environment for this build project.
- Parameters:
environment
- Information about the build environment for this build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
environment
default AwsCodeBuildProjectDetails.Builder environment(Consumer<AwsCodeBuildProjectEnvironment.Builder> environment) Information about the build environment for this build project.
This is a convenience method that creates an instance of theAwsCodeBuildProjectEnvironment.Builder
avoiding the need to create one manually viaAwsCodeBuildProjectEnvironment.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed toenvironment(AwsCodeBuildProjectEnvironment)
.- Parameters:
environment
- a consumer that will call methods onAwsCodeBuildProjectEnvironment.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
name
The name of the build project.
- Parameters:
name
- The name of the build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
Information about the build input source code for this build project.
- Parameters:
source
- Information about the build input source code for this build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
source
default AwsCodeBuildProjectDetails.Builder source(Consumer<AwsCodeBuildProjectSource.Builder> source) Information about the build input source code for this build project.
This is a convenience method that creates an instance of theAwsCodeBuildProjectSource.Builder
avoiding the need to create one manually viaAwsCodeBuildProjectSource.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosource(AwsCodeBuildProjectSource)
.- Parameters:
source
- a consumer that will call methods onAwsCodeBuildProjectSource.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
serviceRole
The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.
- Parameters:
serviceRole
- The ARN of the IAM role that enables CodeBuild to interact with dependent Amazon Web Services services on behalf of the Amazon Web Services account.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logsConfig
Information about logs for the build project.
- Parameters:
logsConfig
- Information about logs for the build project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
logsConfig
default AwsCodeBuildProjectDetails.Builder logsConfig(Consumer<AwsCodeBuildProjectLogsConfigDetails.Builder> logsConfig) Information about logs for the build project.
This is a convenience method that creates an instance of theAwsCodeBuildProjectLogsConfigDetails.Builder
avoiding the need to create one manually viaAwsCodeBuildProjectLogsConfigDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tologsConfig(AwsCodeBuildProjectLogsConfigDetails)
.- Parameters:
logsConfig
- a consumer that will call methods onAwsCodeBuildProjectLogsConfigDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
vpcConfig
Information about the VPC configuration that CodeBuild accesses.
- Parameters:
vpcConfig
- Information about the VPC configuration that CodeBuild accesses.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
vpcConfig
default AwsCodeBuildProjectDetails.Builder vpcConfig(Consumer<AwsCodeBuildProjectVpcConfig.Builder> vpcConfig) Information about the VPC configuration that CodeBuild accesses.
This is a convenience method that creates an instance of theAwsCodeBuildProjectVpcConfig.Builder
avoiding the need to create one manually viaAwsCodeBuildProjectVpcConfig.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tovpcConfig(AwsCodeBuildProjectVpcConfig)
.- Parameters:
vpcConfig
- a consumer that will call methods onAwsCodeBuildProjectVpcConfig.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-
secondaryArtifacts
AwsCodeBuildProjectDetails.Builder secondaryArtifacts(Collection<AwsCodeBuildProjectArtifactsDetails> secondaryArtifacts) Information about the secondary artifacts for the CodeBuild project.
- Parameters:
secondaryArtifacts
- Information about the secondary artifacts for the CodeBuild project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryArtifacts
AwsCodeBuildProjectDetails.Builder secondaryArtifacts(AwsCodeBuildProjectArtifactsDetails... secondaryArtifacts) Information about the secondary artifacts for the CodeBuild project.
- Parameters:
secondaryArtifacts
- Information about the secondary artifacts for the CodeBuild project.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
secondaryArtifacts
AwsCodeBuildProjectDetails.Builder secondaryArtifacts(Consumer<AwsCodeBuildProjectArtifactsDetails.Builder>... secondaryArtifacts) Information about the secondary artifacts for the CodeBuild project.
This is a convenience method that creates an instance of theAwsCodeBuildProjectArtifactsDetails.Builder
avoiding the need to create one manually viaAwsCodeBuildProjectArtifactsDetails.builder()
.When the
Consumer
completes,SdkBuilder.build()
is called immediately and its result is passed tosecondaryArtifacts(List<AwsCodeBuildProjectArtifactsDetails>)
.- Parameters:
secondaryArtifacts
- a consumer that will call methods onAwsCodeBuildProjectArtifactsDetails.Builder
- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
-