@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetViolationDetailsResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetViolationDetailsResult() |
Modifier and Type | Method and Description |
---|---|
GetViolationDetailsResult |
clone() |
boolean |
equals(Object obj) |
ViolationDetail |
getViolationDetail()
Violation detail for a resource.
|
int |
hashCode() |
void |
setViolationDetail(ViolationDetail violationDetail)
Violation detail for a resource.
|
String |
toString()
Returns a string representation of this object.
|
GetViolationDetailsResult |
withViolationDetail(ViolationDetail violationDetail)
Violation detail for a resource.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setViolationDetail(ViolationDetail violationDetail)
Violation detail for a resource.
violationDetail
- Violation detail for a resource.public ViolationDetail getViolationDetail()
Violation detail for a resource.
public GetViolationDetailsResult withViolationDetail(ViolationDetail violationDetail)
Violation detail for a resource.
violationDetail
- Violation detail for a resource.public String toString()
toString
in class Object
Object.toString()
public GetViolationDetailsResult clone()