Class GetUrlRequest
java.lang.Object
software.amazon.awssdk.services.s3.model.GetUrlRequest
- All Implemented Interfaces:
SdkPojo
,ToCopyableBuilder<GetUrlRequest.Builder,
GetUrlRequest>
public final class GetUrlRequest
extends Object
implements SdkPojo, ToCopyableBuilder<GetUrlRequest.Builder,GetUrlRequest>
Request to generate a URL representing an object in Amazon S3.
If the object identified by the given bucket and key has public read permissions,
then this URL can be directly accessed to retrieve the object's data.
-
Nested Class Summary
-
Method Summary
Modifier and TypeMethodDescriptionbucket()
static GetUrlRequest.Builder
builder()
endpoint()
<T> Optional
<T> getValueForField
(String fieldName, Class<T> clazz) key()
region()
Take this object and create a builder that contains all of the current property values of this object.VersionId used to reference a specific version of the object.Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields
Methods inherited from interface software.amazon.awssdk.utils.builder.ToCopyableBuilder
copy
-
Method Details
-
bucket
- Returns:
- The name of the bucket for the object
-
key
- Returns:
- The key value for this object.
-
region
- Returns:
- The region value to use for constructing the URL
-
endpoint
- Returns:
- The endpoint value to use for constructing the URL
-
versionId
VersionId used to reference a specific version of the object.- Returns:
- VersionId used to reference a specific version of the object.
-
toBuilder
Description copied from interface:ToCopyableBuilder
Take this object and create a builder that contains all of the current property values of this object.- Specified by:
toBuilder
in interfaceToCopyableBuilder<GetUrlRequest.Builder,
GetUrlRequest> - Returns:
- a builder for type T
-
builder
-
getValueForField
-
sdkFields
-