@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class TagResourcesResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
TagResourcesResult() |
Modifier and Type | Method and Description |
---|---|
TagResourcesResult |
addFailedResourcesMapEntry(String key,
FailureInfo value)
Add a single FailedResourcesMap entry
|
TagResourcesResult |
clearFailedResourcesMapEntries()
Removes all the entries added into FailedResourcesMap.
|
TagResourcesResult |
clone() |
boolean |
equals(Object obj) |
Map<String,FailureInfo> |
getFailedResourcesMap()
A map containing a key-value pair for each failed item that couldn't be tagged.
|
int |
hashCode() |
void |
setFailedResourcesMap(Map<String,FailureInfo> failedResourcesMap)
A map containing a key-value pair for each failed item that couldn't be tagged.
|
String |
toString()
Returns a string representation of this object.
|
TagResourcesResult |
withFailedResourcesMap(Map<String,FailureInfo> failedResourcesMap)
A map containing a key-value pair for each failed item that couldn't be tagged.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public Map<String,FailureInfo> getFailedResourcesMap()
A map containing a key-value pair for each failed item that couldn't be tagged. The key is the ARN of the failed
resource. The value is a FailureInfo
object that contains an error code, a status code, and an error
message. If there are no errors, the FailedResourcesMap
is empty.
FailureInfo
object that contains an error code, a status
code, and an error message. If there are no errors, the FailedResourcesMap
is empty.public void setFailedResourcesMap(Map<String,FailureInfo> failedResourcesMap)
A map containing a key-value pair for each failed item that couldn't be tagged. The key is the ARN of the failed
resource. The value is a FailureInfo
object that contains an error code, a status code, and an error
message. If there are no errors, the FailedResourcesMap
is empty.
failedResourcesMap
- A map containing a key-value pair for each failed item that couldn't be tagged. The key is the ARN of the
failed resource. The value is a FailureInfo
object that contains an error code, a status
code, and an error message. If there are no errors, the FailedResourcesMap
is empty.public TagResourcesResult withFailedResourcesMap(Map<String,FailureInfo> failedResourcesMap)
A map containing a key-value pair for each failed item that couldn't be tagged. The key is the ARN of the failed
resource. The value is a FailureInfo
object that contains an error code, a status code, and an error
message. If there are no errors, the FailedResourcesMap
is empty.
failedResourcesMap
- A map containing a key-value pair for each failed item that couldn't be tagged. The key is the ARN of the
failed resource. The value is a FailureInfo
object that contains an error code, a status
code, and an error message. If there are no errors, the FailedResourcesMap
is empty.public TagResourcesResult addFailedResourcesMapEntry(String key, FailureInfo value)
public TagResourcesResult clearFailedResourcesMapEntries()
public String toString()
toString
in class Object
Object.toString()
public TagResourcesResult clone()