@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceIdPreference extends Object implements Serializable, Cloneable, StructuredPojo
| Constructor and Description |
|---|
ResourceIdPreference() |
| Modifier and Type | Method and Description |
|---|---|
ResourceIdPreference |
clone() |
boolean |
equals(Object obj) |
String |
getResourceIdType() |
List<String> |
getResources() |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller. |
void |
setResourceIdType(String resourceIdType) |
void |
setResources(Collection<String> resources) |
String |
toString()
Returns a string representation of this object.
|
ResourceIdPreference |
withResourceIdType(ResourceIdType resourceIdType) |
ResourceIdPreference |
withResourceIdType(String resourceIdType) |
ResourceIdPreference |
withResources(Collection<String> resources) |
ResourceIdPreference |
withResources(Resource... resources) |
ResourceIdPreference |
withResources(String... resources)
NOTE: This method appends the values to the existing list (if any).
|
public void setResourceIdType(String resourceIdType)
resourceIdType - ResourceIdTypepublic String getResourceIdType()
ResourceIdTypepublic ResourceIdPreference withResourceIdType(String resourceIdType)
resourceIdType - ResourceIdTypepublic ResourceIdPreference withResourceIdType(ResourceIdType resourceIdType)
resourceIdType - ResourceIdTypepublic void setResources(Collection<String> resources)
resources - Resourcepublic ResourceIdPreference withResources(String... resources)
NOTE: This method appends the values to the existing list (if any). Use
setResources(java.util.Collection) or withResources(java.util.Collection) if you want to
override the existing values.
resources - Resourcepublic ResourceIdPreference withResources(Collection<String> resources)
resources - Resourcepublic ResourceIdPreference withResources(Resource... resources)
resources - Resourcepublic String toString()
toString in class ObjectObject.toString()public ResourceIdPreference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojoProtocolMarshaller.marshall in interface StructuredPojoprotocolMarshaller - Implementation of ProtocolMarshaller used to marshall this object's data.