Class DefaultSignedUrl
- java.lang.Object
-
- software.amazon.awssdk.services.cloudfront.internal.url.DefaultSignedUrl
-
- All Implemented Interfaces:
SignedUrl
,ToCopyableBuilder<DefaultSignedUrl.Builder,DefaultSignedUrl>
@Immutable @ThreadSafe public final class DefaultSignedUrl extends Object implements SignedUrl, ToCopyableBuilder<DefaultSignedUrl.Builder,DefaultSignedUrl>
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
DefaultSignedUrl.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultSignedUrl.Builder
builder()
SdkHttpRequest
createHttpGetRequest()
Generates an HTTP GET request that can be executed by an HTTP client to access the resourceString
domain()
Returns the CloudFront domain, e.g., d1npcfkc2mojrf.cloudfront.netString
encodedPath()
Returns the encoded path of the signed URLboolean
equals(Object o)
int
hashCode()
String
protocol()
Returns the protocol, i.e., HTTPS / HTTPDefaultSignedUrl.Builder
toBuilder()
String
toString()
String
url()
Returns the signed URL that can be provided to users to access your private content-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
-
-
-
Method Detail
-
builder
public static DefaultSignedUrl.Builder builder()
-
toBuilder
public DefaultSignedUrl.Builder toBuilder()
- Specified by:
toBuilder
in interfaceToCopyableBuilder<DefaultSignedUrl.Builder,DefaultSignedUrl>
-
protocol
public String protocol()
Description copied from interface:SignedUrl
Returns the protocol, i.e., HTTPS / HTTP
-
domain
public String domain()
Description copied from interface:SignedUrl
Returns the CloudFront domain, e.g., d1npcfkc2mojrf.cloudfront.net
-
encodedPath
public String encodedPath()
Description copied from interface:SignedUrl
Returns the encoded path of the signed URL- Specified by:
encodedPath
in interfaceSignedUrl
-
url
public String url()
Description copied from interface:SignedUrl
Returns the signed URL that can be provided to users to access your private content
-
createHttpGetRequest
public SdkHttpRequest createHttpGetRequest()
Description copied from interface:SignedUrl
Generates an HTTP GET request that can be executed by an HTTP client to access the resource- Specified by:
createHttpGetRequest
in interfaceSignedUrl
-
-