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 Artifactclone()booleanequals(Object obj)StringgetDescription()StringgetURL()inthashCode()voidsetDescription(String description)voidsetURL(String uRL)StringtoString()Returns a string representation of this object; useful for testing and debugging.ArtifactwithDescription(String description)ArtifactwithURL(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:
toStringin classObject- Returns:
- A string representation of this object.
- See Also:
Object.toString()
-
-