@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CodeArtifacts extends Object implements Serializable, Cloneable, StructuredPojo
Code artifacts are source code artifacts and build artifacts used in a repository analysis or a pull request review.
Source code artifacts are source code files in a Git repository that are compressed into a .zip file.
Build artifacts are .jar or .class files that are compressed in a .zip file.
Constructor and Description |
---|
CodeArtifacts() |
Modifier and Type | Method and Description |
---|---|
CodeArtifacts |
clone() |
boolean |
equals(Object obj) |
String |
getBuildArtifactsObjectKey()
The S3 object key for a build artifacts .zip file that contains .jar or .class files.
|
String |
getSourceCodeArtifactsObjectKey()
The S3 object key for a source code .zip file.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setBuildArtifactsObjectKey(String buildArtifactsObjectKey)
The S3 object key for a build artifacts .zip file that contains .jar or .class files.
|
void |
setSourceCodeArtifactsObjectKey(String sourceCodeArtifactsObjectKey)
The S3 object key for a source code .zip file.
|
String |
toString()
Returns a string representation of this object.
|
CodeArtifacts |
withBuildArtifactsObjectKey(String buildArtifactsObjectKey)
The S3 object key for a build artifacts .zip file that contains .jar or .class files.
|
CodeArtifacts |
withSourceCodeArtifactsObjectKey(String sourceCodeArtifactsObjectKey)
The S3 object key for a source code .zip file.
|
public void setSourceCodeArtifactsObjectKey(String sourceCodeArtifactsObjectKey)
The S3 object key for a source code .zip file. This is required for all code reviews.
sourceCodeArtifactsObjectKey
- The S3 object key for a source code .zip file. This is required for all code reviews.public String getSourceCodeArtifactsObjectKey()
The S3 object key for a source code .zip file. This is required for all code reviews.
public CodeArtifacts withSourceCodeArtifactsObjectKey(String sourceCodeArtifactsObjectKey)
The S3 object key for a source code .zip file. This is required for all code reviews.
sourceCodeArtifactsObjectKey
- The S3 object key for a source code .zip file. This is required for all code reviews.public void setBuildArtifactsObjectKey(String buildArtifactsObjectKey)
The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with security analysis in the Amazon CodeGuru Reviewer User Guide.
buildArtifactsObjectKey
- The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for
a code review with security analysis. For more information, see Create code
reviews with security analysis in the Amazon CodeGuru Reviewer User Guide.public String getBuildArtifactsObjectKey()
The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with security analysis in the Amazon CodeGuru Reviewer User Guide.
public CodeArtifacts withBuildArtifactsObjectKey(String buildArtifactsObjectKey)
The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for a code review with security analysis. For more information, see Create code reviews with security analysis in the Amazon CodeGuru Reviewer User Guide.
buildArtifactsObjectKey
- The S3 object key for a build artifacts .zip file that contains .jar or .class files. This is required for
a code review with security analysis. For more information, see Create code
reviews with security analysis in the Amazon CodeGuru Reviewer User Guide.public String toString()
toString
in class Object
Object.toString()
public CodeArtifacts clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.