@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class CreateArtifactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
CreateArtifactRequest() |
Modifier and Type | Method and Description |
---|---|
CreateArtifactRequest |
addPropertiesEntry(String key,
String value)
Add a single Properties entry
|
CreateArtifactRequest |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
CreateArtifactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArtifactName()
The name of the artifact.
|
String |
getArtifactType()
The artifact type.
|
MetadataProperties |
getMetadataProperties() |
Map<String,String> |
getProperties()
A list of properties to add to the artifact.
|
ArtifactSource |
getSource()
The ID, ID type, and URI of the source.
|
List<Tag> |
getTags()
A list of tags to apply to the artifact.
|
int |
hashCode() |
void |
setArtifactName(String artifactName)
The name of the artifact.
|
void |
setArtifactType(String artifactType)
The artifact type.
|
void |
setMetadataProperties(MetadataProperties metadataProperties) |
void |
setProperties(Map<String,String> properties)
A list of properties to add to the artifact.
|
void |
setSource(ArtifactSource source)
The ID, ID type, and URI of the source.
|
void |
setTags(Collection<Tag> tags)
A list of tags to apply to the artifact.
|
String |
toString()
Returns a string representation of this object.
|
CreateArtifactRequest |
withArtifactName(String artifactName)
The name of the artifact.
|
CreateArtifactRequest |
withArtifactType(String artifactType)
The artifact type.
|
CreateArtifactRequest |
withMetadataProperties(MetadataProperties metadataProperties) |
CreateArtifactRequest |
withProperties(Map<String,String> properties)
A list of properties to add to the artifact.
|
CreateArtifactRequest |
withSource(ArtifactSource source)
The ID, ID type, and URI of the source.
|
CreateArtifactRequest |
withTags(Collection<Tag> tags)
A list of tags to apply to the artifact.
|
CreateArtifactRequest |
withTags(Tag... tags)
A list of tags to apply to the artifact.
|
addHandlerContext, getCloneRoot, getCloneSource, getCustomQueryParameters, getCustomRequestHeaders, getGeneralProgressListener, getHandlerContext, getReadLimit, getRequestClientOptions, getRequestCredentials, getRequestCredentialsProvider, getRequestMetricCollector, getSdkClientExecutionTimeout, getSdkRequestTimeout, putCustomQueryParameter, putCustomRequestHeader, setGeneralProgressListener, setRequestCredentials, setRequestCredentialsProvider, setRequestMetricCollector, setSdkClientExecutionTimeout, setSdkRequestTimeout, withGeneralProgressListener, withRequestCredentialsProvider, withRequestMetricCollector, withSdkClientExecutionTimeout, withSdkRequestTimeout
public void setArtifactName(String artifactName)
The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
artifactName
- The name of the artifact. Must be unique to your account in an Amazon Web Services Region.public String getArtifactName()
The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
public CreateArtifactRequest withArtifactName(String artifactName)
The name of the artifact. Must be unique to your account in an Amazon Web Services Region.
artifactName
- The name of the artifact. Must be unique to your account in an Amazon Web Services Region.public void setSource(ArtifactSource source)
The ID, ID type, and URI of the source.
source
- The ID, ID type, and URI of the source.public ArtifactSource getSource()
The ID, ID type, and URI of the source.
public CreateArtifactRequest withSource(ArtifactSource source)
The ID, ID type, and URI of the source.
source
- The ID, ID type, and URI of the source.public void setArtifactType(String artifactType)
The artifact type.
artifactType
- The artifact type.public String getArtifactType()
The artifact type.
public CreateArtifactRequest withArtifactType(String artifactType)
The artifact type.
artifactType
- The artifact type.public Map<String,String> getProperties()
A list of properties to add to the artifact.
public void setProperties(Map<String,String> properties)
A list of properties to add to the artifact.
properties
- A list of properties to add to the artifact.public CreateArtifactRequest withProperties(Map<String,String> properties)
A list of properties to add to the artifact.
properties
- A list of properties to add to the artifact.public CreateArtifactRequest addPropertiesEntry(String key, String value)
public CreateArtifactRequest clearPropertiesEntries()
public void setMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public MetadataProperties getMetadataProperties()
public CreateArtifactRequest withMetadataProperties(MetadataProperties metadataProperties)
metadataProperties
- public List<Tag> getTags()
A list of tags to apply to the artifact.
public void setTags(Collection<Tag> tags)
A list of tags to apply to the artifact.
tags
- A list of tags to apply to the artifact.public CreateArtifactRequest withTags(Tag... tags)
A list of tags to apply to the artifact.
NOTE: This method appends the values to the existing list (if any). Use
setTags(java.util.Collection)
or withTags(java.util.Collection)
if you want to override the
existing values.
tags
- A list of tags to apply to the artifact.public CreateArtifactRequest withTags(Collection<Tag> tags)
A list of tags to apply to the artifact.
tags
- A list of tags to apply to the artifact.public String toString()
toString
in class Object
Object.toString()
public CreateArtifactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()