@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArtifactSource extends Object implements Serializable, Cloneable, StructuredPojo
A structure describing the source of an artifact.
| Constructor and Description |
|---|
ArtifactSource() |
| Modifier and Type | Method and Description |
|---|---|
ArtifactSource |
clone() |
boolean |
equals(Object obj) |
List<ArtifactSourceType> |
getSourceTypes()
A list of source types.
|
String |
getSourceUri()
The URI of the source.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setSourceTypes(Collection<ArtifactSourceType> sourceTypes)
A list of source types.
|
void |
setSourceUri(String sourceUri)
The URI of the source.
|
String |
toString()
Returns a string representation of this object.
|
ArtifactSource |
withSourceTypes(ArtifactSourceType... sourceTypes)
A list of source types.
|
ArtifactSource |
withSourceTypes(Collection<ArtifactSourceType> sourceTypes)
A list of source types.
|
ArtifactSource |
withSourceUri(String sourceUri)
The URI of the source.
|
public void setSourceUri(String sourceUri)
The URI of the source.
sourceUri - The URI of the source.public String getSourceUri()
The URI of the source.
public ArtifactSource withSourceUri(String sourceUri)
The URI of the source.
sourceUri - The URI of the source.public List<ArtifactSourceType> getSourceTypes()
A list of source types.
public void setSourceTypes(Collection<ArtifactSourceType> sourceTypes)
A list of source types.
sourceTypes - A list of source types.public ArtifactSource withSourceTypes(ArtifactSourceType... sourceTypes)
A list of source types.
NOTE: This method appends the values to the existing list (if any). Use
setSourceTypes(java.util.Collection) or withSourceTypes(java.util.Collection) if you want to
override the existing values.
sourceTypes - A list of source types.public ArtifactSource withSourceTypes(Collection<ArtifactSourceType> sourceTypes)
A list of source types.
sourceTypes - A list of source types.public String toString()
toString in class ObjectObject.toString()public ArtifactSource clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.