com.amazonaws.util
Class ImmutableMapParameter.Builder<K,V>
java.lang.Object
   com.amazonaws.util.ImmutableMapParameter.Builder<K,V>
com.amazonaws.util.ImmutableMapParameter.Builder<K,V>
- Enclosing class:
- ImmutableMapParameter<K,V>
- public static class ImmutableMapParameter.Builder<K,V> 
- extends java.lang.Object
A convenient builder for creating ImmutableMapParameter instances.
 
 
| Methods inherited from class java.lang.Object | 
| equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
 
ImmutableMapParameter.Builder
public ImmutableMapParameter.Builder()
put
public ImmutableMapParameter.Builder<K,V> put(K key,
                                              V value)
- Add a key-value pair into the built map. The method will throw IllegalArgumentException
 immediately when duplicate keys are provided.
 
- 
- Returns:
- Returns a reference to this object so that method calls can be chained together.
 
build
public ImmutableMapParameter<K,V> build()
- Generates and returns a new ImmutableMapParameter instance which contains all the entries added into
 the Builder by put()method.
 
- 
 
                Copyright © 2010 Amazon Web Services, Inc. All Rights Reserved.