Class GetUrlRequest
java.lang.Object
software.amazon.awssdk.services.s3.model.GetUrlRequest
- All Implemented Interfaces:
SdkPojo,ToCopyableBuilder<GetUrlRequest.Builder,GetUrlRequest>
@SdkPublicApi
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
Nested Classes -
Method Summary
Modifier and TypeMethodDescriptionbucket()static GetUrlRequest.Builderbuilder()endpoint()<T> Optional<T>getValueForField(String fieldName, Class<T> clazz) key()region()VersionId used to reference a specific version of the object.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToFieldMethods 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
- Specified by:
toBuilderin interfaceToCopyableBuilder<GetUrlRequest.Builder,GetUrlRequest>
-
builder
-
getValueForField
-
sdkFields
-