Package com.pulumi.aws.codebuild.inputs
Class ProjectArtifactsArgs.Builder
- java.lang.Object
-
- com.pulumi.aws.codebuild.inputs.ProjectArtifactsArgs.Builder
-
- Enclosing class:
- ProjectArtifactsArgs
public static final class ProjectArtifactsArgs.Builder extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description Builder()Builder(ProjectArtifactsArgs defaults)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProjectArtifactsArgs.BuilderartifactIdentifier(com.pulumi.core.Output<java.lang.String> artifactIdentifier)ProjectArtifactsArgs.BuilderartifactIdentifier(java.lang.String artifactIdentifier)ProjectArtifactsArgs.BuilderbucketOwnerAccess(com.pulumi.core.Output<java.lang.String> bucketOwnerAccess)ProjectArtifactsArgs.BuilderbucketOwnerAccess(java.lang.String bucketOwnerAccess)ProjectArtifactsArgsbuild()ProjectArtifactsArgs.BuilderencryptionDisabled(com.pulumi.core.Output<java.lang.Boolean> encryptionDisabled)ProjectArtifactsArgs.BuilderencryptionDisabled(java.lang.Boolean encryptionDisabled)ProjectArtifactsArgs.Builderlocation(com.pulumi.core.Output<java.lang.String> location)ProjectArtifactsArgs.Builderlocation(java.lang.String location)ProjectArtifactsArgs.Buildername(com.pulumi.core.Output<java.lang.String> name)ProjectArtifactsArgs.Buildername(java.lang.String name)ProjectArtifactsArgs.BuildernamespaceType(com.pulumi.core.Output<java.lang.String> namespaceType)ProjectArtifactsArgs.BuildernamespaceType(java.lang.String namespaceType)ProjectArtifactsArgs.BuilderoverrideArtifactName(com.pulumi.core.Output<java.lang.Boolean> overrideArtifactName)ProjectArtifactsArgs.BuilderoverrideArtifactName(java.lang.Boolean overrideArtifactName)ProjectArtifactsArgs.Builderpackaging(com.pulumi.core.Output<java.lang.String> packaging)ProjectArtifactsArgs.Builderpackaging(java.lang.String packaging)ProjectArtifactsArgs.Builderpath(com.pulumi.core.Output<java.lang.String> path)ProjectArtifactsArgs.Builderpath(java.lang.String path)ProjectArtifactsArgs.Buildertype(com.pulumi.core.Output<java.lang.String> type)ProjectArtifactsArgs.Buildertype(java.lang.String type)
-
-
-
Constructor Detail
-
Builder
public Builder()
-
Builder
public Builder(ProjectArtifactsArgs defaults)
-
-
Method Detail
-
artifactIdentifier
public ProjectArtifactsArgs.Builder artifactIdentifier(@Nullable 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 ProjectArtifactsArgs.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 ProjectArtifactsArgs.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`. your 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 ProjectArtifactsArgs.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`. your 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 ProjectArtifactsArgs.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 ProjectArtifactsArgs.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 ProjectArtifactsArgs.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 `type` is set to `S3`, this is the name of the output bucket.- Returns:
- builder
-
location
public ProjectArtifactsArgs.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 `type` is set to `S3`, this is the name of the output bucket.- Returns:
- builder
-
name
public ProjectArtifactsArgs.Builder name(@Nullable com.pulumi.core.Output<java.lang.String> name)
- Parameters:
name- Name of the project. If `type` is set to `S3`, this is the name of the output artifact object- Returns:
- builder
-
name
public ProjectArtifactsArgs.Builder name(java.lang.String name)
- Parameters:
name- Name of the project. If `type` is set to `S3`, this is the name of the output artifact object- Returns:
- builder
-
namespaceType
public ProjectArtifactsArgs.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 `S3`, then valid values are `BUILD_ID`, `NONE`.- Returns:
- builder
-
namespaceType
public ProjectArtifactsArgs.Builder namespaceType(java.lang.String namespaceType)
- Parameters:
namespaceType- Namespace to use in storing build artifacts. If `type` is set to `S3`, then valid values are `BUILD_ID`, `NONE`.- Returns:
- builder
-
overrideArtifactName
public ProjectArtifactsArgs.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 ProjectArtifactsArgs.Builder overrideArtifactName(java.lang.Boolean overrideArtifactName)
- Parameters:
overrideArtifactName- Whether a name specified in the build specification overrides the artifact name.- Returns:
- builder
-
packaging
public ProjectArtifactsArgs.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 `S3`, valid values are `NONE`, `ZIP`- Returns:
- builder
-
packaging
public ProjectArtifactsArgs.Builder packaging(java.lang.String packaging)
- Parameters:
packaging- Type of build output artifact to create. If `type` is set to `S3`, valid values are `NONE`, `ZIP`- Returns:
- builder
-
path
public ProjectArtifactsArgs.Builder path(@Nullable com.pulumi.core.Output<java.lang.String> path)
- Parameters:
path- If `type` is set to `S3`, this is the path to the output artifact.- Returns:
- builder
-
path
public ProjectArtifactsArgs.Builder path(java.lang.String path)
- Parameters:
path- If `type` is set to `S3`, this is the path to the output artifact.- Returns:
- builder
-
type
public ProjectArtifactsArgs.Builder type(com.pulumi.core.Output<java.lang.String> type)
- Parameters:
type- Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.- Returns:
- builder
-
type
public ProjectArtifactsArgs.Builder type(java.lang.String type)
- Parameters:
type- Build output artifact's type. Valid values: `CODEPIPELINE`, `NO_ARTIFACTS`, `S3`.- Returns:
- builder
-
build
public ProjectArtifactsArgs build()
-
-