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 classDefaultSignedUrl.Builder
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static DefaultSignedUrl.Builderbuilder()SdkHttpRequestcreateHttpGetRequest()Generates an HTTP GET request that can be executed by an HTTP client to access the resourceStringdomain()Returns the CloudFront domain, e.g., d1npcfkc2mojrf.cloudfront.netStringencodedPath()Returns the encoded path of the signed URLbooleanequals(Object o)inthashCode()Stringprotocol()Returns the protocol, i.e., HTTPS / HTTPDefaultSignedUrl.BuildertoBuilder()StringtoString()Stringurl()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:
toBuilderin interfaceToCopyableBuilder<DefaultSignedUrl.Builder,DefaultSignedUrl>
-
protocol
public String protocol()
Description copied from interface:SignedUrlReturns the protocol, i.e., HTTPS / HTTP
-
domain
public String domain()
Description copied from interface:SignedUrlReturns the CloudFront domain, e.g., d1npcfkc2mojrf.cloudfront.net
-
encodedPath
public String encodedPath()
Description copied from interface:SignedUrlReturns the encoded path of the signed URL- Specified by:
encodedPathin interfaceSignedUrl
-
url
public String url()
Description copied from interface:SignedUrlReturns the signed URL that can be provided to users to access your private content
-
createHttpGetRequest
public SdkHttpRequest createHttpGetRequest()
Description copied from interface:SignedUrlGenerates an HTTP GET request that can be executed by an HTTP client to access the resource- Specified by:
createHttpGetRequestin interfaceSignedUrl
-
-