@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class AwsCodeBuildProjectArtifactsDetails extends Object implements Serializable, Cloneable, StructuredPojo
Information about the build artifacts for the CodeBuild project.
Constructor and Description |
---|
AwsCodeBuildProjectArtifactsDetails() |
Modifier and Type | Method and Description |
---|---|
AwsCodeBuildProjectArtifactsDetails |
clone() |
boolean |
equals(Object obj) |
String |
getArtifactIdentifier()
An identifier for the artifact definition.
|
Boolean |
getEncryptionDisabled()
Indicates whether to disable encryption on the artifact.
|
String |
getLocation()
Only used when
Type is S3 . |
String |
getName()
Only used when Type is S3.
|
String |
getNamespaceType()
Only used when
Type is S3 . |
Boolean |
getOverrideArtifactName()
Whether the name specified in the buildspec file overrides the artifact name.
|
String |
getPackaging()
Only used when
Type is S3 . |
String |
getPath()
Only used when
Type is S3 . |
String |
getType()
The type of build artifact.
|
int |
hashCode() |
Boolean |
isEncryptionDisabled()
Indicates whether to disable encryption on the artifact.
|
Boolean |
isOverrideArtifactName()
Whether the name specified in the buildspec file overrides the artifact name.
|
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setArtifactIdentifier(String artifactIdentifier)
An identifier for the artifact definition.
|
void |
setEncryptionDisabled(Boolean encryptionDisabled)
Indicates whether to disable encryption on the artifact.
|
void |
setLocation(String location)
Only used when
Type is S3 . |
void |
setName(String name)
Only used when Type is S3.
|
void |
setNamespaceType(String namespaceType)
Only used when
Type is S3 . |
void |
setOverrideArtifactName(Boolean overrideArtifactName)
Whether the name specified in the buildspec file overrides the artifact name.
|
void |
setPackaging(String packaging)
Only used when
Type is S3 . |
void |
setPath(String path)
Only used when
Type is S3 . |
void |
setType(String type)
The type of build artifact.
|
String |
toString()
Returns a string representation of this object.
|
AwsCodeBuildProjectArtifactsDetails |
withArtifactIdentifier(String artifactIdentifier)
An identifier for the artifact definition.
|
AwsCodeBuildProjectArtifactsDetails |
withEncryptionDisabled(Boolean encryptionDisabled)
Indicates whether to disable encryption on the artifact.
|
AwsCodeBuildProjectArtifactsDetails |
withLocation(String location)
Only used when
Type is S3 . |
AwsCodeBuildProjectArtifactsDetails |
withName(String name)
Only used when Type is S3.
|
AwsCodeBuildProjectArtifactsDetails |
withNamespaceType(String namespaceType)
Only used when
Type is S3 . |
AwsCodeBuildProjectArtifactsDetails |
withOverrideArtifactName(Boolean overrideArtifactName)
Whether the name specified in the buildspec file overrides the artifact name.
|
AwsCodeBuildProjectArtifactsDetails |
withPackaging(String packaging)
Only used when
Type is S3 . |
AwsCodeBuildProjectArtifactsDetails |
withPath(String path)
Only used when
Type is S3 . |
AwsCodeBuildProjectArtifactsDetails |
withType(String type)
The type of build artifact.
|
public void setArtifactIdentifier(String artifactIdentifier)
An identifier for the artifact definition.
artifactIdentifier
- An identifier for the artifact definition.public String getArtifactIdentifier()
An identifier for the artifact definition.
public AwsCodeBuildProjectArtifactsDetails withArtifactIdentifier(String artifactIdentifier)
An identifier for the artifact definition.
artifactIdentifier
- An identifier for the artifact definition.public void setEncryptionDisabled(Boolean encryptionDisabled)
Indicates whether to disable encryption on the artifact. Only valid when Type
is S3
.
encryptionDisabled
- Indicates whether to disable encryption on the artifact. Only valid when Type
is
S3
.public Boolean getEncryptionDisabled()
Indicates whether to disable encryption on the artifact. Only valid when Type
is S3
.
Type
is
S3
.public AwsCodeBuildProjectArtifactsDetails withEncryptionDisabled(Boolean encryptionDisabled)
Indicates whether to disable encryption on the artifact. Only valid when Type
is S3
.
encryptionDisabled
- Indicates whether to disable encryption on the artifact. Only valid when Type
is
S3
.public Boolean isEncryptionDisabled()
Indicates whether to disable encryption on the artifact. Only valid when Type
is S3
.
Type
is
S3
.public void setLocation(String location)
Only used when Type
is S3
. The name of the S3 bucket where the artifact is located.
location
- Only used when Type
is S3
. The name of the S3 bucket where the artifact is
located.public String getLocation()
Only used when Type
is S3
. The name of the S3 bucket where the artifact is located.
Type
is S3
. The name of the S3 bucket where the artifact is
located.public AwsCodeBuildProjectArtifactsDetails withLocation(String location)
Only used when Type
is S3
. The name of the S3 bucket where the artifact is located.
location
- Only used when Type
is S3
. The name of the S3 bucket where the artifact is
located.public void setName(String name)
Only used when Type is S3. The name of the artifact. Used with NamepaceType
and Path
to
determine the pattern for storing the artifact.
name
- Only used when Type is S3. The name of the artifact. Used with NamepaceType
and
Path
to determine the pattern for storing the artifact.public String getName()
Only used when Type is S3. The name of the artifact. Used with NamepaceType
and Path
to
determine the pattern for storing the artifact.
NamepaceType
and
Path
to determine the pattern for storing the artifact.public AwsCodeBuildProjectArtifactsDetails withName(String name)
Only used when Type is S3. The name of the artifact. Used with NamepaceType
and Path
to
determine the pattern for storing the artifact.
name
- Only used when Type is S3. The name of the artifact. Used with NamepaceType
and
Path
to determine the pattern for storing the artifact.public void setNamespaceType(String namespaceType)
Only used when Type
is S3
. The value to use for the namespace. Used with
Name
and Path
to determine the pattern for storing the artifact.
namespaceType
- Only used when Type
is S3
. The value to use for the namespace. Used with
Name
and Path
to determine the pattern for storing the artifact.public String getNamespaceType()
Only used when Type
is S3
. The value to use for the namespace. Used with
Name
and Path
to determine the pattern for storing the artifact.
Type
is S3
. The value to use for the namespace. Used with
Name
and Path
to determine the pattern for storing the artifact.public AwsCodeBuildProjectArtifactsDetails withNamespaceType(String namespaceType)
Only used when Type
is S3
. The value to use for the namespace. Used with
Name
and Path
to determine the pattern for storing the artifact.
namespaceType
- Only used when Type
is S3
. The value to use for the namespace. Used with
Name
and Path
to determine the pattern for storing the artifact.public void setOverrideArtifactName(Boolean overrideArtifactName)
Whether the name specified in the buildspec file overrides the artifact name.
overrideArtifactName
- Whether the name specified in the buildspec file overrides the artifact name.public Boolean getOverrideArtifactName()
Whether the name specified in the buildspec file overrides the artifact name.
public AwsCodeBuildProjectArtifactsDetails withOverrideArtifactName(Boolean overrideArtifactName)
Whether the name specified in the buildspec file overrides the artifact name.
overrideArtifactName
- Whether the name specified in the buildspec file overrides the artifact name.public Boolean isOverrideArtifactName()
Whether the name specified in the buildspec file overrides the artifact name.
public void setPackaging(String packaging)
Only used when Type
is S3
. The type of output artifact to create.
packaging
- Only used when Type
is S3
. The type of output artifact to create.public String getPackaging()
Only used when Type
is S3
. The type of output artifact to create.
Type
is S3
. The type of output artifact to create.public AwsCodeBuildProjectArtifactsDetails withPackaging(String packaging)
Only used when Type
is S3
. The type of output artifact to create.
packaging
- Only used when Type
is S3
. The type of output artifact to create.public void setPath(String path)
Only used when Type
is S3
. The path to the artifact. Used with Name
and
NamespaceType
to determine the pattern for storing the artifact.
path
- Only used when Type
is S3
. The path to the artifact. Used with Name
and NamespaceType
to determine the pattern for storing the artifact.public String getPath()
Only used when Type
is S3
. The path to the artifact. Used with Name
and
NamespaceType
to determine the pattern for storing the artifact.
Type
is S3
. The path to the artifact. Used with
Name
and NamespaceType
to determine the pattern for storing the artifact.public AwsCodeBuildProjectArtifactsDetails withPath(String path)
Only used when Type
is S3
. The path to the artifact. Used with Name
and
NamespaceType
to determine the pattern for storing the artifact.
path
- Only used when Type
is S3
. The path to the artifact. Used with Name
and NamespaceType
to determine the pattern for storing the artifact.public void setType(String type)
The type of build artifact.
type
- The type of build artifact.public String getType()
The type of build artifact.
public AwsCodeBuildProjectArtifactsDetails withType(String type)
The type of build artifact.
type
- The type of build artifact.public String toString()
toString
in class Object
Object.toString()
public AwsCodeBuildProjectArtifactsDetails clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.