public static class AwsRequest.Builder extends Object
AwsRequests.| Constructor and Description |
|---|
Builder()
Constructs a new builder for an AWS request.
|
| Modifier and Type | Method and Description |
|---|---|
AwsRequest |
build()
Builds, validates, and returns the
AwsRequest. |
AwsRequest.Builder |
withAction(String action)
Sets the action within the AWS service to perform.
|
AwsRequest.Builder |
withArguments(Document arguments)
Sets the arguments that will be used in the action.
|
AwsRequest.Builder |
withRegion(String region)
Sets the region that service in this request should be scoped to.
|
AwsRequest.Builder |
withService(String service)
Sets the AWS service that the action in the request will be performed against.
|
public AwsRequest.Builder withService(String service)
service - the AWS service that the action in the request will be performed against.public AwsRequest.Builder withAction(String action)
action - the action within the AWS service to perform.public AwsRequest.Builder withRegion(String region)
region - the region that service in this request should be scoped to.public AwsRequest.Builder withArguments(Document arguments)
arguments - the arguments that will be used in the action.public AwsRequest build()
AwsRequest.