Interface GetObjectTorrentRequest.Builder
-
- All Superinterfaces:
AwsRequest.Builder
,Buildable
,CopyableBuilder<GetObjectTorrentRequest.Builder,GetObjectTorrentRequest>
,S3Request.Builder
,SdkBuilder<GetObjectTorrentRequest.Builder,GetObjectTorrentRequest>
,SdkPojo
,SdkRequest.Builder
- Enclosing class:
- GetObjectTorrentRequest
public static interface GetObjectTorrentRequest.Builder extends S3Request.Builder, SdkPojo, CopyableBuilder<GetObjectTorrentRequest.Builder,GetObjectTorrentRequest>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description GetObjectTorrentRequest.Builder
bucket(String bucket)
The name of the bucket containing the object for which to get the torrent files.GetObjectTorrentRequest.Builder
expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner.GetObjectTorrentRequest.Builder
key(String key)
The object key for which to get the information.GetObjectTorrentRequest.Builder
overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
GetObjectTorrentRequest.Builder
overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
GetObjectTorrentRequest.Builder
requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.GetObjectTorrentRequest.Builder
requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.-
Methods inherited from interface software.amazon.awssdk.awscore.AwsRequest.Builder
overrideConfiguration
-
Methods inherited from interface software.amazon.awssdk.utils.builder.CopyableBuilder
copy
-
Methods inherited from interface software.amazon.awssdk.services.s3.model.S3Request.Builder
build
-
Methods inherited from interface software.amazon.awssdk.utils.builder.SdkBuilder
applyMutation, build
-
Methods inherited from interface software.amazon.awssdk.core.SdkPojo
equalsBySdkFields, sdkFieldNameToField, sdkFields
-
-
-
-
Method Detail
-
bucket
GetObjectTorrentRequest.Builder bucket(String bucket)
The name of the bucket containing the object for which to get the torrent files.
- Parameters:
bucket
- The name of the bucket containing the object for which to get the torrent files.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
key
GetObjectTorrentRequest.Builder key(String key)
The object key for which to get the information.
- Parameters:
key
- The object key for which to get the information.- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
requestPayer
GetObjectTorrentRequest.Builder requestPayer(String requestPayer)
Sets the value of the RequestPayer property for this object.- Parameters:
requestPayer
- The new value for the RequestPayer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RequestPayer
,RequestPayer
-
requestPayer
GetObjectTorrentRequest.Builder requestPayer(RequestPayer requestPayer)
Sets the value of the RequestPayer property for this object.- Parameters:
requestPayer
- The new value for the RequestPayer property for this object.- Returns:
- Returns a reference to this object so that method calls can be chained together.
- See Also:
RequestPayer
,RequestPayer
-
expectedBucketOwner
GetObjectTorrentRequest.Builder expectedBucketOwner(String expectedBucketOwner)
The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code
403 Forbidden
(access denied).- Parameters:
expectedBucketOwner
- The account ID of the expected bucket owner. If the account ID that you provide does not match the actual owner of the bucket, the request fails with the HTTP status code403 Forbidden
(access denied).- Returns:
- Returns a reference to this object so that method calls can be chained together.
-
overrideConfiguration
GetObjectTorrentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration overrideConfiguration)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
overrideConfiguration
GetObjectTorrentRequest.Builder overrideConfiguration(Consumer<AwsRequestOverrideConfiguration.Builder> builderConsumer)
- Specified by:
overrideConfiguration
in interfaceAwsRequest.Builder
-
-