Class ProblemDetail
- java.lang.Object
-
- com.amazonaws.services.devicefarm.model.ProblemDetail
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class ProblemDetail extends Object implements Serializable, Cloneable
Information about a problem detail.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ProblemDetail()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ProblemDetail
clone()
boolean
equals(Object obj)
String
getArn()
The problem detail's ARN.String
getName()
The problem detail's name.int
hashCode()
void
setArn(String arn)
The problem detail's ARN.void
setName(String name)
The problem detail's name.String
toString()
Returns a string representation of this object; useful for testing and debugging.ProblemDetail
withArn(String arn)
The problem detail's ARN.ProblemDetail
withName(String name)
The problem detail's name.
-
-
-
Method Detail
-
setArn
public void setArn(String arn)
The problem detail's ARN.
- Parameters:
arn
- The problem detail's ARN.
-
getArn
public String getArn()
The problem detail's ARN.
- Returns:
- The problem detail's ARN.
-
withArn
public ProblemDetail withArn(String arn)
The problem detail's ARN.
- Parameters:
arn
- The problem detail's ARN.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setName
public void setName(String name)
The problem detail's name.
- Parameters:
name
- The problem detail's name.
-
getName
public String getName()
The problem detail's name.
- Returns:
- The problem detail's name.
-
withName
public ProblemDetail withName(String name)
The problem detail's name.
- Parameters:
name
- The problem detail's name.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
toString
public String toString()
Returns a string representation of this object; useful for testing and debugging.- Overrides:
toString
in classObject
- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
clone
public ProblemDetail clone()
-
-