Package com.pulumi.aws.codebuild.inputs
Class ProjectSecondaryArtifactArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.codebuild.inputs.ProjectSecondaryArtifactArgs.Builder
-
- Enclosing class:
- ProjectSecondaryArtifactArgs
public static final class ProjectSecondaryArtifactArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ProjectSecondaryArtifactArgs defaults)
-
Method Summary
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ProjectSecondaryArtifactArgs defaults)
-
-
Method Detail
-
artifactIdentifier
public ProjectSecondaryArtifactArgs.Builder artifactIdentifier(com.pulumi.core.Output<java.lang.String> artifactIdentifier)
- Parameters:
artifactIdentifier- Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.- Returns:
- builder
-
artifactIdentifier
public ProjectSecondaryArtifactArgs.Builder artifactIdentifier(java.lang.String artifactIdentifier)
- Parameters:
artifactIdentifier- Artifact identifier. Must be the same specified inside the AWS CodeBuild build specification.- Returns:
- builder
-
bucketOwnerAccess
public ProjectSecondaryArtifactArgs.Builder bucketOwnerAccess(@Nullable com.pulumi.core.Output<java.lang.String> bucketOwnerAccess)
- Parameters:
bucketOwnerAccess- Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. The CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.- Returns:
- builder
-
bucketOwnerAccess
public ProjectSecondaryArtifactArgs.Builder bucketOwnerAccess(java.lang.String bucketOwnerAccess)
- Parameters:
bucketOwnerAccess- Specifies the bucket owner's access for objects that another account uploads to their Amazon S3 bucket. By default, only the account that uploads the objects to the bucket has access to these objects. This property allows you to give the bucket owner access to these objects. Valid values are `NONE`, `READ_ONLY`, and `FULL`. The CodeBuild service role must have the `s3:PutBucketAcl` permission. This permission allows CodeBuild to modify the access control list for the bucket.- Returns:
- builder
-
encryptionDisabled
public ProjectSecondaryArtifactArgs.Builder encryptionDisabled(@Nullable com.pulumi.core.Output<java.lang.Boolean> encryptionDisabled)
- Parameters:
encryptionDisabled- Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.- Returns:
- builder
-
encryptionDisabled
public ProjectSecondaryArtifactArgs.Builder encryptionDisabled(java.lang.Boolean encryptionDisabled)
- Parameters:
encryptionDisabled- Whether to disable encrypting output artifacts. If `type` is set to `NO_ARTIFACTS`, this value is ignored. Defaults to `false`.- Returns:
- builder
-
location
public ProjectSecondaryArtifactArgs.Builder location(@Nullable com.pulumi.core.Output<java.lang.String> location)
- Parameters:
location- Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output bucket. If `path` is not specified, `location` can specify the path of the output artifact in the output bucket.- Returns:
- builder
-
location
public ProjectSecondaryArtifactArgs.Builder location(java.lang.String location)
- Parameters:
location- Information about the build output artifact location. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output bucket. If `path` is not specified, `location` can specify the path of the output artifact in the output bucket.- Returns:
- builder
-
name
public ProjectSecondaryArtifactArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the project. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output artifact object.- Returns:
- builder
-
name
public ProjectSecondaryArtifactArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the project. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the name of the output artifact object.- Returns:
- builder
-
namespaceType
public ProjectSecondaryArtifactArgs.Builder namespaceType(@Nullable com.pulumi.core.Output<java.lang.String> namespaceType)
- Parameters:
namespaceType- Namespace to use in storing build artifacts. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `BUILD_ID` or `NONE`.- Returns:
- builder
-
namespaceType
public ProjectSecondaryArtifactArgs.Builder namespaceType(java.lang.String namespaceType)
- Parameters:
namespaceType- Namespace to use in storing build artifacts. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `BUILD_ID` or `NONE`.- Returns:
- builder
-
overrideArtifactName
public ProjectSecondaryArtifactArgs.Builder overrideArtifactName(@Nullable com.pulumi.core.Output<java.lang.Boolean> overrideArtifactName)
- Parameters:
overrideArtifactName- Whether a name specified in the build specification overrides the artifact name.- Returns:
- builder
-
overrideArtifactName
public ProjectSecondaryArtifactArgs.Builder overrideArtifactName(java.lang.Boolean overrideArtifactName)
- Parameters:
overrideArtifactName- Whether a name specified in the build specification overrides the artifact name.- Returns:
- builder
-
packaging
public ProjectSecondaryArtifactArgs.Builder packaging(@Nullable com.pulumi.core.Output<java.lang.String> packaging)
- Parameters:
packaging- Type of build output artifact to create. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `NONE` or `ZIP`.- Returns:
- builder
-
packaging
public ProjectSecondaryArtifactArgs.Builder packaging(java.lang.String packaging)
- Parameters:
packaging- Type of build output artifact to create. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, valid values are `NONE` or `ZIP`.- Returns:
- builder
-
path
public ProjectSecondaryArtifactArgs.Builder path(@Nullable com.pulumi.core.Output<java.lang.String> path)
- Parameters:
path- Along with `namespaceType` and `name`, the pattern that AWS CodeBuild uses to name and store the output artifact. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the path to the output artifact.- Returns:
- builder
-
path
public ProjectSecondaryArtifactArgs.Builder path(java.lang.String path)
- Parameters:
path- Along with `namespaceType` and `name`, the pattern that AWS CodeBuild uses to name and store the output artifact. If `type` is set to `CODEPIPELINE` or `NO_ARTIFACTS`, this value is ignored if specified. If `type` is set to `S3`, this is the path to the output artifact.- Returns:
- builder
-
type
public ProjectSecondaryArtifactArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- Build output artifact's type. Valid values `CODEPIPELINE`, `NO_ARTIFACTS`, and `S3`.- Returns:
- builder
-
type
public ProjectSecondaryArtifactArgs.Builder type(java.lang.String type)
- Parameters:
type- Build output artifact's type. Valid values `CODEPIPELINE`, `NO_ARTIFACTS`, and `S3`.- Returns:
- builder
-
build
public ProjectSecondaryArtifactArgs build()
-
-