@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetArtifactUrlResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Returns the result structure for the get artifact request.
Constructor and Description |
---|
GetArtifactUrlResult() |
Modifier and Type | Method and Description |
---|---|
GetArtifactUrlResult |
clone() |
boolean |
equals(Object obj) |
String |
getArtifactId()
The unique ID for an artifact.
|
String |
getArtifactUrl()
The presigned URL for the artifact.
|
int |
hashCode() |
void |
setArtifactId(String artifactId)
The unique ID for an artifact.
|
void |
setArtifactUrl(String artifactUrl)
The presigned URL for the artifact.
|
String |
toString()
Returns a string representation of this object.
|
GetArtifactUrlResult |
withArtifactId(String artifactId)
The unique ID for an artifact.
|
GetArtifactUrlResult |
withArtifactUrl(String artifactUrl)
The presigned URL for the artifact.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public void setArtifactId(String artifactId)
The unique ID for an artifact.
artifactId
- The unique ID for an artifact.public String getArtifactId()
The unique ID for an artifact.
public GetArtifactUrlResult withArtifactId(String artifactId)
The unique ID for an artifact.
artifactId
- The unique ID for an artifact.public void setArtifactUrl(String artifactUrl)
The presigned URL for the artifact.
artifactUrl
- The presigned URL for the artifact.public String getArtifactUrl()
The presigned URL for the artifact.
public GetArtifactUrlResult withArtifactUrl(String artifactUrl)
The presigned URL for the artifact.
artifactUrl
- The presigned URL for the artifact.public String toString()
toString
in class Object
Object.toString()
public GetArtifactUrlResult clone()