public class AmazonS3URI
extends java.lang.Object
Constructor and Description |
---|
AmazonS3URI(java.lang.String str)
Creates a new AmazonS3URI by parsing the given string.
|
AmazonS3URI(java.lang.String str,
boolean urlEncode)
Creates a new AmazonS3URI by parsing the given string.
|
AmazonS3URI(java.net.URI uri)
Creates a new AmazonS3URI by wrapping the given
URI . |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getBucket() |
java.lang.String |
getKey() |
java.lang.String |
getRegion() |
java.net.URI |
getURI() |
java.lang.String |
getVersionId() |
int |
hashCode() |
boolean |
isPathStyle() |
java.lang.String |
toString() |
public AmazonS3URI(java.lang.String str)
str
- the URI to parse.public AmazonS3URI(java.lang.String str, boolean urlEncode)
str
- the URI to parse.urlEncode
- true if string should be URL encodedpublic AmazonS3URI(java.net.URI uri)
URI
.uri
- the URI to wrappublic java.net.URI getURI()
public boolean isPathStyle()
public java.lang.String getBucket()
public java.lang.String getKey()
public java.lang.String getVersionId()
public java.lang.String getRegion()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2018 Amazon Web Services, Inc. All Rights Reserved.