Class AwsRequest.Builder

    • Constructor Detail

      • Builder

        public Builder()
        Constructs a new builder for an AWS request.
    • Method Detail

      • withService

        public AwsRequest.Builder withService​(String service)
        Sets the AWS service that the action in the request will be performed against.
        Parameters:
        service - the AWS service that the action in the request will be performed against.
        Returns:
        the builder.
      • withAction

        public AwsRequest.Builder withAction​(String action)
        Sets the action within the AWS service to perform.
        Parameters:
        action - the action within the AWS service to perform.
        Returns:
        the builder.
      • withRegion

        public AwsRequest.Builder withRegion​(String region)
        Sets the region that service in this request should be scoped to.
        Parameters:
        region - the region that service in this request should be scoped to.
        Returns:
        the builder.
      • withArguments

        public AwsRequest.Builder withArguments​(Document arguments)
        Sets the arguments that will be used in the action.
        Parameters:
        arguments - the arguments that will be used in the action.
        Returns:
        the builder.
      • build

        public AwsRequest build()
        Builds, validates, and returns the AwsRequest.
        Returns:
        the built AWS request.