Interface AwsCodeBuildProjectArtifactsDetails.Builder
-
- All Superinterfaces:
Buildable,CopyableBuilder<AwsCodeBuildProjectArtifactsDetails.Builder,AwsCodeBuildProjectArtifactsDetails>,SdkBuilder<AwsCodeBuildProjectArtifactsDetails.Builder,AwsCodeBuildProjectArtifactsDetails>,SdkPojo
- Enclosing class:
- AwsCodeBuildProjectArtifactsDetails
public static interface AwsCodeBuildProjectArtifactsDetails.Builder extends SdkPojo, CopyableBuilder<AwsCodeBuildProjectArtifactsDetails.Builder,AwsCodeBuildProjectArtifactsDetails>
-
-
Method Summary
-
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 Detail
-
artifactIdentifier
AwsCodeBuildProjectArtifactsDetails.Builder artifactIdentifier(String artifactIdentifier)
An identifier for the artifact definition.
- Parameters:
artifactIdentifier- An identifier for the artifact definition.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
encryptionDisabled
AwsCodeBuildProjectArtifactsDetails.Builder encryptionDisabled(Boolean encryptionDisabled)
Indicates whether to disable encryption on the artifact. Only valid when
TypeisS3.- Parameters:
encryptionDisabled- Indicates whether to disable encryption on the artifact. Only valid whenTypeisS3.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
location
AwsCodeBuildProjectArtifactsDetails.Builder location(String location)
Only used when
TypeisS3. The name of the S3 bucket where the artifact is located.- Parameters:
location- Only used whenTypeisS3. The name of the S3 bucket where the artifact is located.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
name
AwsCodeBuildProjectArtifactsDetails.Builder name(String name)
Only used when Type is S3. The name of the artifact. Used with
NamepaceTypeandPathto determine the pattern for storing the artifact.- Parameters:
name- Only used when Type is S3. The name of the artifact. Used withNamepaceTypeandPathto determine the pattern for storing the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
namespaceType
AwsCodeBuildProjectArtifactsDetails.Builder namespaceType(String namespaceType)
Only used when
TypeisS3. The value to use for the namespace. Used withNameandPathto determine the pattern for storing the artifact.- Parameters:
namespaceType- Only used whenTypeisS3. The value to use for the namespace. Used withNameandPathto determine the pattern for storing the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideArtifactName
AwsCodeBuildProjectArtifactsDetails.Builder overrideArtifactName(Boolean overrideArtifactName)
Whether the name specified in the buildspec file overrides the artifact name.
- Parameters:
overrideArtifactName- Whether the name specified in the buildspec file overrides the artifact name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
packaging
AwsCodeBuildProjectArtifactsDetails.Builder packaging(String packaging)
Only used when
TypeisS3. The type of output artifact to create.- Parameters:
packaging- Only used whenTypeisS3. The type of output artifact to create.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
path
AwsCodeBuildProjectArtifactsDetails.Builder path(String path)
Only used when
TypeisS3. The path to the artifact. Used withNameandNamespaceTypeto determine the pattern for storing the artifact.- Parameters:
path- Only used whenTypeisS3. The path to the artifact. Used withNameandNamespaceTypeto determine the pattern for storing the artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
type
AwsCodeBuildProjectArtifactsDetails.Builder type(String type)
The type of build artifact.
- Parameters:
type- The type of build artifact.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
-