@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
- ResourceIdType
public String getResourceIdType()
ResourceIdType
public ResourceIdPreference withResourceIdType(String resourceIdType)
resourceIdType
- ResourceIdType
public ResourceIdPreference withResourceIdType(ResourceIdType resourceIdType)
resourceIdType
- ResourceIdType
public void setResources(Collection<String> resources)
resources
- Resource
public 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
- Resource
public ResourceIdPreference withResources(Collection<String> resources)
resources
- Resource
public ResourceIdPreference withResources(Resource... resources)
resources
- Resource
public String toString()
toString
in class Object
Object.toString()
public ResourceIdPreference clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.