@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ArtifactSourceType extends Object implements Serializable, Cloneable, StructuredPojo
The ID and ID type of an artifact source.
Constructor and Description |
---|
ArtifactSourceType() |
Modifier and Type | Method and Description |
---|---|
ArtifactSourceType |
clone() |
boolean |
equals(Object obj) |
String |
getSourceIdType()
The type of ID.
|
String |
getValue()
The ID.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setSourceIdType(String sourceIdType)
The type of ID.
|
void |
setValue(String value)
The ID.
|
String |
toString()
Returns a string representation of this object.
|
ArtifactSourceType |
withSourceIdType(ArtifactSourceIdType sourceIdType)
The type of ID.
|
ArtifactSourceType |
withSourceIdType(String sourceIdType)
The type of ID.
|
ArtifactSourceType |
withValue(String value)
The ID.
|
public void setSourceIdType(String sourceIdType)
The type of ID.
sourceIdType
- The type of ID.ArtifactSourceIdType
public String getSourceIdType()
The type of ID.
ArtifactSourceIdType
public ArtifactSourceType withSourceIdType(String sourceIdType)
The type of ID.
sourceIdType
- The type of ID.ArtifactSourceIdType
public ArtifactSourceType withSourceIdType(ArtifactSourceIdType sourceIdType)
The type of ID.
sourceIdType
- The type of ID.ArtifactSourceIdType
public void setValue(String value)
The ID.
value
- The ID.public String getValue()
The ID.
public ArtifactSourceType withValue(String value)
The ID.
value
- The ID.public String toString()
toString
in class Object
Object.toString()
public ArtifactSourceType clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.