-
- All Implemented Interfaces:
-
org.http4k.connect.Action,org.http4k.connect.amazon.s3.action.S3Action
public final class CreateBucket implements S3Action<Unit>
-
-
Field Summary
Fields Modifier and Type Field Description private final BucketNamebucketNameprivate final Regionregion
-
Constructor Summary
Constructors Constructor Description CreateBucket(BucketName bucketName, Region region)
-
Method Summary
Modifier and Type Method Description RequesttoRequest()Result<Unit, RemoteFailure>toResult(Response response)final BucketNamecomponent1()final Regioncomponent2()final CreateBucketcopy(BucketName bucketName, Region region)final BucketNamegetBucketName()final RegiongetRegion()-
-
Constructor Detail
-
CreateBucket
CreateBucket(BucketName bucketName, Region region)
-
-
Method Detail
-
toRequest
Request toRequest()
-
component1
final BucketName component1()
-
component2
final Region component2()
-
copy
final CreateBucket copy(BucketName bucketName, Region region)
-
getBucketName
final BucketName getBucketName()
-
getRegion
final Region getRegion()
-
-
-
-