@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class GetMappingResult extends AmazonWebServiceResult<ResponseMetadata> implements Serializable, Cloneable
Constructor and Description |
---|
GetMappingResult() |
Modifier and Type | Method and Description |
---|---|
GetMappingResult |
clone() |
boolean |
equals(Object obj) |
List<MappingEntry> |
getMapping()
A list of mappings to the specified targets.
|
int |
hashCode() |
void |
setMapping(Collection<MappingEntry> mapping)
A list of mappings to the specified targets.
|
String |
toString()
Returns a string representation of this object; useful for testing and debugging.
|
GetMappingResult |
withMapping(Collection<MappingEntry> mapping)
A list of mappings to the specified targets.
|
GetMappingResult |
withMapping(MappingEntry... mapping)
A list of mappings to the specified targets.
|
getSdkHttpMetadata, getSdkResponseMetadata, setSdkHttpMetadata, setSdkResponseMetadata
public List<MappingEntry> getMapping()
A list of mappings to the specified targets.
public void setMapping(Collection<MappingEntry> mapping)
A list of mappings to the specified targets.
mapping
- A list of mappings to the specified targets.public GetMappingResult withMapping(MappingEntry... mapping)
A list of mappings to the specified targets.
NOTE: This method appends the values to the existing list (if any). Use
setMapping(java.util.Collection)
or withMapping(java.util.Collection)
if you want to override
the existing values.
mapping
- A list of mappings to the specified targets.public GetMappingResult withMapping(Collection<MappingEntry> mapping)
A list of mappings to the specified targets.
mapping
- A list of mappings to the specified targets.public String toString()
toString
in class Object
Object.toString()
public GetMappingResult clone()
Copyright © 2013 Amazon Web Services, Inc. All Rights Reserved.