Class Artifact
- java.lang.Object
-
- com.amazonaws.services.importexport.model.Artifact
-
- All Implemented Interfaces:
Serializable
,Cloneable
public class Artifact extends Object implements Serializable, Cloneable
A discrete item that contains the description and URL of an artifact (such as a PDF).- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Artifact()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Artifact
clone()
boolean
equals(Object obj)
String
getDescription()
String
getURL()
int
hashCode()
void
setDescription(String description)
void
setURL(String uRL)
String
toString()
Returns a string representation of this object; useful for testing and debugging.Artifact
withDescription(String description)
Artifact
withURL(String uRL)
-
-
-
Method Detail
-
setDescription
public void setDescription(String description)
- Parameters:
description
-
-
getDescription
public String getDescription()
- Returns:
-
withDescription
public Artifact withDescription(String description)
- Parameters:
description
-- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
setURL
public void setURL(String uRL)
- Parameters:
uRL
-
-
getURL
public String getURL()
- Returns:
-
withURL
public Artifact withURL(String uRL)
- Parameters:
uRL
-- 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()
-
-