@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class ResourceIdPreference extends Object implements Serializable, Cloneable, StructuredPojo
Describes the resource type and its ID preference for the user's Amazon Web Services account, in the current Amazon Web Services Region.
Constructor and Description |
---|
ResourceIdPreference() |
Modifier and Type | Method and Description |
---|---|
ResourceIdPreference |
clone() |
boolean |
equals(Object obj) |
String |
getResourceIdType()
Identifies the EFS resource ID preference, either
LONG_ID (17 characters) or SHORT_ID
(8 characters). |
List<String> |
getResources()
Identifies the Amazon EFS resources to which the ID preference setting applies,
FILE_SYSTEM and
MOUNT_TARGET . |
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setResourceIdType(String resourceIdType)
Identifies the EFS resource ID preference, either
LONG_ID (17 characters) or SHORT_ID
(8 characters). |
void |
setResources(Collection<String> resources)
Identifies the Amazon EFS resources to which the ID preference setting applies,
FILE_SYSTEM and
MOUNT_TARGET . |
String |
toString()
Returns a string representation of this object.
|
ResourceIdPreference |
withResourceIdType(ResourceIdType resourceIdType)
Identifies the EFS resource ID preference, either
LONG_ID (17 characters) or SHORT_ID
(8 characters). |
ResourceIdPreference |
withResourceIdType(String resourceIdType)
Identifies the EFS resource ID preference, either
LONG_ID (17 characters) or SHORT_ID
(8 characters). |
ResourceIdPreference |
withResources(Collection<String> resources)
Identifies the Amazon EFS resources to which the ID preference setting applies,
FILE_SYSTEM and
MOUNT_TARGET . |
ResourceIdPreference |
withResources(Resource... resources)
Identifies the Amazon EFS resources to which the ID preference setting applies,
FILE_SYSTEM and
MOUNT_TARGET . |
ResourceIdPreference |
withResources(String... resources)
Identifies the Amazon EFS resources to which the ID preference setting applies,
FILE_SYSTEM and
MOUNT_TARGET . |
public void setResourceIdType(String resourceIdType)
Identifies the EFS resource ID preference, either LONG_ID
(17 characters) or SHORT_ID
(8 characters).
resourceIdType
- Identifies the EFS resource ID preference, either LONG_ID
(17 characters) or
SHORT_ID
(8 characters).ResourceIdType
public String getResourceIdType()
Identifies the EFS resource ID preference, either LONG_ID
(17 characters) or SHORT_ID
(8 characters).
LONG_ID
(17 characters) or
SHORT_ID
(8 characters).ResourceIdType
public ResourceIdPreference withResourceIdType(String resourceIdType)
Identifies the EFS resource ID preference, either LONG_ID
(17 characters) or SHORT_ID
(8 characters).
resourceIdType
- Identifies the EFS resource ID preference, either LONG_ID
(17 characters) or
SHORT_ID
(8 characters).ResourceIdType
public ResourceIdPreference withResourceIdType(ResourceIdType resourceIdType)
Identifies the EFS resource ID preference, either LONG_ID
(17 characters) or SHORT_ID
(8 characters).
resourceIdType
- Identifies the EFS resource ID preference, either LONG_ID
(17 characters) or
SHORT_ID
(8 characters).ResourceIdType
public List<String> getResources()
Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and
MOUNT_TARGET
.
FILE_SYSTEM
and MOUNT_TARGET
.Resource
public void setResources(Collection<String> resources)
Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and
MOUNT_TARGET
.
resources
- Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and MOUNT_TARGET
.Resource
public ResourceIdPreference withResources(String... resources)
Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and
MOUNT_TARGET
.
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
- Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and MOUNT_TARGET
.Resource
public ResourceIdPreference withResources(Collection<String> resources)
Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and
MOUNT_TARGET
.
resources
- Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and MOUNT_TARGET
.Resource
public ResourceIdPreference withResources(Resource... resources)
Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and
MOUNT_TARGET
.
resources
- Identifies the Amazon EFS resources to which the ID preference setting applies, FILE_SYSTEM
and MOUNT_TARGET
.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.