@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class RepositoryScanningConfigurationFailure extends Object implements Serializable, Cloneable, StructuredPojo
The details about any failures associated with the scanning configuration of a repository.
Constructor and Description |
---|
RepositoryScanningConfigurationFailure() |
Modifier and Type | Method and Description |
---|---|
RepositoryScanningConfigurationFailure |
clone() |
boolean |
equals(Object obj) |
String |
getFailureCode()
The failure code.
|
String |
getFailureReason()
The reason for the failure.
|
String |
getRepositoryName()
The name of the repository.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setFailureCode(String failureCode)
The failure code.
|
void |
setFailureReason(String failureReason)
The reason for the failure.
|
void |
setRepositoryName(String repositoryName)
The name of the repository.
|
String |
toString()
Returns a string representation of this object.
|
RepositoryScanningConfigurationFailure |
withFailureCode(ScanningConfigurationFailureCode failureCode)
The failure code.
|
RepositoryScanningConfigurationFailure |
withFailureCode(String failureCode)
The failure code.
|
RepositoryScanningConfigurationFailure |
withFailureReason(String failureReason)
The reason for the failure.
|
RepositoryScanningConfigurationFailure |
withRepositoryName(String repositoryName)
The name of the repository.
|
public RepositoryScanningConfigurationFailure()
public void setRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public String getRepositoryName()
The name of the repository.
public RepositoryScanningConfigurationFailure withRepositoryName(String repositoryName)
The name of the repository.
repositoryName
- The name of the repository.public void setFailureCode(String failureCode)
The failure code.
failureCode
- The failure code.ScanningConfigurationFailureCode
public String getFailureCode()
The failure code.
ScanningConfigurationFailureCode
public RepositoryScanningConfigurationFailure withFailureCode(String failureCode)
The failure code.
failureCode
- The failure code.ScanningConfigurationFailureCode
public RepositoryScanningConfigurationFailure withFailureCode(ScanningConfigurationFailureCode failureCode)
The failure code.
failureCode
- The failure code.ScanningConfigurationFailureCode
public void setFailureReason(String failureReason)
The reason for the failure.
failureReason
- The reason for the failure.public String getFailureReason()
The reason for the failure.
public RepositoryScanningConfigurationFailure withFailureReason(String failureReason)
The reason for the failure.
failureReason
- The reason for the failure.public String toString()
toString
in class Object
Object.toString()
public RepositoryScanningConfigurationFailure clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.