@Generated(value="com.amazonaws:aws-java-sdk-code-generator") public class LocationListEntry extends Object implements Serializable, Cloneable, StructuredPojo
Represents a single entry in a list of locations. LocationListEntry
returns an array that contains a
list of locations when the ListLocations operation is
called.
Constructor and Description |
---|
LocationListEntry() |
Modifier and Type | Method and Description |
---|---|
LocationListEntry |
clone() |
boolean |
equals(Object obj) |
String |
getLocationArn()
The Amazon Resource Name (ARN) of the location.
|
String |
getLocationUri()
Represents a list of URIs of a location.
|
int |
hashCode() |
void |
marshall(ProtocolMarshaller protocolMarshaller)
Marshalls this structured data using the given
ProtocolMarshaller . |
void |
setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the location.
|
void |
setLocationUri(String locationUri)
Represents a list of URIs of a location.
|
String |
toString()
Returns a string representation of this object.
|
LocationListEntry |
withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the location.
|
LocationListEntry |
withLocationUri(String locationUri)
Represents a list of URIs of a location.
|
public void setLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the root of the location.
locationArn
- The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location
is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the
root of the location.public String getLocationArn()
The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the root of the location.
public LocationListEntry withLocationArn(String locationArn)
The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the root of the location.
locationArn
- The Amazon Resource Name (ARN) of the location. For Network File System (NFS) or Amazon EFS, the location
is the export path. For Amazon S3, the location is the prefix path that you want to mount and use as the
root of the location.public void setLocationUri(String locationUri)
Represents a list of URIs of a location. LocationUri
returns an array that contains a list of
locations when the ListLocations operation
is called.
Format: TYPE://GLOBAL_ID/SUBDIR
.
TYPE designates the type of location (for example, nfs
or s3
).
GLOBAL_ID is the globally unique identifier of the resource that backs the location. An example for EFS is
us-east-2.fs-abcd1234
. An example for Amazon S3 is the bucket name, such as myBucket
.
An example for NFS is a valid IPv4 address or a hostname that is compliant with Domain Name Service (DNS).
SUBDIR is a valid file system path, delimited by forward slashes as is the *nix convention. For NFS and Amazon EFS, it's the export path to mount the location. For Amazon S3, it's the prefix path that you mount to and treat as the root of the location.
locationUri
- Represents a list of URIs of a location. LocationUri
returns an array that contains a list of
locations when the ListLocations
operation is called.
Format: TYPE://GLOBAL_ID/SUBDIR
.
TYPE designates the type of location (for example, nfs
or s3
).
GLOBAL_ID is the globally unique identifier of the resource that backs the location. An example for EFS is
us-east-2.fs-abcd1234
. An example for Amazon S3 is the bucket name, such as
myBucket
. An example for NFS is a valid IPv4 address or a hostname that is compliant with
Domain Name Service (DNS).
SUBDIR is a valid file system path, delimited by forward slashes as is the *nix convention. For NFS and Amazon EFS, it's the export path to mount the location. For Amazon S3, it's the prefix path that you mount to and treat as the root of the location.
public String getLocationUri()
Represents a list of URIs of a location. LocationUri
returns an array that contains a list of
locations when the ListLocations operation
is called.
Format: TYPE://GLOBAL_ID/SUBDIR
.
TYPE designates the type of location (for example, nfs
or s3
).
GLOBAL_ID is the globally unique identifier of the resource that backs the location. An example for EFS is
us-east-2.fs-abcd1234
. An example for Amazon S3 is the bucket name, such as myBucket
.
An example for NFS is a valid IPv4 address or a hostname that is compliant with Domain Name Service (DNS).
SUBDIR is a valid file system path, delimited by forward slashes as is the *nix convention. For NFS and Amazon EFS, it's the export path to mount the location. For Amazon S3, it's the prefix path that you mount to and treat as the root of the location.
LocationUri
returns an array that contains a list
of locations when the ListLocations
operation is called.
Format: TYPE://GLOBAL_ID/SUBDIR
.
TYPE designates the type of location (for example, nfs
or s3
).
GLOBAL_ID is the globally unique identifier of the resource that backs the location. An example for EFS
is us-east-2.fs-abcd1234
. An example for Amazon S3 is the bucket name, such as
myBucket
. An example for NFS is a valid IPv4 address or a hostname that is compliant with
Domain Name Service (DNS).
SUBDIR is a valid file system path, delimited by forward slashes as is the *nix convention. For NFS and Amazon EFS, it's the export path to mount the location. For Amazon S3, it's the prefix path that you mount to and treat as the root of the location.
public LocationListEntry withLocationUri(String locationUri)
Represents a list of URIs of a location. LocationUri
returns an array that contains a list of
locations when the ListLocations operation
is called.
Format: TYPE://GLOBAL_ID/SUBDIR
.
TYPE designates the type of location (for example, nfs
or s3
).
GLOBAL_ID is the globally unique identifier of the resource that backs the location. An example for EFS is
us-east-2.fs-abcd1234
. An example for Amazon S3 is the bucket name, such as myBucket
.
An example for NFS is a valid IPv4 address or a hostname that is compliant with Domain Name Service (DNS).
SUBDIR is a valid file system path, delimited by forward slashes as is the *nix convention. For NFS and Amazon EFS, it's the export path to mount the location. For Amazon S3, it's the prefix path that you mount to and treat as the root of the location.
locationUri
- Represents a list of URIs of a location. LocationUri
returns an array that contains a list of
locations when the ListLocations
operation is called.
Format: TYPE://GLOBAL_ID/SUBDIR
.
TYPE designates the type of location (for example, nfs
or s3
).
GLOBAL_ID is the globally unique identifier of the resource that backs the location. An example for EFS is
us-east-2.fs-abcd1234
. An example for Amazon S3 is the bucket name, such as
myBucket
. An example for NFS is a valid IPv4 address or a hostname that is compliant with
Domain Name Service (DNS).
SUBDIR is a valid file system path, delimited by forward slashes as is the *nix convention. For NFS and Amazon EFS, it's the export path to mount the location. For Amazon S3, it's the prefix path that you mount to and treat as the root of the location.
public String toString()
toString
in class Object
Object.toString()
public LocationListEntry clone()
public void marshall(ProtocolMarshaller protocolMarshaller)
StructuredPojo
ProtocolMarshaller
.marshall
in interface StructuredPojo
protocolMarshaller
- Implementation of ProtocolMarshaller
used to marshall this object's data.