@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class UpdateArtifactRequest extends AmazonWebServiceRequest implements Serializable, Cloneable
NOOP
Constructor and Description |
---|
UpdateArtifactRequest() |
Modifier and Type | Method and Description |
---|---|
UpdateArtifactRequest |
addPropertiesEntry(String key,
String value)
Add a single Properties entry
|
UpdateArtifactRequest |
clearPropertiesEntries()
Removes all the entries added into Properties.
|
UpdateArtifactRequest |
clone()
Creates a shallow clone of this object for all fields except the handler context.
|
boolean |
equals(Object obj) |
String |
getArtifactArn()
The Amazon Resource Name (ARN) of the artifact to update.
|
String |
getArtifactName()
The new name for the artifact.
|
Map<String,String> |
getProperties()
The new list of properties.
|
List<String> |
getPropertiesToRemove()
A list of properties to remove.
|
int |
hashCode() |
void |
setArtifactArn(String artifactArn)
The Amazon Resource Name (ARN) of the artifact to update.
|
void |
setArtifactName(String artifactName)
The new name for the artifact.
|
void |
setProperties(Map<String,String> properties)
The new list of properties.
|
void |
setPropertiesToRemove(Collection<String> propertiesToRemove)
A list of properties to remove.
|
String |
toString()
Returns a string representation of this object.
|
UpdateArtifactRequest |
withArtifactArn(String artifactArn)
The Amazon Resource Name (ARN) of the artifact to update.
|
UpdateArtifactRequest |
withArtifactName(String artifactName)
The new name for the artifact.
|
UpdateArtifactRequest |
withProperties(Map<String,String> properties)
The new list of properties.
|
UpdateArtifactRequest |
withPropertiesToRemove(Collection<String> propertiesToRemove)
A list of properties to remove.
|
UpdateArtifactRequest |
withPropertiesToRemove(String... propertiesToRemove)
A list of properties to remove.
|
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 setArtifactArn(String artifactArn)
The Amazon Resource Name (ARN) of the artifact to update.
artifactArn
- The Amazon Resource Name (ARN) of the artifact to update.public String getArtifactArn()
The Amazon Resource Name (ARN) of the artifact to update.
public UpdateArtifactRequest withArtifactArn(String artifactArn)
The Amazon Resource Name (ARN) of the artifact to update.
artifactArn
- The Amazon Resource Name (ARN) of the artifact to update.public void setArtifactName(String artifactName)
The new name for the artifact.
artifactName
- The new name for the artifact.public String getArtifactName()
The new name for the artifact.
public UpdateArtifactRequest withArtifactName(String artifactName)
The new name for the artifact.
artifactName
- The new name for the artifact.public Map<String,String> getProperties()
The new list of properties. Overwrites the current property list.
public void setProperties(Map<String,String> properties)
The new list of properties. Overwrites the current property list.
properties
- The new list of properties. Overwrites the current property list.public UpdateArtifactRequest withProperties(Map<String,String> properties)
The new list of properties. Overwrites the current property list.
properties
- The new list of properties. Overwrites the current property list.public UpdateArtifactRequest addPropertiesEntry(String key, String value)
public UpdateArtifactRequest clearPropertiesEntries()
public List<String> getPropertiesToRemove()
A list of properties to remove.
public void setPropertiesToRemove(Collection<String> propertiesToRemove)
A list of properties to remove.
propertiesToRemove
- A list of properties to remove.public UpdateArtifactRequest withPropertiesToRemove(String... propertiesToRemove)
A list of properties to remove.
NOTE: This method appends the values to the existing list (if any). Use
setPropertiesToRemove(java.util.Collection)
or withPropertiesToRemove(java.util.Collection)
if
you want to override the existing values.
propertiesToRemove
- A list of properties to remove.public UpdateArtifactRequest withPropertiesToRemove(Collection<String> propertiesToRemove)
A list of properties to remove.
propertiesToRemove
- A list of properties to remove.public String toString()
toString
in class Object
Object.toString()
public UpdateArtifactRequest clone()
AmazonWebServiceRequest
clone
in class AmazonWebServiceRequest
Object.clone()