diff --git a/MODULE.bazel b/MODULE.bazel index 7b5d9eca8fd3..3352e004375b 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -14,7 +14,7 @@ local_path_override( # see https://registry.bazel.build/ for a list of available packages bazel_dep(name = "platforms", version = "0.0.10") -bazel_dep(name = "rules_go", version = "0.48.0") +bazel_dep(name = "rules_go", version = "0.49.0") bazel_dep(name = "rules_pkg", version = "0.10.1") bazel_dep(name = "rules_nodejs", version = "6.2.0-codeql.1") bazel_dep(name = "rules_python", version = "0.32.2") @@ -23,7 +23,7 @@ bazel_dep(name = "abseil-cpp", version = "20240116.0", repo_name = "absl") bazel_dep(name = "nlohmann_json", version = "3.11.3", repo_name = "json") bazel_dep(name = "fmt", version = "10.0.0") bazel_dep(name = "rules_kotlin", version = "1.9.4-codeql.1") -bazel_dep(name = "gazelle", version = "0.37.0") +bazel_dep(name = "gazelle", version = "0.38.0") bazel_dep(name = "rules_dotnet", version = "0.15.1") bazel_dep(name = "googletest", version = "1.14.0.bcr.1") bazel_dep(name = "rules_rust", version = "0.49.1") diff --git a/cpp/ql/test/library-tests/ir/ir/PrintAST.expected b/cpp/ql/test/library-tests/ir/ir/PrintAST.expected index 7f7a47459820..4c912a36756c 100644 --- a/cpp/ql/test/library-tests/ir/ir/PrintAST.expected +++ b/cpp/ql/test/library-tests/ir/ir/PrintAST.expected @@ -4179,6 +4179,40 @@ destructors_for_temps.cpp: # 103| Type = [IntType] int # 103| ValueCategory = prvalue # 104| getStmt(1): [ReturnStmt] return ... +generic.c: +# 1| [TopLevelFunction] void c11_generic_test(unsigned int, int) +# 1| : +# 1| getParameter(0): [Parameter] x +# 1| Type = [IntType] unsigned int +# 1| getParameter(1): [Parameter] y +# 1| Type = [IntType] int +# 1| getEntryPoint(): [BlockStmt] { ... } +# 2| getStmt(0): [DeclStmt] declaration +# 2| getDeclarationEntry(0): [VariableDeclarationEntry] definition of r +# 2| Type = [IntType] unsigned int +# 3| getStmt(1): [ExprStmt] ExprStmt +# 3| getExpr(): [AssignExpr] ... = ... +# 3| Type = [IntType] unsigned int +# 3| ValueCategory = prvalue +# 3| getLValue(): [VariableAccess] r +# 3| Type = [IntType] unsigned int +# 3| ValueCategory = lvalue +# 3| getRValue(): [AddExpr] ... + ... +# 3| Type = [IntType] unsigned int +# 3| ValueCategory = prvalue +# 3| getLeftOperand(): [VariableAccess] x +# 3| Type = [IntType] unsigned int +# 3| ValueCategory = prvalue(load) +# 3| getRightOperand(): [Literal] 1 +# 3| Type = [IntType] int +# 3| Value = [Literal] 1 +# 3| ValueCategory = prvalue +# 3| getRightOperand().getFullyConverted(): [CStyleCast] (unsigned int)... +# 3| Conversion = [IntegralConversion] integral conversion +# 3| Type = [IntType] unsigned int +# 3| Value = [CStyleCast] 1 +# 3| ValueCategory = prvalue +# 4| getStmt(2): [ReturnStmt] return ... ir.c: # 5| [TopLevelFunction] int getX(MyCoords*) # 5| : diff --git a/cpp/ql/test/library-tests/ir/ir/aliased_ir.expected b/cpp/ql/test/library-tests/ir/ir/aliased_ir.expected index 1dc8dbe70145..54ecfba3ffc4 100644 --- a/cpp/ql/test/library-tests/ir/ir/aliased_ir.expected +++ b/cpp/ql/test/library-tests/ir/ir/aliased_ir.expected @@ -2958,6 +2958,30 @@ destructors_for_temps.cpp: # 102| v102_9(void) = AliasedUse : ~m103_26 # 102| v102_10(void) = ExitFunction : +generic.c: +# 1| void c11_generic_test(unsigned int, int) +# 1| Block 0 +# 1| v1_1(void) = EnterFunction : +# 1| m1_2(unknown) = AliasedDefinition : +# 1| m1_3(unknown) = InitializeNonLocal : +# 1| m1_4(unknown) = Chi : total:m1_2, partial:m1_3 +# 1| r1_5(glval) = VariableAddress[x] : +# 1| m1_6(unsigned int) = InitializeParameter[x] : &:r1_5 +# 1| r1_7(glval) = VariableAddress[y] : +# 1| m1_8(int) = InitializeParameter[y] : &:r1_7 +# 2| r2_1(glval) = VariableAddress[r] : +# 2| m2_2(unsigned int) = Uninitialized[r] : &:r2_1 +# 3| r3_1(glval) = VariableAddress[x] : +# 3| r3_2(unsigned int) = Load[x] : &:r3_1, m1_6 +# 3| r3_3(unsigned int) = Constant[1] : +# 3| r3_4(unsigned int) = Add : r3_2, r3_3 +# 3| r3_5(glval) = VariableAddress[r] : +# 3| m3_6(unsigned int) = Store[r] : &:r3_5, r3_4 +# 4| v4_1(void) = NoOp : +# 1| v1_9(void) = ReturnVoid : +# 1| v1_10(void) = AliasedUse : m1_3 +# 1| v1_11(void) = ExitFunction : + ir.c: # 7| void MyCoordsTest(int) # 7| Block 0 diff --git a/cpp/ql/test/library-tests/ir/ir/generic.c b/cpp/ql/test/library-tests/ir/ir/generic.c new file mode 100644 index 000000000000..3d669ba29fb9 --- /dev/null +++ b/cpp/ql/test/library-tests/ir/ir/generic.c @@ -0,0 +1,6 @@ +void c11_generic_test(unsigned int x, int y) { + unsigned int r; + r = _Generic(r, unsigned int: x, int: y) + 1; +} + +// // semmle-extractor-options: -std=c11 diff --git a/cpp/ql/test/library-tests/ir/ir/raw_ir.expected b/cpp/ql/test/library-tests/ir/ir/raw_ir.expected index 706606a19180..18f0d99ac676 100644 --- a/cpp/ql/test/library-tests/ir/ir/raw_ir.expected +++ b/cpp/ql/test/library-tests/ir/ir/raw_ir.expected @@ -2732,6 +2732,29 @@ destructors_for_temps.cpp: # 102| v102_7(void) = AliasedUse : ~m? # 102| v102_8(void) = ExitFunction : +generic.c: +# 1| void c11_generic_test(unsigned int, int) +# 1| Block 0 +# 1| v1_1(void) = EnterFunction : +# 1| mu1_2(unknown) = AliasedDefinition : +# 1| mu1_3(unknown) = InitializeNonLocal : +# 1| r1_4(glval) = VariableAddress[x] : +# 1| mu1_5(unsigned int) = InitializeParameter[x] : &:r1_4 +# 1| r1_6(glval) = VariableAddress[y] : +# 1| mu1_7(int) = InitializeParameter[y] : &:r1_6 +# 2| r2_1(glval) = VariableAddress[r] : +# 2| mu2_2(unsigned int) = Uninitialized[r] : &:r2_1 +# 3| r3_1(glval) = VariableAddress[x] : +# 3| r3_2(unsigned int) = Load[x] : &:r3_1, ~m? +# 3| r3_3(unsigned int) = Constant[1] : +# 3| r3_4(unsigned int) = Add : r3_2, r3_3 +# 3| r3_5(glval) = VariableAddress[r] : +# 3| mu3_6(unsigned int) = Store[r] : &:r3_5, r3_4 +# 4| v4_1(void) = NoOp : +# 1| v1_8(void) = ReturnVoid : +# 1| v1_9(void) = AliasedUse : ~m? +# 1| v1_10(void) = ExitFunction : + ir.c: # 7| void MyCoordsTest(int) # 7| Block 0 diff --git a/go/BUILD.bazel b/go/BUILD.bazel index 94ce26f43918..936c86e0ed13 100644 --- a/go/BUILD.bazel +++ b/go/BUILD.bazel @@ -1,11 +1,9 @@ -load("@bazel_skylib//rules:native_binary.bzl", "native_binary") +load("@gazelle//:def.bzl", "gazelle") load("@rules_pkg//pkg:mappings.bzl", "pkg_files") load("//misc/bazel:pkg.bzl", "codeql_pack", "codeql_pkg_files") -native_binary( +gazelle( name = "gazelle", - src = "@gazelle//cmd/gazelle", - out = "gazelle.exe", args = ["go/extractor"], ) diff --git a/go/documentation/library-coverage/coverage.csv b/go/documentation/library-coverage/coverage.csv index 5f38234229b1..4aa87a5a4f5c 100644 --- a/go/documentation/library-coverage/coverage.csv +++ b/go/documentation/library-coverage/coverage.csv @@ -52,6 +52,7 @@ github.com/beego/beego/server/web/context,,15,1,,,,,,15,1, github.com/beego/beego/utils,,,13,,,,,,,13, github.com/couchbase/gocb,,,18,,,,,,,18, github.com/couchbaselabs/gocb,,,18,,,,,,,18, +github.com/crankycoder/xmlpath,2,,,,,,,2,,, github.com/cristalhq/jwt,1,,,1,,,,,,, github.com/dgrijalva/jwt-go,3,,9,2,1,,,,,9, github.com/elazarl/goproxy,,2,2,,,,,,2,2, @@ -68,6 +69,7 @@ github.com/go-pg/pg/orm,,,6,,,,,,,6, github.com/go-xmlpath/xmlpath,2,,,,,,,2,,, github.com/gobwas/ws,,2,,,,,,,2,, github.com/gogf/gf-jwt,1,,,1,,,,,,, +github.com/going/toolkit/xmlpath,2,,,,,,,2,,, github.com/golang-jwt/jwt,3,,11,2,1,,,,,11, github.com/golang/protobuf/proto,,,4,,,,,,,4, github.com/gorilla/mux,,1,,,,,,,1,, @@ -82,6 +84,9 @@ github.com/lestrrat-go/jwx,1,,,1,,,,,,, github.com/lestrrat-go/jwx/jwk,1,,,1,,,,,,, github.com/lestrrat-go/libxml2/parser,3,,,,,,,3,,, github.com/lestrrat/go-jwx/jwk,1,,,1,,,,,,, +github.com/masterzen/xmlpath,2,,,,,,,2,,, +github.com/moovweb/gokogiri/xml,4,,,,,,,4,,, +github.com/moovweb/gokogiri/xpath,1,,,,,,,1,,, github.com/ory/fosite/token/jwt,2,,,2,,,,,,, github.com/revel/revel,,23,10,,,,,,23,10, github.com/robfig/revel,,23,10,,,,,,23,10, @@ -99,9 +104,13 @@ google.golang.org/protobuf/internal/impl,,,2,,,,,,,2, google.golang.org/protobuf/proto,,,8,,,,,,,8, google.golang.org/protobuf/reflect/protoreflect,,,1,,,,,,,1, gopkg.in/couchbase/gocb,,,18,,,,,,,18, +gopkg.in/go-jose/go-jose,2,,,2,,,,,,, +gopkg.in/go-jose/go-jose/jwt,1,,4,,1,,,,,4, +gopkg.in/go-xmlpath/xmlpath,2,,,,,,,2,,, gopkg.in/macaron,,12,1,,,,,,12,1, gopkg.in/square/go-jose,2,,,2,,,,,,, gopkg.in/square/go-jose/jwt,1,,4,,1,,,,,4, +gopkg.in/xmlpath,2,,,,,,,2,,, gopkg.in/yaml,,,9,,,,,,,9, html,,,2,,,,,,,2, html/template,,,6,,,,,,,6, @@ -110,6 +119,7 @@ io/fs,,,12,,,,,,,12, io/ioutil,,,2,,,,,,,2, k8s.io/api/core,,,10,,,,,,,10, k8s.io/apimachinery/pkg/runtime,,,47,,,,,,,47, +launchpad.net/xmlpath,2,,,,,,,2,,, log,,,3,,,,,,,3, math/big,,,1,,,,,,,1, mime,,,5,,,,,,,5, diff --git a/go/documentation/library-coverage/coverage.rst b/go/documentation/library-coverage/coverage.rst index db62e156fce3..a1afc7796d05 100644 --- a/go/documentation/library-coverage/coverage.rst +++ b/go/documentation/library-coverage/coverage.rst @@ -12,32 +12,46 @@ Go framework & library support `Echo `_,``github.com/labstack/echo*``,12,2, `Fosite `_,``github.com/ory/fosite*``,,,2 `Gin `_,``github.com/gin-gonic/gin*``,46,2, - `Go JOSE `_,"``github.com/go-jose/go-jose*``, ``github.com/square/go-jose*``, ``gopkg.in/square/go-jose*``",,12,9 + `Go JOSE `_,"``github.com/go-jose/go-jose*``, ``github.com/square/go-jose*``, ``gopkg.in/square/go-jose*``, ``gopkg.in/go-jose/go-jose*``",,16,12 `Go kit `_,``github.com/go-kit/kit*``,,,1 + `Gokogiri `_,"``github.com/jbowtie/gokogiri*``, ``github.com/jbowtie/moovweb*``",,,5 `Iris `_,``github.com/kataras/iris*``,,,2 `Kubernetes `_,"``k8s.io/api*``, ``k8s.io/apimachinery*``",,57, `Macaron `_,``gopkg.in/macaron*``,12,1, `Revel `_,"``github.com/revel/revel*``, ``github.com/robfig/revel*``",46,20, `SendGrid `_,``github.com/sendgrid/sendgrid-go*``,,1, `Standard library `_,"````, ``archive/*``, ``bufio``, ``bytes``, ``cmp``, ``compress/*``, ``container/*``, ``context``, ``crypto``, ``crypto/*``, ``database/*``, ``debug/*``, ``embed``, ``encoding``, ``encoding/*``, ``errors``, ``expvar``, ``flag``, ``fmt``, ``go/*``, ``hash``, ``hash/*``, ``html``, ``html/*``, ``image``, ``image/*``, ``index/*``, ``io``, ``io/*``, ``log``, ``log/*``, ``maps``, ``math``, ``math/*``, ``mime``, ``mime/*``, ``net``, ``net/*``, ``os``, ``os/*``, ``path``, ``path/*``, ``plugin``, ``reflect``, ``reflect/*``, ``regexp``, ``regexp/*``, ``slices``, ``sort``, ``strconv``, ``strings``, ``sync``, ``sync/*``, ``syscall``, ``syscall/*``, ``testing``, ``testing/*``, ``text/*``, ``time``, ``time/*``, ``unicode``, ``unicode/*``, ``unsafe``",16,584, + `XPath `_,``github.com/antchfx/xpath*``,,,4 + `appleboy/gin-jwt `_,``github.com/appleboy/gin-jwt*``,,,1 `beego `_,"``github.com/astaxie/beego*``, ``github.com/beego/beego*``",63,63, `chi `_,``github.com/go-chi/chi*``,3,, `cristalhq/jwt `_,``github.com/cristalhq/jwt*``,,,1 `fasthttp `_,``github.com/valyala/fasthttp*``,50,5,25 + `gf-jwt `_,``github.com/gogf/gf-jwt*``,,,1 `go-pg `_,``github.com/go-pg/pg*``,,6, `go-restful `_,``github.com/emicklei/go-restful*``,7,, `golang.org/x/net `_,``golang.org/x/net*``,2,21, `goproxy `_,``github.com/elazarl/goproxy*``,2,2, `gorilla/mux `_,``github.com/gorilla/mux*``,1,, + `gorilla/websocket `_,``github.com/gorilla/websocket*``,3,, + `goxpath `_,``github.com/ChrisTrenkamp/goxpath*``,,,3 + `htmlquery `_,``github.com/antchfx/htmlquery*``,,,4 `json-iterator `_,``github.com/json-iterator/go*``,,4, `jsonpatch `_,``github.com/evanphx/json-patch*``,,12, + `jsonquery `_,``github.com/antchfx/jsonquery*``,,,4 `jwt-go `_,"``github.com/golang-jwt/jwt*``, ``github.com/form3tech-oss/jwt-go*``, ``github.com/dgrijalva/jwt-go*``",,20,8 `jwtauth `_,``github.com/go-chi/jwtauth*``,,,1 `kataras/jwt `_,``github.com/kataras/jwt*``,,,5 `lestrrat-go/jwx `_,"``github.com/lestrrat-go/jwx*``, ``github.com/lestrrat/go-jwx*``",,,3 + `lestrrat-go/libxml2 `_,``github.com/lestrrat-go/libxml2*``,,,3 + `nhooyr.io/websocket `_,``nhooyr.io/websocket*``,2,, `protobuf `_,"``github.com/golang/protobuf*``, ``google.golang.org/protobuf*``",,16, + `ws `_,``github.com/gobwas/ws*``,2,, + `xmlpath `_,"``gopkg.in/xmlpath*``, ``github.com/go-xmlpath/xmlpath*``, ``github.com/crankycoder/xmlpath*``, ``launchpad.net/xmlpath*``, ``github.com/masterzen/xmlpath*``, ``github.com/going/toolkit/xmlpath*``, ``gopkg.in/go-xmlpath/xmlpath*``",,,14 + `xmlquery `_,``github.com/antchfx/xmlquery*``,,,8 + `xpathparser `_,``github.com/santhosh-tekuri/xpathparser*``,,,2 `yaml `_,``gopkg.in/yaml*``,,9, `zap `_,``go.uber.org/zap*``,,11, - Others,"``github.com/ChrisTrenkamp/goxpath``, ``github.com/antchfx/htmlquery``, ``github.com/antchfx/jsonquery``, ``github.com/antchfx/xmlquery``, ``github.com/antchfx/xpath``, ``github.com/appleboy/gin-jwt``, ``github.com/go-xmlpath/xmlpath``, ``github.com/gobwas/ws``, ``github.com/gogf/gf-jwt``, ``github.com/gorilla/websocket``, ``github.com/jbowtie/gokogiri/xml``, ``github.com/jbowtie/gokogiri/xpath``, ``github.com/lestrrat-go/libxml2/parser``, ``github.com/santhosh-tekuri/xpathparser``, ``nhooyr.io/websocket``",7,,37 - Totals,,267,902,94 + Others,"``github.com/moovweb/gokogiri/xml``, ``github.com/moovweb/gokogiri/xpath``",,,5 + Totals,,267,906,114 diff --git a/go/extractor/BUILD.bazel b/go/extractor/BUILD.bazel index ded27a11177b..860dcef5e73e 100644 --- a/go/extractor/BUILD.bazel +++ b/go/extractor/BUILD.bazel @@ -21,8 +21,8 @@ go_library( "//go/extractor/toolchain", "//go/extractor/trap", "//go/extractor/util", - "@org_golang_x_mod//modfile:go_default_library", - "@org_golang_x_tools//go/packages:go_default_library", + "@org_golang_x_mod//modfile", + "@org_golang_x_tools//go/packages", ], ) diff --git a/go/extractor/dbscheme/BUILD.bazel b/go/extractor/dbscheme/BUILD.bazel index 379c2fb93d39..02727d6d101a 100644 --- a/go/extractor/dbscheme/BUILD.bazel +++ b/go/extractor/dbscheme/BUILD.bazel @@ -12,6 +12,6 @@ go_library( visibility = ["//visibility:public"], deps = [ "//go/extractor/trap", - "@org_golang_x_tools//go/packages:go_default_library", + "@org_golang_x_tools//go/packages", ], ) diff --git a/go/extractor/go.mod b/go/extractor/go.mod index bc26e980e3d2..c067db32f41c 100644 --- a/go/extractor/go.mod +++ b/go/extractor/go.mod @@ -7,7 +7,7 @@ go 1.22.0 // when adding or removing dependencies, run // bazel mod tidy require ( - golang.org/x/mod v0.19.0 + golang.org/x/mod v0.20.0 golang.org/x/tools v0.23.0 ) diff --git a/go/extractor/go.sum b/go/extractor/go.sum index 4ef85421b150..06d792ebb01c 100644 --- a/go/extractor/go.sum +++ b/go/extractor/go.sum @@ -1,5 +1,5 @@ -golang.org/x/mod v0.19.0 h1:fEdghXQSo20giMthA7cd28ZC+jts4amQ3YMXiP5oMQ8= -golang.org/x/mod v0.19.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= +golang.org/x/mod v0.20.0 h1:utOm6MM3R3dnawAiJgn0y+xvuYRsm1RKM/4giyfDgV0= +golang.org/x/mod v0.20.0/go.mod h1:hTbmBsO62+eylJbnUtE2MGJUyE7QWk4xUqPFrRgJ+7c= golang.org/x/sync v0.7.0 h1:YsImfSBoP9QPYL0xyKJPq0gcaJdG3rInoqxTWbfQu9M= golang.org/x/sync v0.7.0/go.mod h1:Czt+wKu1gCyEFDUtn0jG5QVvpJ6rzVqr5aXyt9drQfk= golang.org/x/tools v0.23.0 h1:SGsXPZ+2l4JsgaCKkx+FQ9YZ5XEtA1GZYuoDjenLjvg= diff --git a/go/extractor/project/BUILD.bazel b/go/extractor/project/BUILD.bazel index 7a8627ae8b1b..b79bbd15f0c9 100644 --- a/go/extractor/project/BUILD.bazel +++ b/go/extractor/project/BUILD.bazel @@ -11,7 +11,7 @@ go_library( "//go/extractor/diagnostics", "//go/extractor/toolchain", "//go/extractor/util", - "@org_golang_x_mod//modfile:go_default_library", + "@org_golang_x_mod//modfile", ], ) @@ -21,6 +21,6 @@ go_test( embed = [":project"], deps = [ "//go/extractor/util", - "@org_golang_x_mod//modfile:go_default_library", + "@org_golang_x_mod//modfile", ], ) diff --git a/go/extractor/trap/BUILD.bazel b/go/extractor/trap/BUILD.bazel index 80973ec94c17..5e858d2384d4 100644 --- a/go/extractor/trap/BUILD.bazel +++ b/go/extractor/trap/BUILD.bazel @@ -14,7 +14,7 @@ go_library( deps = [ "//go/extractor/srcarchive", "//go/extractor/util", - "@org_golang_x_tools//go/packages:go_default_library", + "@org_golang_x_tools//go/packages", ], ) diff --git a/go/extractor/util/BUILD.bazel b/go/extractor/util/BUILD.bazel index 41e81a907ef3..d0195e05be23 100644 --- a/go/extractor/util/BUILD.bazel +++ b/go/extractor/util/BUILD.bazel @@ -10,7 +10,7 @@ go_library( ], importpath = "github.com/github/codeql-go/extractor/util", visibility = ["//visibility:public"], - deps = ["@org_golang_x_mod//semver:go_default_library"], + deps = ["@org_golang_x_mod//semver"], ) go_test( @@ -20,5 +20,5 @@ go_test( "util_test.go", ], embed = [":util"], - deps = ["@org_golang_x_mod//semver:go_default_library"], + deps = ["@org_golang_x_mod//semver"], ) diff --git a/go/gen.py b/go/gen.py index eb74db7bddd9..0d638d8af587 100644 --- a/go/gen.py +++ b/go/gen.py @@ -24,7 +24,7 @@ def options(): opts = options() try: - workspace_dir = pathlib.Path(os.environ.pop('BUILD_WORKSPACE_DIRECTORY')) + workspace_dir = pathlib.Path(os.environ['BUILD_WORKSPACE_DIRECTORY']) except KeyError: print("this should be run with bazel run", file=sys.stderr) sys.exit(1) diff --git a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest2.expected b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest2.expected index 237d6f9ec3f2..b2e051de42c0 100644 --- a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest2.expected +++ b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest2.expected @@ -1,13 +1,12 @@ models -| 1 | Source: github.com/nonexistent/sources; ; false; ExecuteQuery; ; ; ReturnValue; database; manual | -| 1 | Summary: archive/tar; ; false; NewReader; ; ; Argument[0]; ReturnValue; taint; manual | -| 2 | Source: net/http; Request; true; URL; ; ; ; remote; manual | -| 3 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | -| 4 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 1 | Source: net/http; Request; true; URL; ; ; ; remote; manual | +| 2 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 3 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 4 | Source: github.com/nonexistent/sources; ; false; ExecuteQuery; ; ; ReturnValue; database; manual | edges -| test.go:27:11:27:63 | call to ExecuteQuery | test.go:28:7:28:11 | query | provenance | Src:MaD:1 | -| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:2 MaD:3 | -| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:4 | +| test.go:27:11:27:63 | call to ExecuteQuery | test.go:28:7:28:11 | query | provenance | Src:MaD:4 | +| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:1 MaD:2 | +| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:3 | | test.go:32:11:32:36 | call to Get | test.go:34:7:34:30 | ...+... | provenance | | nodes | test.go:27:11:27:63 | call to ExecuteQuery | semmle.label | call to ExecuteQuery | diff --git a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest3.expected b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest3.expected index 9ffc723fe494..1937b4151ca1 100644 --- a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest3.expected +++ b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest3.expected @@ -1,19 +1,16 @@ models -| 1 | Source: github.com/nonexistent/sources; ; false; ExecuteQuery; ; ; ReturnValue; database; manual | -| 1 | Summary: archive/tar; ; false; NewReader; ; ; Argument[0]; ReturnValue; taint; manual | -| 2 | Source: github.com/nonexistent/sources; ; false; ReadEnvironment; ; ; ReturnValue; environment; manual | -| 2 | Summary: archive/tar; Header; true; FileInfo; ; ; Argument[receiver]; ReturnValue; taint; manual | -| 3 | Source: github.com/nonexistent/sources; ; false; GetCliArg; ; ; ReturnValue; commandargs; manual | -| 3 | Summary: archive/tar; Writer; true; WriteHeader; ; ; Argument[0]; Argument[receiver]; taint; manual | -| 4 | Source: net/http; Request; true; URL; ; ; ; remote; manual | -| 5 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | -| 6 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 1 | Source: net/http; Request; true; URL; ; ; ; remote; manual | +| 2 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 3 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 4 | Source: github.com/nonexistent/sources; ; false; ExecuteQuery; ; ; ReturnValue; database; manual | +| 5 | Source: github.com/nonexistent/sources; ; false; ReadEnvironment; ; ; ReturnValue; environment; manual | +| 6 | Source: github.com/nonexistent/sources; ; false; GetCliArg; ; ; ReturnValue; commandargs; manual | edges -| test.go:9:10:9:40 | call to ReadEnvironment | test.go:11:7:11:29 | ...+... | provenance | Src:MaD:2 | -| test.go:15:9:15:32 | call to GetCliArg | test.go:17:7:17:28 | ...+... | provenance | Src:MaD:3 | -| test.go:27:11:27:63 | call to ExecuteQuery | test.go:28:7:28:11 | query | provenance | Src:MaD:1 | -| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:4 MaD:5 | -| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:6 | +| test.go:9:10:9:40 | call to ReadEnvironment | test.go:11:7:11:29 | ...+... | provenance | Src:MaD:5 | +| test.go:15:9:15:32 | call to GetCliArg | test.go:17:7:17:28 | ...+... | provenance | Src:MaD:6 | +| test.go:27:11:27:63 | call to ExecuteQuery | test.go:28:7:28:11 | query | provenance | Src:MaD:4 | +| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:1 MaD:2 | +| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:3 | | test.go:32:11:32:36 | call to Get | test.go:34:7:34:30 | ...+... | provenance | | nodes | test.go:9:10:9:40 | call to ReadEnvironment | semmle.label | call to ReadEnvironment | diff --git a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest4.expected b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest4.expected index c7f567ee43c8..a1fc6350c642 100644 --- a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest4.expected +++ b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest4.expected @@ -1,22 +1,18 @@ models -| 1 | Source: github.com/nonexistent/sources; ; false; ExecuteQuery; ; ; ReturnValue; database; manual | -| 1 | Summary: archive/tar; ; false; NewReader; ; ; Argument[0]; ReturnValue; taint; manual | -| 2 | Source: github.com/nonexistent/sources; ; false; ReadEnvironment; ; ; ReturnValue; environment; manual | -| 2 | Summary: archive/tar; Header; true; FileInfo; ; ; Argument[receiver]; ReturnValue; taint; manual | -| 3 | Source: github.com/nonexistent/sources; ; false; GetCustom; ; ; ReturnValue; custom; manual | -| 3 | Summary: archive/tar; Reader; true; Next; ; ; Argument[receiver]; ReturnValue[0]; taint; manual | -| 4 | Source: github.com/nonexistent/sources; ; false; GetCliArg; ; ; ReturnValue; commandargs; manual | -| 4 | Summary: archive/tar; Writer; true; WriteHeader; ; ; Argument[0]; Argument[receiver]; taint; manual | -| 5 | Source: net/http; Request; true; URL; ; ; ; remote; manual | -| 6 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | -| 7 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 1 | Source: net/http; Request; true; URL; ; ; ; remote; manual | +| 2 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 3 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 4 | Source: github.com/nonexistent/sources; ; false; ExecuteQuery; ; ; ReturnValue; database; manual | +| 5 | Source: github.com/nonexistent/sources; ; false; ReadEnvironment; ; ; ReturnValue; environment; manual | +| 6 | Source: github.com/nonexistent/sources; ; false; GetCustom; ; ; ReturnValue; custom; manual | +| 7 | Source: github.com/nonexistent/sources; ; false; GetCliArg; ; ; ReturnValue; commandargs; manual | edges -| test.go:9:10:9:40 | call to ReadEnvironment | test.go:11:7:11:29 | ...+... | provenance | Src:MaD:2 | -| test.go:15:9:15:32 | call to GetCliArg | test.go:17:7:17:28 | ...+... | provenance | Src:MaD:4 | -| test.go:21:11:21:36 | call to GetCustom | test.go:23:7:23:30 | ...+... | provenance | Src:MaD:3 | -| test.go:27:11:27:63 | call to ExecuteQuery | test.go:28:7:28:11 | query | provenance | Src:MaD:1 | -| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:5 MaD:6 | -| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:7 | +| test.go:9:10:9:40 | call to ReadEnvironment | test.go:11:7:11:29 | ...+... | provenance | Src:MaD:5 | +| test.go:15:9:15:32 | call to GetCliArg | test.go:17:7:17:28 | ...+... | provenance | Src:MaD:7 | +| test.go:21:11:21:36 | call to GetCustom | test.go:23:7:23:30 | ...+... | provenance | Src:MaD:6 | +| test.go:27:11:27:63 | call to ExecuteQuery | test.go:28:7:28:11 | query | provenance | Src:MaD:4 | +| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:1 MaD:2 | +| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:3 | | test.go:32:11:32:36 | call to Get | test.go:34:7:34:30 | ...+... | provenance | | nodes | test.go:9:10:9:40 | call to ReadEnvironment | semmle.label | call to ReadEnvironment | diff --git a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest5.expected b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest5.expected index 0319a163a51e..6566430af632 100644 --- a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest5.expected +++ b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest5.expected @@ -1,16 +1,14 @@ models -| 1 | Source: github.com/nonexistent/sources; ; false; ReadEnvironment; ; ; ReturnValue; environment; manual | -| 1 | Summary: archive/tar; Reader; true; Next; ; ; Argument[receiver]; ReturnValue[0]; taint; manual | -| 2 | Source: github.com/nonexistent/sources; ; false; GetCliArg; ; ; ReturnValue; commandargs; manual | -| 2 | Summary: archive/zip; ; false; FileInfoHeader; ; ; Argument[0]; ReturnValue[0]; taint; manual | -| 3 | Source: net/http; Request; true; URL; ; ; ; remote; manual | -| 4 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | -| 5 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 1 | Source: net/http; Request; true; URL; ; ; ; remote; manual | +| 2 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 3 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 4 | Source: github.com/nonexistent/sources; ; false; ReadEnvironment; ; ; ReturnValue; environment; manual | +| 5 | Source: github.com/nonexistent/sources; ; false; GetCliArg; ; ; ReturnValue; commandargs; manual | edges -| test.go:9:10:9:40 | call to ReadEnvironment | test.go:11:7:11:29 | ...+... | provenance | Src:MaD:1 | -| test.go:15:9:15:32 | call to GetCliArg | test.go:17:7:17:28 | ...+... | provenance | Src:MaD:2 | -| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:3 MaD:4 | -| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:5 | +| test.go:9:10:9:40 | call to ReadEnvironment | test.go:11:7:11:29 | ...+... | provenance | Src:MaD:4 | +| test.go:15:9:15:32 | call to GetCliArg | test.go:17:7:17:28 | ...+... | provenance | Src:MaD:5 | +| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:1 MaD:2 | +| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:3 | | test.go:32:11:32:36 | call to Get | test.go:34:7:34:30 | ...+... | provenance | | nodes | test.go:9:10:9:40 | call to ReadEnvironment | semmle.label | call to ReadEnvironment | diff --git a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest6.expected b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest6.expected index 4c0d7a2e052d..19a8eb77b6b5 100644 --- a/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest6.expected +++ b/go/ql/test/library-tests/semmle/go/dataflow/ThreatModels/threat-models-flowtest6.expected @@ -1,16 +1,14 @@ models -| 1 | Source: github.com/nonexistent/sources; ; false; ExecuteQuery; ; ; ReturnValue; database; manual | -| 1 | Summary: archive/tar; Header; true; FileInfo; ; ; Argument[receiver]; ReturnValue; taint; manual | -| 2 | Source: github.com/nonexistent/sources; ; false; GetCliArg; ; ; ReturnValue; commandargs; manual | -| 2 | Summary: archive/zip; ; false; FileInfoHeader; ; ; Argument[0]; ReturnValue[0]; taint; manual | -| 3 | Source: net/http; Request; true; URL; ; ; ; remote; manual | -| 4 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | -| 5 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 1 | Source: net/http; Request; true; URL; ; ; ; remote; manual | +| 2 | Summary: net/url; URL; true; Query; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 3 | Summary: net/url; Values; true; Get; ; ; Argument[receiver]; ReturnValue; taint; manual | +| 4 | Source: github.com/nonexistent/sources; ; false; ExecuteQuery; ; ; ReturnValue; database; manual | +| 5 | Source: github.com/nonexistent/sources; ; false; GetCliArg; ; ; ReturnValue; commandargs; manual | edges -| test.go:15:9:15:32 | call to GetCliArg | test.go:17:7:17:28 | ...+... | provenance | Src:MaD:2 | -| test.go:27:11:27:63 | call to ExecuteQuery | test.go:28:7:28:11 | query | provenance | Src:MaD:1 | -| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:3 MaD:4 | -| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:5 | +| test.go:15:9:15:32 | call to GetCliArg | test.go:17:7:17:28 | ...+... | provenance | Src:MaD:5 | +| test.go:27:11:27:63 | call to ExecuteQuery | test.go:28:7:28:11 | query | provenance | Src:MaD:4 | +| test.go:32:11:32:15 | selection of URL | test.go:32:11:32:23 | call to Query | provenance | Src:MaD:1 MaD:2 | +| test.go:32:11:32:23 | call to Query | test.go:32:11:32:36 | call to Get | provenance | MaD:3 | | test.go:32:11:32:36 | call to Get | test.go:34:7:34:30 | ...+... | provenance | | nodes | test.go:15:9:15:32 | call to GetCliArg | semmle.label | call to GetCliArg | diff --git a/java/documentation/library-coverage/coverage.csv b/java/documentation/library-coverage/coverage.csv index 901bb4765c1b..25c712a96a72 100644 --- a/java/documentation/library-coverage/coverage.csv +++ b/java/documentation/library-coverage/coverage.csv @@ -197,7 +197,7 @@ org.apache.shiro.mgt,1,,,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, org.apache.sshd.client.session,3,,,,,,1,2,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,, org.apache.struts.beanvalidation.validation.interceptor,,,4,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4, org.apache.struts2,14,,3873,,,,,,,,,,,,,,,,,,,,,,,11,,,,,,,,,,,,,,3,,,,,,,,,,,3839,34 -org.apache.tools.ant,12,,,,1,,,,,,,,,,,,,,,,,,,,,,11,,,,,,,,,,,,,,,,,,,,,,,,, +org.apache.tools.ant,14,,,,1,,,,,,,,,,,,,,,,,,,,,,13,,,,,,,,,,,,,,,,,,,,,,,,, org.apache.tools.zip,,,1,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,1, org.apache.velocity.app,4,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,,,,,,,,,,,,, org.apache.velocity.runtime,4,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,4,,,,,,,,,,,,, diff --git a/java/documentation/library-coverage/coverage.rst b/java/documentation/library-coverage/coverage.rst index 80b11aee74b8..82fc6ba13de4 100644 --- a/java/documentation/library-coverage/coverage.rst +++ b/java/documentation/library-coverage/coverage.rst @@ -22,6 +22,6 @@ Java framework & library support Java extensions,"``javax.*``, ``jakarta.*``",69,3257,90,10,4,2,1,1,4 Kotlin Standard Library,``kotlin*``,,1849,16,14,,,,,2 `Spring `_,``org.springframework.*``,38,486,122,5,,28,14,,35 - Others,"``actions.osgi``, ``antlr``, ``ch.ethz.ssh2``, ``cn.hutool.core.codec``, ``com.alibaba.druid.sql``, ``com.alibaba.fastjson2``, ``com.amazonaws.auth``, ``com.auth0.jwt.algorithms``, ``com.azure.identity``, ``com.esotericsoftware.kryo.io``, ``com.esotericsoftware.kryo5.io``, ``com.fasterxml.jackson.core``, ``com.fasterxml.jackson.databind``, ``com.google.gson``, ``com.hubspot.jinjava``, ``com.jcraft.jsch``, ``com.microsoft.sqlserver.jdbc``, ``com.mitchellbosecke.pebble``, ``com.mongodb``, ``com.opensymphony.xwork2``, ``com.rabbitmq.client``, ``com.sshtools.j2ssh.authentication``, ``com.sun.crypto.provider``, ``com.sun.jndi.ldap``, ``com.sun.net.httpserver``, ``com.sun.net.ssl``, ``com.sun.rowset``, ``com.sun.security.auth.module``, ``com.sun.security.ntlm``, ``com.sun.security.sasl.digest``, ``com.thoughtworks.xstream``, ``com.trilead.ssh2``, ``com.unboundid.ldap.sdk``, ``com.zaxxer.hikari``, ``flexjson``, ``freemarker.cache``, ``freemarker.template``, ``groovy.lang``, ``groovy.text``, ``groovy.util``, ``hudson``, ``io.jsonwebtoken``, ``io.netty.bootstrap``, ``io.netty.buffer``, ``io.netty.channel``, ``io.netty.handler.codec``, ``io.netty.handler.ssl``, ``io.netty.handler.stream``, ``io.netty.resolver``, ``io.netty.util``, ``io.undertow.server.handlers.resource``, ``javafx.scene.web``, ``jenkins``, ``jodd.json``, ``liquibase.database.jvm``, ``liquibase.statement.core``, ``net.schmizz.sshj``, ``net.sf.json``, ``net.sf.saxon.s9api``, ``ognl``, ``okhttp3``, ``org.acegisecurity``, ``org.antlr.runtime``, ``org.apache.commons.codec``, ``org.apache.commons.compress.archivers.tar``, ``org.apache.commons.exec``, ``org.apache.commons.httpclient.util``, ``org.apache.commons.jelly``, ``org.apache.commons.jexl2``, ``org.apache.commons.jexl3``, ``org.apache.commons.lang``, ``org.apache.commons.logging``, ``org.apache.commons.net``, ``org.apache.commons.ognl``, ``org.apache.cxf.catalog``, ``org.apache.cxf.common.classloader``, ``org.apache.cxf.common.jaxb``, ``org.apache.cxf.common.logging``, ``org.apache.cxf.configuration.jsse``, ``org.apache.cxf.helpers``, ``org.apache.cxf.resource``, ``org.apache.cxf.staxutils``, ``org.apache.cxf.tools.corba.utils``, ``org.apache.cxf.tools.util``, ``org.apache.cxf.transform``, ``org.apache.directory.ldap.client.api``, ``org.apache.hadoop.fs``, ``org.apache.hadoop.hive.metastore``, ``org.apache.hadoop.hive.ql.exec``, ``org.apache.hadoop.hive.ql.metadata``, ``org.apache.hc.client5.http.async.methods``, ``org.apache.hc.client5.http.classic.methods``, ``org.apache.hc.client5.http.fluent``, ``org.apache.hive.hcatalog.templeton``, ``org.apache.ibatis.jdbc``, ``org.apache.ibatis.mapping``, ``org.apache.log4j``, ``org.apache.shiro.codec``, ``org.apache.shiro.jndi``, ``org.apache.shiro.mgt``, ``org.apache.sshd.client.session``, ``org.apache.struts.beanvalidation.validation.interceptor``, ``org.apache.struts2``, ``org.apache.tools.ant``, ``org.apache.tools.zip``, ``org.apache.velocity.app``, ``org.apache.velocity.runtime``, ``org.codehaus.cargo.container.installer``, ``org.codehaus.groovy.control``, ``org.dom4j``, ``org.eclipse.jetty.client``, ``org.fusesource.leveldbjni``, ``org.geogebra.web.full.main``, ``org.gradle.api.file``, ``org.hibernate``, ``org.influxdb``, ``org.jboss.vfs``, ``org.jdbi.v3.core``, ``org.jenkins.ui.icon``, ``org.jenkins.ui.symbol``, ``org.jooq``, ``org.keycloak.models.map.storage``, ``org.kohsuke.stapler``, ``org.lastaflute.web``, ``org.mvel2``, ``org.openjdk.jmh.runner.options``, ``org.owasp.esapi``, ``org.pac4j.jwt.config.encryption``, ``org.pac4j.jwt.config.signature``, ``org.scijava.log``, ``org.slf4j``, ``org.thymeleaf``, ``org.w3c.dom``, ``org.xml.sax``, ``org.xmlpull.v1``, ``org.yaml.snakeyaml``, ``play.libs.ws``, ``play.mvc``, ``ratpack.core.form``, ``ratpack.core.handling``, ``ratpack.core.http``, ``ratpack.exec``, ``ratpack.form``, ``ratpack.func``, ``ratpack.handling``, ``ratpack.http``, ``ratpack.util``, ``retrofit2``, ``sun.awt``, ``sun.jvmstat.perfdata.monitor.protocol.local``, ``sun.jvmstat.perfdata.monitor.protocol.rmi``, ``sun.management.spi``, ``sun.misc``, ``sun.net.ftp``, ``sun.net.www.protocol.http``, ``sun.nio.ch``, ``sun.security.acl``, ``sun.security.jgss.krb5``, ``sun.security.krb5``, ``sun.security.pkcs``, ``sun.security.pkcs11``, ``sun.security.provider``, ``sun.security.ssl``, ``sun.security.x509``, ``sun.tools.jconsole``, ``sun.util.logging.internal``",132,10603,896,128,6,22,18,,208 - Totals,,311,25147,2598,367,16,128,33,1,409 + Others,"``actions.osgi``, ``antlr``, ``ch.ethz.ssh2``, ``cn.hutool.core.codec``, ``com.alibaba.druid.sql``, ``com.alibaba.fastjson2``, ``com.amazonaws.auth``, ``com.auth0.jwt.algorithms``, ``com.azure.identity``, ``com.esotericsoftware.kryo.io``, ``com.esotericsoftware.kryo5.io``, ``com.fasterxml.jackson.core``, ``com.fasterxml.jackson.databind``, ``com.google.gson``, ``com.hubspot.jinjava``, ``com.jcraft.jsch``, ``com.microsoft.sqlserver.jdbc``, ``com.mitchellbosecke.pebble``, ``com.mongodb``, ``com.opensymphony.xwork2``, ``com.rabbitmq.client``, ``com.sshtools.j2ssh.authentication``, ``com.sun.crypto.provider``, ``com.sun.jndi.ldap``, ``com.sun.net.httpserver``, ``com.sun.net.ssl``, ``com.sun.rowset``, ``com.sun.security.auth.module``, ``com.sun.security.ntlm``, ``com.sun.security.sasl.digest``, ``com.thoughtworks.xstream``, ``com.trilead.ssh2``, ``com.unboundid.ldap.sdk``, ``com.zaxxer.hikari``, ``flexjson``, ``freemarker.cache``, ``freemarker.template``, ``groovy.lang``, ``groovy.text``, ``groovy.util``, ``hudson``, ``io.jsonwebtoken``, ``io.netty.bootstrap``, ``io.netty.buffer``, ``io.netty.channel``, ``io.netty.handler.codec``, ``io.netty.handler.ssl``, ``io.netty.handler.stream``, ``io.netty.resolver``, ``io.netty.util``, ``io.undertow.server.handlers.resource``, ``javafx.scene.web``, ``jenkins``, ``jodd.json``, ``liquibase.database.jvm``, ``liquibase.statement.core``, ``net.schmizz.sshj``, ``net.sf.json``, ``net.sf.saxon.s9api``, ``ognl``, ``okhttp3``, ``org.acegisecurity``, ``org.antlr.runtime``, ``org.apache.commons.codec``, ``org.apache.commons.compress.archivers.tar``, ``org.apache.commons.exec``, ``org.apache.commons.httpclient.util``, ``org.apache.commons.jelly``, ``org.apache.commons.jexl2``, ``org.apache.commons.jexl3``, ``org.apache.commons.lang``, ``org.apache.commons.logging``, ``org.apache.commons.net``, ``org.apache.commons.ognl``, ``org.apache.cxf.catalog``, ``org.apache.cxf.common.classloader``, ``org.apache.cxf.common.jaxb``, ``org.apache.cxf.common.logging``, ``org.apache.cxf.configuration.jsse``, ``org.apache.cxf.helpers``, ``org.apache.cxf.resource``, ``org.apache.cxf.staxutils``, ``org.apache.cxf.tools.corba.utils``, ``org.apache.cxf.tools.util``, ``org.apache.cxf.transform``, ``org.apache.directory.ldap.client.api``, ``org.apache.hadoop.fs``, ``org.apache.hadoop.hive.metastore``, ``org.apache.hadoop.hive.ql.exec``, ``org.apache.hadoop.hive.ql.metadata``, ``org.apache.hc.client5.http.async.methods``, ``org.apache.hc.client5.http.classic.methods``, ``org.apache.hc.client5.http.fluent``, ``org.apache.hive.hcatalog.templeton``, ``org.apache.ibatis.jdbc``, ``org.apache.ibatis.mapping``, ``org.apache.log4j``, ``org.apache.shiro.codec``, ``org.apache.shiro.jndi``, ``org.apache.shiro.mgt``, ``org.apache.sshd.client.session``, ``org.apache.struts.beanvalidation.validation.interceptor``, ``org.apache.struts2``, ``org.apache.tools.ant``, ``org.apache.tools.zip``, ``org.apache.velocity.app``, ``org.apache.velocity.runtime``, ``org.codehaus.cargo.container.installer``, ``org.codehaus.groovy.control``, ``org.dom4j``, ``org.eclipse.jetty.client``, ``org.fusesource.leveldbjni``, ``org.geogebra.web.full.main``, ``org.gradle.api.file``, ``org.hibernate``, ``org.influxdb``, ``org.jboss.vfs``, ``org.jdbi.v3.core``, ``org.jenkins.ui.icon``, ``org.jenkins.ui.symbol``, ``org.jooq``, ``org.keycloak.models.map.storage``, ``org.kohsuke.stapler``, ``org.lastaflute.web``, ``org.mvel2``, ``org.openjdk.jmh.runner.options``, ``org.owasp.esapi``, ``org.pac4j.jwt.config.encryption``, ``org.pac4j.jwt.config.signature``, ``org.scijava.log``, ``org.slf4j``, ``org.thymeleaf``, ``org.w3c.dom``, ``org.xml.sax``, ``org.xmlpull.v1``, ``org.yaml.snakeyaml``, ``play.libs.ws``, ``play.mvc``, ``ratpack.core.form``, ``ratpack.core.handling``, ``ratpack.core.http``, ``ratpack.exec``, ``ratpack.form``, ``ratpack.func``, ``ratpack.handling``, ``ratpack.http``, ``ratpack.util``, ``retrofit2``, ``sun.awt``, ``sun.jvmstat.perfdata.monitor.protocol.local``, ``sun.jvmstat.perfdata.monitor.protocol.rmi``, ``sun.management.spi``, ``sun.misc``, ``sun.net.ftp``, ``sun.net.www.protocol.http``, ``sun.nio.ch``, ``sun.security.acl``, ``sun.security.jgss.krb5``, ``sun.security.krb5``, ``sun.security.pkcs``, ``sun.security.pkcs11``, ``sun.security.provider``, ``sun.security.ssl``, ``sun.security.x509``, ``sun.tools.jconsole``, ``sun.util.logging.internal``",132,10603,898,130,6,22,18,,208 + Totals,,311,25147,2600,369,16,128,33,1,409 diff --git a/java/ql/lib/ext/experimental/java.nio.model.yml b/java/ql/lib/ext/experimental/java.nio.model.yml new file mode 100644 index 000000000000..6d6af865a395 --- /dev/null +++ b/java/ql/lib/ext/experimental/java.nio.model.yml @@ -0,0 +1,8 @@ +extensions: + - addsTo: + pack: codeql/java-all + extensible: sinkModel + data: + - ["java.nio.file","FileSystems",true,"getFileSystem","(URI)","","Argument[0]","path-injection","manual"] + - ["java.nio.channels","AsynchronousFileChannel",true,"open","(Path,OpenOption[])","","Argument[0]","path-injection","manual"] + - ["java.nio.channels","AsynchronousFileChannel",true,"open","(Path,Set,ExecutorService,FileAttribute[])","","Argument[0]","path-injection","manual"] \ No newline at end of file diff --git a/java/ql/lib/ext/experimental/java.util.zip.model.yml b/java/ql/lib/ext/experimental/java.util.zip.model.yml new file mode 100644 index 000000000000..fb7b8f6671b7 --- /dev/null +++ b/java/ql/lib/ext/experimental/java.util.zip.model.yml @@ -0,0 +1,6 @@ +extensions: + - addsTo: + pack: codeql/java-all + extensible: sinkModel + data: + - ["java.util.zip","ZipFile",true,"ZipFile","(String)","","Argument[0]","path-injection","manual"] \ No newline at end of file diff --git a/java/ql/lib/ext/experimental/s3-transfer-manager.model.yml b/java/ql/lib/ext/experimental/s3-transfer-manager.model.yml new file mode 100644 index 000000000000..bd3a385ac04d --- /dev/null +++ b/java/ql/lib/ext/experimental/s3-transfer-manager.model.yml @@ -0,0 +1,13 @@ +extensions: + - addsTo: + pack: codeql/java-all + extensible: sinkModel + data: + - ["software.amazon.awssdk.transfer.s3.model","ResumableFileUpload",true,"serializeToFile","(Path)","","Argument[0]","path-injection","manual"] + - ["software.amazon.awssdk.transfer.s3.model","DownloadFileRequest$Builder",true,"destination","(Path)","","Argument[0]","path-injection","manual"] + - ["software.amazon.awssdk.transfer.s3.model","UploadFileRequest$Builder",true,"source","(Path)","","Argument[0]","path-injection","manual"] + - ["software.amazon.awssdk.transfer.s3.model","DownloadDirectoryRequest$Builder",true,"destination","(Path)","","Argument[0]","path-injection","manual"] + - ["software.amazon.awssdk.transfer.s3.model","ResumableFileDownload",true,"fromFile","(Path)","","Argument[0]","path-injection","manual"] + - ["software.amazon.awssdk.transfer.s3.model","ResumableFileDownload",true,"serializeToFile","(Path)","","Argument[0]","path-injection","manual"] + - ["software.amazon.awssdk.transfer.s3.model","ResumableFileUpload",true,"fromFile","(Path)","","Argument[0]","path-injection","manual"] + - ["software.amazon.awssdk.transfer.s3.model","UploadDirectoryRequest$Builder",true,"source","(Path)","","Argument[0]","path-injection","manual"] diff --git a/java/ql/lib/ext/experimental/spring-core.model.yml b/java/ql/lib/ext/experimental/spring-core.model.yml new file mode 100644 index 000000000000..a43486504723 --- /dev/null +++ b/java/ql/lib/ext/experimental/spring-core.model.yml @@ -0,0 +1,26 @@ +extensions: + - addsTo: + pack: codeql/java-all + extensible: sinkModel + data: + - ["org.springframework.core.io","FileSystemResource",true,"FileSystemResource","(FileSystem,String)","","Argument[1]","path-injection","manual"] + - ["org.springframework.core.io","FileSystemResource",true,"FileSystemResource","(File)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","FileSystemResource",true,"FileSystemResource","(Path)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","FileSystemResource",true,"FileSystemResource","(String)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","FileUrlResource",true,"FileUrlResource","(String)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","FileUrlResource",true,"FileUrlResource","(URL)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","PathResource",true,"PathResource","(Path)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","PathResource",true,"PathResource","(String)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","PathResource",true,"PathResource","(URI)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","UrlResource",true,"UrlResource","(String,String,String)","","Argument[1]","path-injection","manual"] + - ["org.springframework.core.io","UrlResource",true,"UrlResource","(String,String)","","Argument[1]","path-injection","manual"] + - ["org.springframework.core.io","UrlResource",true,"UrlResource","(String)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","UrlResource",true,"UrlResource","(URI)","","Argument[0]","path-injection","manual"] + - ["org.springframework.core.io","UrlResource",true,"UrlResource","(URL)","","Argument[0]","path-injection","manual"] + - ["org.springframework.util","FileSystemUtils",true,"copyRecursively","(Path,Path)","","Argument[0]","path-injection","manual"] + - ["org.springframework.util","FileSystemUtils",true,"copyRecursively","(Path,Path)","","Argument[1]","path-injection","manual"] + - ["org.springframework.util","FileSystemUtils",true,"deleteRecursively","(File)","","Argument[0]","path-injection","manual"] + - ["org.springframework.util","FileSystemUtils",true,"deleteRecursively","(Path)","","Argument[0]","path-injection","manual"] + - ["org.springframework.util","ResourceUtils",true,"getFile","(String)","","Argument[0]","path-injection","manual"] + - ["org.springframework.util","FileCopyUtils",true,"copyToByteArray","(File)","","Argument[0]","path-injection","manual"] + - ["org.springframework.util","FileSystemUtils",true,"copyRecursively","(File,File)","","Argument[0]","path-injection","manual"] diff --git a/java/ql/lib/ext/experimental/zip4j.model.yml b/java/ql/lib/ext/experimental/zip4j.model.yml new file mode 100644 index 000000000000..d92b1380d202 --- /dev/null +++ b/java/ql/lib/ext/experimental/zip4j.model.yml @@ -0,0 +1,7 @@ +extensions: + - addsTo: + pack: codeql/java-all + extensible: sinkModel + data: + - ["net.lingala.zip4j","ZipFile",true,"extractAll","(String)","","Argument[0]","path-injection","manual"] + - ["net.lingala.zip4j","ZipFile",true,"ZipFile","(String)","","Argument[0]","path-injection","manual"] diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/AmazonS3.java b/java/ql/test/experimental/query-tests/security/CWE-022/AmazonS3.java new file mode 100644 index 000000000000..2d737c64f4d8 --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/AmazonS3.java @@ -0,0 +1,131 @@ +import software.amazon.awssdk.transfer.s3.S3TransferManager; +import software.amazon.awssdk.transfer.s3.model.UploadFileRequest; +import software.amazon.awssdk.transfer.s3.model.FileUpload; +import software.amazon.awssdk.transfer.s3.model.FileDownload; +import software.amazon.awssdk.transfer.s3.model.DirectoryUpload; +import software.amazon.awssdk.transfer.s3.model.CompletedDirectoryUpload; +import software.amazon.awssdk.transfer.s3.model.DirectoryDownload; +import software.amazon.awssdk.transfer.s3.model.CompletedDirectoryDownload; +import software.amazon.awssdk.transfer.s3.model.DownloadDirectoryRequest; +import software.amazon.awssdk.transfer.s3.model.DownloadFileRequest; +import software.amazon.awssdk.transfer.s3.model.ResumableFileUpload; +import software.amazon.awssdk.transfer.s3.model.UploadDirectoryRequest; +import software.amazon.awssdk.transfer.s3.model.ResumableFileDownload; +import software.amazon.awssdk.transfer.s3.model.CompletedFileUpload; +import software.amazon.awssdk.transfer.s3.model.CompletedFileDownload; +import software.amazon.awssdk.transfer.s3.progress.LoggingTransferListener; + +import java.net.URI; +import java.nio.file.Paths; + +public class AmazonS3 { + S3TransferManager transferManager = S3TransferManager.create(); + String bucketName = "bucketTest"; + String key = "keyTest"; + + public String uploadFile(URI filePathURI) { + UploadFileRequest uploadFileRequest = + UploadFileRequest.builder() + .putObjectRequest(b -> b.bucket(this.bucketName).key(this.key)) + .addTransferListener(LoggingTransferListener.create()) + .source(Paths.get(filePathURI)) // $ hasTaintFlow="get(...)" + .build(); + + FileUpload fileUpload = this.transferManager.uploadFile(uploadFileRequest); + + CompletedFileUpload uploadResult = fileUpload.completionFuture().join(); + return uploadResult.response().eTag(); + } + + public String uploadFileResumable(URI filePathURI) { + UploadFileRequest uploadFileRequest = + UploadFileRequest.builder() + .putObjectRequest(b -> b.bucket(this.bucketName).key(this.key)) + .addTransferListener(LoggingTransferListener.create()) + .source(Paths.get(filePathURI)) // $ hasTaintFlow="get(...)" + .build(); + + // Initiate the transfer + FileUpload upload = this.transferManager.uploadFile(uploadFileRequest); + // Pause the upload + ResumableFileUpload resumableFileUpload = upload.pause(); + // Optionally, persist the resumableFileUpload + resumableFileUpload.serializeToFile(Paths.get(filePathURI)); // $ hasTaintFlow="get(...)" + // Retrieve the resumableFileUpload from the file + ResumableFileUpload persistedResumableFileUpload = + ResumableFileUpload.fromFile(Paths.get(filePathURI)); // $ hasTaintFlow="get(...)" + // Resume the upload + FileUpload resumedUpload = this.transferManager.resumeUploadFile(persistedResumableFileUpload); + // Wait for the transfer to complete + resumedUpload.completionFuture().join(); + FileUpload fileUpload = this.transferManager.uploadFile(uploadFileRequest); + CompletedFileUpload uploadResult = fileUpload.completionFuture().join(); + return uploadResult.response().eTag(); + } + + public String downloadFileResumable(URI downloadedFileWithPath) { + DownloadFileRequest downloadFileRequest = + DownloadFileRequest.builder() + .getObjectRequest(b -> b.bucket(this.bucketName).key(this.key)) + .addTransferListener(LoggingTransferListener.create()) + .destination(Paths.get(downloadedFileWithPath)) // $ hasTaintFlow="get(...)" + .build(); + + // Initiate the transfer + FileDownload download = this.transferManager.downloadFile(downloadFileRequest); + // Pause the download + ResumableFileDownload resumableFileDownload = download.pause(); + // Optionally, persist the resumableFileDownload + resumableFileDownload.serializeToFile(Paths.get(downloadedFileWithPath)); // $ hasTaintFlow="get(...)" + // Retrieve the resumableFileDownload from the file + ResumableFileDownload persistedResumableFileDownload = + ResumableFileDownload.fromFile(Paths.get(downloadedFileWithPath)); // $ hasTaintFlow="get(...)" + // Resume the download + FileDownload resumedDownload = + this.transferManager.resumeDownloadFile(persistedResumableFileDownload); + // Wait for the transfer to complete + resumedDownload.completionFuture().join(); + FileDownload filedownload = this.transferManager.downloadFile(downloadFileRequest); + CompletedFileDownload downloadResult = filedownload.completionFuture().join(); + return downloadResult.response().eTag(); + } + + public Integer uploadDirectory(URI sourceDirectory) { + DirectoryUpload directoryUpload = + this.transferManager.uploadDirectory( + UploadDirectoryRequest.builder() + .source(Paths.get(sourceDirectory)) // $ hasTaintFlow="get(...)" + .bucket(this.bucketName) + .build()); + + CompletedDirectoryUpload completedDirectoryUpload = directoryUpload.completionFuture().join(); + return completedDirectoryUpload.failedTransfers().size(); + } + + public Long downloadFile(String downloadedFileWithPath) { + DownloadFileRequest downloadFileRequest = + DownloadFileRequest.builder() + .getObjectRequest(b -> b.bucket(this.bucketName).key(this.key)) + .addTransferListener(LoggingTransferListener.create()) + .destination(Paths.get(downloadedFileWithPath)) // $ hasTaintFlow="get(...)" + .build(); + + FileDownload downloadFile = this.transferManager.downloadFile(downloadFileRequest); + + CompletedFileDownload downloadResult = downloadFile.completionFuture().join(); + return downloadResult.response().contentLength(); + } + + public Integer downloadObjectsToDirectory(URI destinationPathURI) { + DirectoryDownload directoryDownload = + this.transferManager.downloadDirectory( + DownloadDirectoryRequest.builder() + .destination(Paths.get(destinationPathURI)) // $ hasTaintFlow="get(...)" + .bucket(this.bucketName) + .build()); + CompletedDirectoryDownload completedDirectoryDownload = + directoryDownload.completionFuture().join(); + + return completedDirectoryDownload.failedTransfers().size(); + } +} diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/JavaNio.java b/java/ql/test/experimental/query-tests/security/CWE-022/JavaNio.java new file mode 100644 index 000000000000..f8258bcc173e --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/JavaNio.java @@ -0,0 +1,39 @@ +import java.io.IOException; +import java.io.File; +import java.nio.channels.AsynchronousFileChannel; +import java.nio.file.Path; +import java.nio.file.LinkOption; +import java.nio.file.FileSystems; +import java.nio.file.attribute.FileAttribute; +import java.util.Set; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.Executors; + +public class JavaNio { + static class FileAttr implements FileAttribute { + public String name() { + return "file"; + } + + public String value() { + return "value"; + } + } + + public void PathInjection(Path src, File srcF) throws IOException { + AsynchronousFileChannel.open(src); // $ hasTaintFlow="src" + AsynchronousFileChannel.open(src, LinkOption.NOFOLLOW_LINKS); // $ hasTaintFlow="src" + AsynchronousFileChannel.open( + src, LinkOption.NOFOLLOW_LINKS, LinkOption.NOFOLLOW_LINKS); // $ hasTaintFlow="src" + ExecutorService executor = Executors.newFixedThreadPool(10); + AsynchronousFileChannel.open( + src, Set.of(LinkOption.NOFOLLOW_LINKS), executor); // $ hasTaintFlow="src" + AsynchronousFileChannel.open( + src, // $ hasTaintFlow="src" + Set.of(LinkOption.NOFOLLOW_LINKS), + executor, + new FileAttr()); + + FileSystems.getFileSystem(srcF.toURI()); // $ hasTaintFlow="toURI(...)" + } +} diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/Main.java b/java/ql/test/experimental/query-tests/security/CWE-022/Main.java new file mode 100755 index 000000000000..24f92764062e --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/Main.java @@ -0,0 +1,35 @@ +import java.io.BufferedReader; +import java.io.InputStreamReader; +import java.io.File; +import java.io.IOException; +import java.nio.charset.StandardCharsets; +import java.nio.file.Path; +import java.net.Socket; + +public class Main { + public void sendUserFileGood(Socket sock) throws IOException { + BufferedReader filenameReader = + new BufferedReader(new InputStreamReader(sock.getInputStream(), StandardCharsets.UTF_8)); + String path = filenameReader.readLine(); + Path src = Path.of(path); + File srcF = new File(path); + + new JavaNio().PathInjection(src, srcF); + + new SpringIo().PathInjection(path); + + AmazonS3 s3PathInjection = new AmazonS3(); + s3PathInjection.downloadFileResumable(src.toUri()); + s3PathInjection.downloadFile(path); + s3PathInjection.downloadObjectsToDirectory(src.toUri()); + s3PathInjection.uploadFileResumable(src.toUri()); + s3PathInjection.uploadDirectory(src.toUri()); + s3PathInjection.uploadFile(src.toUri()); + + Zip4j zip4jfile = new Zip4j(); + zip4jfile.PathInjection(path); + + ZipFile zipfile = new ZipFile(); + zipfile.PathInjection(path); + } +} diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/PathInjection.iml b/java/ql/test/experimental/query-tests/security/CWE-022/PathInjection.iml new file mode 100644 index 000000000000..e6989da962e9 --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/PathInjection.iml @@ -0,0 +1,8 @@ + + + + + + + + \ No newline at end of file diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/SpringIo.java b/java/ql/test/experimental/query-tests/security/CWE-022/SpringIo.java new file mode 100755 index 000000000000..1293c0f122d0 --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/SpringIo.java @@ -0,0 +1,46 @@ +import java.io.File; +import java.io.IOException; +import java.net.URI; +import java.nio.file.FileSystems; +import java.nio.file.Path; +import java.nio.file.Paths; +import org.springframework.core.io.FileUrlResource; +import org.springframework.core.io.FileSystemResource; +import org.springframework.core.io.PathResource; +import org.springframework.core.io.UrlResource; +import org.springframework.util.FileCopyUtils; +import org.springframework.util.FileSystemUtils; + +public class SpringIo { + public void PathInjection(String path) throws IOException { + Path fileStorageLocation = Paths.get(path).toAbsolutePath().normalize(); + Path filePath = fileStorageLocation.resolve(path).normalize(); + File pathFile = new File(path); + + new UrlResource(filePath.toUri()); // $ hasTaintFlow="toUri(...)" + new UrlResource(filePath.toUri().toURL()); // $ hasTaintFlow="toURL(...)" + new UrlResource("file", path); // $ hasTaintFlow="path" + new UrlResource("file", path, "#"); // $ hasTaintFlow="path" + new UrlResource(path); // $ hasTaintFlow="path" + + new PathResource(path); // $ hasTaintFlow="path" + new PathResource(filePath); // $ hasTaintFlow="filePath" + new PathResource(filePath.toUri()); // $ hasTaintFlow="toUri(...)" + + new FileUrlResource(filePath.toUri().toURL()); // $ hasTaintFlow="toURL(...)" + new FileUrlResource(path); // $ hasTaintFlow="path" + + new FileSystemResource(pathFile); // $ hasTaintFlow="pathFile" + new FileSystemResource(path); // $ hasTaintFlow="path" + new FileSystemResource(filePath); // $ hasTaintFlow="filePath" + new FileSystemResource( + FileSystems.getFileSystem(URI.create("file:///")), path); // $ hasTaintFlow="path" + + FileSystemUtils.copyRecursively(filePath, filePath.resolve("/newPath")); // $ hasTaintFlow="filePath" hasTaintFlow="resolve(...)" + FileSystemUtils.copyRecursively(pathFile, pathFile); // $ hasTaintFlow="pathFile" + FileSystemUtils.deleteRecursively(pathFile); // $ hasTaintFlow="pathFile" + FileSystemUtils.deleteRecursively(filePath); // $ hasTaintFlow="filePath" + FileCopyUtils.copy(pathFile, pathFile); // $ hasTaintFlow="pathFile" + FileCopyUtils.copyToByteArray(pathFile); // $ hasTaintFlow="pathFile" + } +} diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/TaintedPath.expected b/java/ql/test/experimental/query-tests/security/CWE-022/TaintedPath.expected new file mode 100644 index 000000000000..e69de29bb2d1 diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/TaintedPath.ql b/java/ql/test/experimental/query-tests/security/CWE-022/TaintedPath.ql new file mode 100644 index 000000000000..36efd8724cc4 --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/TaintedPath.ql @@ -0,0 +1,9 @@ +import java +import TestUtilities.InlineFlowTest +import semmle.code.java.security.TaintedPathQuery +import TaintFlowTestArgString + +string getArgString(DataFlow::Node src, DataFlow::Node sink) { + exists(src) and + result = "\"" + sink.toString() + "\"" +} diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/Zip4j.java b/java/ql/test/experimental/query-tests/security/CWE-022/Zip4j.java new file mode 100755 index 000000000000..d600b2a0e263 --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/Zip4j.java @@ -0,0 +1,9 @@ +import java.io.IOException; +import net.lingala.zip4j.ZipFile; + +public class Zip4j { + public void PathInjection(String path) throws IOException { + ZipFile zipfile = new ZipFile(path); // $ hasTaintFlow="path" + zipfile.extractAll(path); // $ hasTaintFlow="path" + } +} diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/ZipFile.java b/java/ql/test/experimental/query-tests/security/CWE-022/ZipFile.java new file mode 100755 index 000000000000..0cd0d3421e93 --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/ZipFile.java @@ -0,0 +1,7 @@ +import java.io.IOException; + +public class ZipFile { + public void PathInjection(String path) throws IOException { + new java.util.zip.ZipFile(path); // $ hasTaintFlow="path" + } +} diff --git a/java/ql/test/experimental/query-tests/security/CWE-022/options b/java/ql/test/experimental/query-tests/security/CWE-022/options new file mode 100644 index 000000000000..ff1b8857e3d5 --- /dev/null +++ b/java/ql/test/experimental/query-tests/security/CWE-022/options @@ -0,0 +1 @@ +//semmle-extractor-options: --javac-args -cp ${testdir}/../../../stubs/lingala-zip4j-2.11.5:${testdir}/../../../stubs/software-amazon-awssdk-crt-0.20.3:${testdir}/../../../../stubs/springframework-5.3.8:${testdir}/../../../stubs/reactivestreams-1.0.4:${testdir}/../../../../stubs/slf4j-2.0.0 diff --git a/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/ZipFile.java b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/ZipFile.java new file mode 100644 index 000000000000..243f3fd2f564 --- /dev/null +++ b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/ZipFile.java @@ -0,0 +1,78 @@ +// Generated automatically from net.lingala.zip4j.ZipFile for testing purposes + +package net.lingala.zip4j; + +import java.io.Closeable; +import java.io.File; +import java.io.InputStream; +import java.nio.charset.Charset; +import java.util.List; +import java.util.Map; +import java.util.concurrent.ExecutorService; +import java.util.concurrent.ThreadFactory; +import net.lingala.zip4j.io.inputstream.ZipInputStream; +import net.lingala.zip4j.model.FileHeader; +import net.lingala.zip4j.model.UnzipParameters; +import net.lingala.zip4j.model.ZipParameters; +import net.lingala.zip4j.progress.ProgressMonitor; + +public class ZipFile implements Closeable +{ + protected ZipFile() {} + public Charset getCharset(){ return null; } + public ExecutorService getExecutorService(){ return null; } + public File getFile(){ return null; } + public FileHeader getFileHeader(String p0){ return null; } + public List getSplitZipFiles(){ return null; } + public List getFileHeaders(){ return null; } + public ProgressMonitor getProgressMonitor(){ return null; } + public String getComment(){ return null; } + public String toString(){ return null; } + public ZipFile(File p0){} + public ZipFile(File p0, char[] p1){} + public ZipFile(String p0){} + public ZipFile(String p0, char[] p1){} + public ZipInputStream getInputStream(FileHeader p0){ return null; } + public boolean isEncrypted(){ return false; } + public boolean isRunInThread(){ return false; } + public boolean isSplitArchive(){ return false; } + public boolean isUseUtf8CharsetForPasswords(){ return false; } + public boolean isValidZipFile(){ return false; } + public int getBufferSize(){ return 0; } + public void addFile(File p0){} + public void addFile(File p0, ZipParameters p1){} + public void addFile(String p0){} + public void addFile(String p0, ZipParameters p1){} + public void addFiles(List p0){} + public void addFiles(List p0, ZipParameters p1){} + public void addFolder(File p0){} + public void addFolder(File p0, ZipParameters p1){} + public void addStream(InputStream p0, ZipParameters p1){} + public void close(){} + public void createSplitZipFile(List p0, ZipParameters p1, boolean p2, long p3){} + public void createSplitZipFileFromFolder(File p0, ZipParameters p1, boolean p2, long p3){} + public void extractAll(String p0){} + public void extractAll(String p0, UnzipParameters p1){} + public void extractFile(FileHeader p0, String p1){} + public void extractFile(FileHeader p0, String p1, String p2){} + public void extractFile(FileHeader p0, String p1, String p2, UnzipParameters p3){} + public void extractFile(FileHeader p0, String p1, UnzipParameters p2){} + public void extractFile(String p0, String p1){} + public void extractFile(String p0, String p1, String p2){} + public void extractFile(String p0, String p1, String p2, UnzipParameters p3){} + public void extractFile(String p0, String p1, UnzipParameters p2){} + public void mergeSplitFiles(File p0){} + public void removeFile(FileHeader p0){} + public void removeFile(String p0){} + public void removeFiles(List p0){} + public void renameFile(FileHeader p0, String p1){} + public void renameFile(String p0, String p1){} + public void renameFiles(Map p0){} + public void setBufferSize(int p0){} + public void setCharset(Charset p0){} + public void setComment(String p0){} + public void setPassword(char[] p0){} + public void setRunInThread(boolean p0){} + public void setThreadFactory(ThreadFactory p0){} + public void setUseUtf8CharsetForPasswords(boolean p0){} +} diff --git a/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/ExcludeFileFilter.java b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/ExcludeFileFilter.java new file mode 100644 index 000000000000..4b6405560f98 --- /dev/null +++ b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/ExcludeFileFilter.java @@ -0,0 +1,10 @@ +// Generated automatically from net.lingala.zip4j.model.ExcludeFileFilter for testing purposes + +package net.lingala.zip4j.model; + +import java.io.File; + +public interface ExcludeFileFilter +{ + boolean isExcluded(File p0); +} diff --git a/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/UnzipParameters.java b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/UnzipParameters.java new file mode 100644 index 000000000000..556607b0fb28 --- /dev/null +++ b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/UnzipParameters.java @@ -0,0 +1,11 @@ +// Generated automatically from net.lingala.zip4j.model.UnzipParameters for testing purposes + +package net.lingala.zip4j.model; + + +public class UnzipParameters +{ + public UnzipParameters(){} + public boolean isExtractSymbolicLinks(){ return false; } + public void setExtractSymbolicLinks(boolean p0){} +} diff --git a/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/ZipParameters.java b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/ZipParameters.java new file mode 100644 index 000000000000..c80a03bcd363 --- /dev/null +++ b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/ZipParameters.java @@ -0,0 +1,63 @@ +// Generated automatically from net.lingala.zip4j.model.ZipParameters for testing purposes + +package net.lingala.zip4j.model; + +import net.lingala.zip4j.model.ExcludeFileFilter; +import net.lingala.zip4j.model.enums.AesKeyStrength; +import net.lingala.zip4j.model.enums.AesVersion; +import net.lingala.zip4j.model.enums.CompressionLevel; +import net.lingala.zip4j.model.enums.CompressionMethod; +import net.lingala.zip4j.model.enums.EncryptionMethod; + +public class ZipParameters +{ + public AesKeyStrength getAesKeyStrength(){ return null; } + public AesVersion getAesVersion(){ return null; } + public CompressionLevel getCompressionLevel(){ return null; } + public CompressionMethod getCompressionMethod(){ return null; } + public EncryptionMethod getEncryptionMethod(){ return null; } + public ExcludeFileFilter getExcludeFileFilter(){ return null; } + public String getDefaultFolderPath(){ return null; } + public String getFileComment(){ return null; } + public String getFileNameInZip(){ return null; } + public String getRootFolderNameInZip(){ return null; } + public ZipParameters(){} + public ZipParameters(ZipParameters p0){} + public ZipParameters.SymbolicLinkAction getSymbolicLinkAction(){ return null; } + public boolean isEncryptFiles(){ return false; } + public boolean isIncludeRootFolder(){ return false; } + public boolean isOverrideExistingFilesInZip(){ return false; } + public boolean isReadHiddenFiles(){ return false; } + public boolean isReadHiddenFolders(){ return false; } + public boolean isUnixMode(){ return false; } + public boolean isWriteExtendedLocalFileHeader(){ return false; } + public long getEntryCRC(){ return 0; } + public long getEntrySize(){ return 0; } + public long getLastModifiedFileTime(){ return 0; } + public void setAesKeyStrength(AesKeyStrength p0){} + public void setAesVersion(AesVersion p0){} + public void setCompressionLevel(CompressionLevel p0){} + public void setCompressionMethod(CompressionMethod p0){} + public void setDefaultFolderPath(String p0){} + public void setEncryptFiles(boolean p0){} + public void setEncryptionMethod(EncryptionMethod p0){} + public void setEntryCRC(long p0){} + public void setEntrySize(long p0){} + public void setExcludeFileFilter(ExcludeFileFilter p0){} + public void setFileComment(String p0){} + public void setFileNameInZip(String p0){} + public void setIncludeRootFolder(boolean p0){} + public void setLastModifiedFileTime(long p0){} + public void setOverrideExistingFilesInZip(boolean p0){} + public void setReadHiddenFiles(boolean p0){} + public void setReadHiddenFolders(boolean p0){} + public void setRootFolderNameInZip(String p0){} + public void setSymbolicLinkAction(ZipParameters.SymbolicLinkAction p0){} + public void setUnixMode(boolean p0){} + public void setWriteExtendedLocalFileHeader(boolean p0){} + static public enum SymbolicLinkAction + { + INCLUDE_LINKED_FILE_ONLY, INCLUDE_LINK_AND_LINKED_FILE, INCLUDE_LINK_ONLY; + private SymbolicLinkAction() {} + } +} diff --git a/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/enums/CompressionLevel.java b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/enums/CompressionLevel.java new file mode 100644 index 000000000000..65f4cce3d005 --- /dev/null +++ b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/model/enums/CompressionLevel.java @@ -0,0 +1,11 @@ +// Generated automatically from net.lingala.zip4j.model.enums.CompressionLevel for testing purposes + +package net.lingala.zip4j.model.enums; + + +public enum CompressionLevel +{ + FAST, FASTER, FASTEST, HIGHER, MAXIMUM, MEDIUM_FAST, NORMAL, NO_COMPRESSION, PRE_ULTRA, ULTRA; + private CompressionLevel() {} + public int getLevel(){ return 0; } +} diff --git a/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/progress/ProgressMonitor.java b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/progress/ProgressMonitor.java new file mode 100644 index 000000000000..5ed078cb4c2d --- /dev/null +++ b/java/ql/test/experimental/stubs/lingala-zip4j-2.11.5/net/lingala/zip4j/progress/ProgressMonitor.java @@ -0,0 +1,47 @@ +// Generated automatically from net.lingala.zip4j.progress.ProgressMonitor for testing purposes + +package net.lingala.zip4j.progress; + + +public class ProgressMonitor +{ + public Exception getException(){ return null; } + public ProgressMonitor(){} + public ProgressMonitor.Result getResult(){ return null; } + public ProgressMonitor.State getState(){ return null; } + public ProgressMonitor.Task getCurrentTask(){ return null; } + public String getFileName(){ return null; } + public boolean isCancelAllTasks(){ return false; } + public boolean isPause(){ return false; } + public int getPercentDone(){ return 0; } + public long getTotalWork(){ return 0; } + public long getWorkCompleted(){ return 0; } + public void endProgressMonitor(){} + public void endProgressMonitor(Exception p0){} + public void fullReset(){} + public void setCancelAllTasks(boolean p0){} + public void setCurrentTask(ProgressMonitor.Task p0){} + public void setException(Exception p0){} + public void setFileName(String p0){} + public void setPause(boolean p0){} + public void setPercentDone(int p0){} + public void setResult(ProgressMonitor.Result p0){} + public void setState(ProgressMonitor.State p0){} + public void setTotalWork(long p0){} + public void updateWorkCompleted(long p0){} + static public enum Result + { + CANCELLED, ERROR, SUCCESS, WORK_IN_PROGRESS; + private Result() {} + } + static public enum State + { + BUSY, READY; + private State() {} + } + static public enum Task + { + ADD_ENTRY, CALCULATE_CRC, EXTRACT_ENTRY, MERGE_ZIP_FILES, NONE, REMOVE_ENTRY, RENAME_FILE, SET_COMMENT; + private Task() {} + } +} diff --git a/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Publisher.java b/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Publisher.java new file mode 100644 index 000000000000..fc09b92d498b --- /dev/null +++ b/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Publisher.java @@ -0,0 +1,10 @@ +// Generated automatically from org.reactivestreams.Publisher for testing purposes + +package org.reactivestreams; + +import org.reactivestreams.Subscriber; + +public interface Publisher +{ + void subscribe(org.reactivestreams.Subscriber p0); +} diff --git a/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Subscriber.java b/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Subscriber.java new file mode 100644 index 000000000000..d8c1e2531bb5 --- /dev/null +++ b/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Subscriber.java @@ -0,0 +1,13 @@ +// Generated automatically from org.reactivestreams.Subscriber for testing purposes + +package org.reactivestreams; + +import org.reactivestreams.Subscription; + +public interface Subscriber +{ + void onComplete(); + void onError(Throwable p0); + void onNext(T p0); + void onSubscribe(Subscription p0); +} diff --git a/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Subscription.java b/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Subscription.java new file mode 100644 index 000000000000..af7df5d4de67 --- /dev/null +++ b/java/ql/test/experimental/stubs/reactivestreams-1.0.4/org/reactivestreams/Subscription.java @@ -0,0 +1,10 @@ +// Generated automatically from org.reactivestreams.Subscription for testing purposes + +package org.reactivestreams; + + +public interface Subscription +{ + void cancel(); + void request(long p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/auth/credentials/AwsCredentials.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/auth/credentials/AwsCredentials.java new file mode 100644 index 000000000000..1a0f0318ccb0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/auth/credentials/AwsCredentials.java @@ -0,0 +1,10 @@ +// Generated automatically from software.amazon.awssdk.auth.credentials.AwsCredentials for testing purposes + +package software.amazon.awssdk.auth.credentials; + + +public interface AwsCredentials +{ + String accessKeyId(); + String secretAccessKey(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/auth/credentials/AwsCredentialsProvider.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/auth/credentials/AwsCredentialsProvider.java new file mode 100644 index 000000000000..ed8e9983f013 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/auth/credentials/AwsCredentialsProvider.java @@ -0,0 +1,10 @@ +// Generated automatically from software.amazon.awssdk.auth.credentials.AwsCredentialsProvider for testing purposes + +package software.amazon.awssdk.auth.credentials; + +import software.amazon.awssdk.auth.credentials.AwsCredentials; + +public interface AwsCredentialsProvider +{ + AwsCredentials resolveCredentials(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsRequest.java new file mode 100644 index 000000000000..3345d092b061 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsRequest.java @@ -0,0 +1,25 @@ +// Generated automatically from software.amazon.awssdk.awscore.AwsRequest for testing purposes + +package software.amazon.awssdk.awscore; + +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkRequest; + +abstract public class AwsRequest extends SdkRequest +{ + protected AwsRequest() {} + protected AwsRequest(AwsRequest.Builder p0){} + public abstract AwsRequest.Builder toBuilder(); + public boolean equals(Object p0){ return false; } + public final Optional overrideConfiguration(){ return null; } + public int hashCode(){ return 0; } + static public interface Builder extends SdkRequest.Builder + { + AwsRequest build(); + AwsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + AwsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + AwsRequestOverrideConfiguration overrideConfiguration(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsRequestOverrideConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsRequestOverrideConfiguration.java new file mode 100644 index 000000000000..992a174e303c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsRequestOverrideConfiguration.java @@ -0,0 +1,25 @@ +// Generated automatically from software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration for testing purposes + +package software.amazon.awssdk.awscore; + +import java.util.Optional; +import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider; +import software.amazon.awssdk.core.RequestOverrideConfiguration; +import software.amazon.awssdk.utils.builder.SdkBuilder; + +public class AwsRequestOverrideConfiguration extends RequestOverrideConfiguration +{ + protected AwsRequestOverrideConfiguration() {} + public AwsRequestOverrideConfiguration.Builder toBuilder(){ return null; } + public Optional credentialsProvider(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static AwsRequestOverrideConfiguration from(RequestOverrideConfiguration p0){ return null; } + public static AwsRequestOverrideConfiguration.Builder builder(){ return null; } + static public interface Builder extends RequestOverrideConfiguration.Builder, SdkBuilder + { + AwsCredentialsProvider credentialsProvider(); + AwsRequestOverrideConfiguration build(); + AwsRequestOverrideConfiguration.Builder credentialsProvider(AwsCredentialsProvider p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsResponse.java new file mode 100644 index 000000000000..294f7d9895f6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsResponse.java @@ -0,0 +1,22 @@ +// Generated automatically from software.amazon.awssdk.awscore.AwsResponse for testing purposes + +package software.amazon.awssdk.awscore; + +import software.amazon.awssdk.awscore.AwsResponseMetadata; +import software.amazon.awssdk.core.SdkResponse; + +abstract public class AwsResponse extends SdkResponse +{ + protected AwsResponse() {} + protected AwsResponse(AwsResponse.Builder p0){} + public AwsResponseMetadata responseMetadata(){ return null; } + public abstract AwsResponse.Builder toBuilder(); + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + static public interface Builder extends SdkResponse.Builder + { + AwsResponse build(); + AwsResponse.Builder responseMetadata(AwsResponseMetadata p0); + AwsResponseMetadata responseMetadata(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsResponseMetadata.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsResponseMetadata.java new file mode 100644 index 000000000000..f514b0bbfd1c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/AwsResponseMetadata.java @@ -0,0 +1,17 @@ +// Generated automatically from software.amazon.awssdk.awscore.AwsResponseMetadata for testing purposes + +package software.amazon.awssdk.awscore; + +import java.util.Map; + +abstract public class AwsResponseMetadata +{ + protected AwsResponseMetadata() {} + protected AwsResponseMetadata(AwsResponseMetadata p0){} + protected AwsResponseMetadata(Map p0){} + protected final String getValue(String p0){ return null; } + public String requestId(){ return null; } + public boolean equals(Object p0){ return false; } + public final String toString(){ return null; } + public int hashCode(){ return 0; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/client/builder/AwsAsyncClientBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/client/builder/AwsAsyncClientBuilder.java new file mode 100644 index 000000000000..59f40276abfd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/client/builder/AwsAsyncClientBuilder.java @@ -0,0 +1,9 @@ +// Generated automatically from software.amazon.awssdk.awscore.client.builder.AwsAsyncClientBuilder for testing purposes + +package software.amazon.awssdk.awscore.client.builder; + +import software.amazon.awssdk.core.client.builder.SdkAsyncClientBuilder; + +public interface AwsAsyncClientBuilder, C> extends SdkAsyncClientBuilder +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/client/builder/AwsClientBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/client/builder/AwsClientBuilder.java new file mode 100644 index 000000000000..68e068cf2995 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/client/builder/AwsClientBuilder.java @@ -0,0 +1,17 @@ +// Generated automatically from software.amazon.awssdk.awscore.client.builder.AwsClientBuilder for testing purposes + +package software.amazon.awssdk.awscore.client.builder; + +import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider; +import software.amazon.awssdk.awscore.defaultsmode.DefaultsMode; +import software.amazon.awssdk.core.client.builder.SdkClientBuilder; +import software.amazon.awssdk.regions.Region; + +public interface AwsClientBuilder, ClientT> extends SdkClientBuilder +{ + BuilderT credentialsProvider(AwsCredentialsProvider p0); + BuilderT dualstackEnabled(Boolean p0); + BuilderT fipsEnabled(Boolean p0); + BuilderT region(Region p0); + default BuilderT defaultsMode(DefaultsMode p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/defaultsmode/DefaultsMode.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/defaultsmode/DefaultsMode.java new file mode 100644 index 000000000000..759afc7c326a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/defaultsmode/DefaultsMode.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.awscore.defaultsmode.DefaultsMode for testing purposes + +package software.amazon.awssdk.awscore.defaultsmode; + + +public enum DefaultsMode +{ + AUTO, CROSS_REGION, IN_REGION, LEGACY, MOBILE, STANDARD; + private DefaultsMode() {} + public String toString(){ return null; } + public static DefaultsMode fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/eventstream/EventStreamResponseHandler.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/eventstream/EventStreamResponseHandler.java new file mode 100644 index 000000000000..f75654709ea9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/awscore/eventstream/EventStreamResponseHandler.java @@ -0,0 +1,27 @@ +// Generated automatically from software.amazon.awssdk.awscore.eventstream.EventStreamResponseHandler for testing purposes + +package software.amazon.awssdk.awscore.eventstream; + +import java.util.function.Consumer; +import java.util.function.Function; +import java.util.function.Supplier; +import org.reactivestreams.Subscriber; +import software.amazon.awssdk.core.async.SdkPublisher; + +public interface EventStreamResponseHandler +{ + static public interface Builder + { + SubBuilderT onComplete(Runnable p0); + SubBuilderT onError(Consumer p0); + SubBuilderT onEventStream(Consumer> p0); + SubBuilderT onResponse(Consumer p0); + SubBuilderT publisherTransformer(Function, software.amazon.awssdk.core.async.SdkPublisher> p0); + SubBuilderT subscriber(Consumer p0); + SubBuilderT subscriber(Supplier> p0); + } + void complete(); + void exceptionOccurred(Throwable p0); + void onEventStream(software.amazon.awssdk.core.async.SdkPublisher p0); + void responseReceived(ResponseT p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ApiName.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ApiName.java new file mode 100644 index 000000000000..83751580cb66 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ApiName.java @@ -0,0 +1,18 @@ +// Generated automatically from software.amazon.awssdk.core.ApiName for testing purposes + +package software.amazon.awssdk.core; + + +public class ApiName +{ + protected ApiName() {} + public String name(){ return null; } + public String version(){ return null; } + public static ApiName.Builder builder(){ return null; } + static public interface Builder + { + ApiName build(); + ApiName.Builder name(String p0); + ApiName.Builder version(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/BytesWrapper.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/BytesWrapper.java new file mode 100644 index 000000000000..fd43538fbd63 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/BytesWrapper.java @@ -0,0 +1,21 @@ +// Generated automatically from software.amazon.awssdk.core.BytesWrapper for testing purposes + +package software.amazon.awssdk.core; + +import java.io.InputStream; +import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import software.amazon.awssdk.http.ContentStreamProvider; + +abstract public class BytesWrapper +{ + public boolean equals(Object p0){ return false; } + public final ByteBuffer asByteBuffer(){ return null; } + public final ContentStreamProvider asContentStreamProvider(){ return null; } + public final InputStream asInputStream(){ return null; } + public final String asString(Charset p0){ return null; } + public final String asUtf8String(){ return null; } + public final byte[] asByteArray(){ return null; } + public final byte[] asByteArrayUnsafe(){ return null; } + public int hashCode(){ return 0; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/CredentialType.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/CredentialType.java new file mode 100644 index 000000000000..2a23d68f5b1e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/CredentialType.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.core.CredentialType for testing purposes + +package software.amazon.awssdk.core; + + +public class CredentialType +{ + protected CredentialType() {} + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CredentialType TOKEN = null; + public static CredentialType of(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/FileTransformerConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/FileTransformerConfiguration.java new file mode 100644 index 000000000000..13beaff477d4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/FileTransformerConfiguration.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.core.FileTransformerConfiguration for testing purposes + +package software.amazon.awssdk.core; + +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class FileTransformerConfiguration implements ToCopyableBuilder +{ + protected FileTransformerConfiguration() {} + public FileTransformerConfiguration.Builder toBuilder(){ return null; } + public FileTransformerConfiguration.FailureBehavior failureBehavior(){ return null; } + public FileTransformerConfiguration.FileWriteOption fileWriteOption(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static FileTransformerConfiguration defaultCreateNew(){ return null; } + public static FileTransformerConfiguration defaultCreateOrAppend(){ return null; } + public static FileTransformerConfiguration defaultCreateOrReplaceExisting(){ return null; } + public static FileTransformerConfiguration.Builder builder(){ return null; } + static public enum FailureBehavior + { + DELETE, LEAVE; + private FailureBehavior() {} + } + static public enum FileWriteOption + { + CREATE_NEW, CREATE_OR_APPEND_TO_EXISTING, CREATE_OR_REPLACE_EXISTING; + private FileWriteOption() {} + } + static public interface Builder extends CopyableBuilder + { + FileTransformerConfiguration.Builder failureBehavior(FileTransformerConfiguration.FailureBehavior p0); + FileTransformerConfiguration.Builder fileWriteOption(FileTransformerConfiguration.FileWriteOption p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/RequestOverrideConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/RequestOverrideConfiguration.java new file mode 100644 index 000000000000..9dfbe54708a3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/RequestOverrideConfiguration.java @@ -0,0 +1,58 @@ +// Generated automatically from software.amazon.awssdk.core.RequestOverrideConfiguration for testing purposes + +package software.amazon.awssdk.core; + +import java.time.Duration; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.ApiName; +import software.amazon.awssdk.core.interceptor.ExecutionAttribute; +import software.amazon.awssdk.core.interceptor.ExecutionAttributes; +import software.amazon.awssdk.core.signer.Signer; +import software.amazon.awssdk.metrics.MetricPublisher; + +abstract public class RequestOverrideConfiguration +{ + protected RequestOverrideConfiguration() {} + protected RequestOverrideConfiguration(RequestOverrideConfiguration.Builder p0){} + public ExecutionAttributes executionAttributes(){ return null; } + public List apiNames(){ return null; } + public List metricPublishers(){ return null; } + public Map> headers(){ return null; } + public Map> rawQueryParameters(){ return null; } + public Optional apiCallAttemptTimeout(){ return null; } + public Optional apiCallTimeout(){ return null; } + public Optional signer(){ return null; } + public abstract RequestOverrideConfiguration.Builder toBuilder(); + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + static public interface Builder + { + B putExecutionAttribute(software.amazon.awssdk.core.interceptor.ExecutionAttribute p0, T p1); + B addApiName(ApiName p0); + B addApiName(java.util.function.Consumer p0); + B addMetricPublisher(MetricPublisher p0); + B apiCallAttemptTimeout(Duration p0); + B apiCallTimeout(Duration p0); + B executionAttributes(ExecutionAttributes p0); + B headers(Map> p0); + B metricPublishers(List p0); + B putHeader(String p0, List p1); + B putRawQueryParameter(String p0, List p1); + B rawQueryParameters(Map> p0); + B signer(Signer p0); + Duration apiCallAttemptTimeout(); + Duration apiCallTimeout(); + ExecutionAttributes executionAttributes(); + List apiNames(); + List metricPublishers(); + Map> headers(); + Map> rawQueryParameters(); + RequestOverrideConfiguration build(); + Signer signer(); + default B putHeader(String p0, String p1){ return null; } + default B putRawQueryParameter(String p0, String p1){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ResponseBytes.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ResponseBytes.java new file mode 100644 index 000000000000..caa59f6f250c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ResponseBytes.java @@ -0,0 +1,18 @@ +// Generated automatically from software.amazon.awssdk.core.ResponseBytes for testing purposes + +package software.amazon.awssdk.core; + +import java.io.InputStream; +import software.amazon.awssdk.core.BytesWrapper; + +public class ResponseBytes extends BytesWrapper +{ + protected ResponseBytes() {} + public ResponseT response(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static software.amazon.awssdk.core.ResponseBytes fromByteArray(ResponseT p0, byte[] p1){ return null; } + public static software.amazon.awssdk.core.ResponseBytes fromByteArrayUnsafe(ResponseT p0, byte[] p1){ return null; } + public static software.amazon.awssdk.core.ResponseBytes fromInputStream(ResponseT p0, InputStream p1){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ResponseInputStream.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ResponseInputStream.java new file mode 100644 index 000000000000..f6eb514ad9aa --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ResponseInputStream.java @@ -0,0 +1,17 @@ +// Generated automatically from software.amazon.awssdk.core.ResponseInputStream for testing purposes + +package software.amazon.awssdk.core; + +import java.io.InputStream; +import software.amazon.awssdk.core.io.SdkFilterInputStream; +import software.amazon.awssdk.http.Abortable; +import software.amazon.awssdk.http.AbortableInputStream; + +public class ResponseInputStream extends SdkFilterInputStream implements Abortable +{ + protected ResponseInputStream() {} + public ResponseInputStream(ResponseT p0, AbortableInputStream p1){} + public ResponseInputStream(ResponseT p0, InputStream p1){} + public ResponseT response(){ return null; } + public void abort(){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkBytes.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkBytes.java new file mode 100644 index 000000000000..ccf906534edc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkBytes.java @@ -0,0 +1,21 @@ +// Generated automatically from software.amazon.awssdk.core.SdkBytes for testing purposes + +package software.amazon.awssdk.core; + +import java.io.InputStream; +import java.io.Serializable; +import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import software.amazon.awssdk.core.BytesWrapper; + +public class SdkBytes extends BytesWrapper implements Serializable +{ + protected SdkBytes() {} + public String toString(){ return null; } + public static SdkBytes fromByteArray(byte[] p0){ return null; } + public static SdkBytes fromByteArrayUnsafe(byte[] p0){ return null; } + public static SdkBytes fromByteBuffer(ByteBuffer p0){ return null; } + public static SdkBytes fromInputStream(InputStream p0){ return null; } + public static SdkBytes fromString(String p0, Charset p1){ return null; } + public static SdkBytes fromUtf8String(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkClient.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkClient.java new file mode 100644 index 000000000000..9866575c3e7f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkClient.java @@ -0,0 +1,10 @@ +// Generated automatically from software.amazon.awssdk.core.SdkClient for testing purposes + +package software.amazon.awssdk.core; + +import software.amazon.awssdk.utils.SdkAutoCloseable; + +public interface SdkClient extends SdkAutoCloseable +{ + String serviceName(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkField.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkField.java new file mode 100644 index 000000000000..a81bbf4ab5e9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkField.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.core.SdkField for testing purposes + +package software.amazon.awssdk.core; + +import java.util.Optional; +import java.util.function.BiConsumer; +import java.util.function.Function; +import java.util.function.Supplier; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.core.protocol.MarshallLocation; +import software.amazon.awssdk.core.protocol.MarshallingType; +import software.amazon.awssdk.core.traits.Trait; + +public class SdkField +{ + protected SdkField() {} + public T getRequiredTrait(java.lang.Class p0){ return null; } + public T getTrait(java.lang.Class p0){ return null; } + public java.util.Optional getOptionalTrait(java.lang.Class p0){ return null; } + public MarshallLocation location(){ return null; } + public String locationName(){ return null; } + public String memberName(){ return null; } + public String unmarshallLocationName(){ return null; } + public Supplier constructor(){ return null; } + public TypeT getValueOrDefault(Object p0){ return null; } + public boolean containsTrait(Class p0){ return false; } + public software.amazon.awssdk.core.protocol.MarshallingType marshallingType(){ return null; } + public static SdkField.Builder builder(software.amazon.awssdk.core.protocol.MarshallingType p0){ return null; } + public void set(Object p0, Object p1){} + static public class Builder + { + protected Builder() {} + public SdkField.Builder constructor(Supplier p0){ return null; } + public SdkField.Builder getter(Function p0){ return null; } + public SdkField.Builder memberName(String p0){ return null; } + public SdkField.Builder setter(BiConsumer p0){ return null; } + public SdkField.Builder traits(Trait... p0){ return null; } + public SdkField build(){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkNumber.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkNumber.java new file mode 100644 index 000000000000..feff8e447d5f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkNumber.java @@ -0,0 +1,29 @@ +// Generated automatically from software.amazon.awssdk.core.SdkNumber for testing purposes + +package software.amazon.awssdk.core; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.math.BigInteger; + +public class SdkNumber extends Number implements Serializable +{ + protected SdkNumber() {} + public BigDecimal bigDecimalValue(){ return null; } + public String stringValue(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public double doubleValue(){ return 0; } + public float floatValue(){ return 0; } + public int hashCode(){ return 0; } + public int intValue(){ return 0; } + public long longValue(){ return 0; } + public static SdkNumber fromBigDecimal(BigDecimal p0){ return null; } + public static SdkNumber fromBigInteger(BigInteger p0){ return null; } + public static SdkNumber fromDouble(double p0){ return null; } + public static SdkNumber fromFloat(float p0){ return null; } + public static SdkNumber fromInteger(int p0){ return null; } + public static SdkNumber fromLong(long p0){ return null; } + public static SdkNumber fromShort(short p0){ return null; } + public static SdkNumber fromString(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkPojo.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkPojo.java new file mode 100644 index 000000000000..3077f8a80046 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkPojo.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.core.SdkPojo for testing purposes + +package software.amazon.awssdk.core; + +import java.util.List; +import software.amazon.awssdk.core.SdkField; + +public interface SdkPojo +{ + List> sdkFields(); + default boolean equalsBySdkFields(Object p0){ return false; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkRequest.java new file mode 100644 index 000000000000..84f077d0ad45 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkRequest.java @@ -0,0 +1,20 @@ +// Generated automatically from software.amazon.awssdk.core.SdkRequest for testing purposes + +package software.amazon.awssdk.core; + +import java.util.Optional; +import software.amazon.awssdk.core.RequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkPojo; + +abstract public class SdkRequest implements SdkPojo +{ + public java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public SdkRequest(){} + public abstract Optional overrideConfiguration(); + public abstract SdkRequest.Builder toBuilder(); + static public interface Builder + { + RequestOverrideConfiguration overrideConfiguration(); + SdkRequest build(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkResponse.java new file mode 100644 index 000000000000..186d5fa66b4d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/SdkResponse.java @@ -0,0 +1,24 @@ +// Generated automatically from software.amazon.awssdk.core.SdkResponse for testing purposes + +package software.amazon.awssdk.core; + +import java.util.Optional; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.http.SdkHttpResponse; + +abstract public class SdkResponse implements SdkPojo +{ + protected SdkResponse() {} + protected SdkResponse(SdkResponse.Builder p0){} + public java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public SdkHttpResponse sdkHttpResponse(){ return null; } + public abstract SdkResponse.Builder toBuilder(); + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + static public interface Builder + { + SdkHttpResponse sdkHttpResponse(); + SdkResponse build(); + SdkResponse.Builder sdkHttpResponse(SdkHttpResponse p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ServiceConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ServiceConfiguration.java new file mode 100644 index 000000000000..ce20ff651365 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/ServiceConfiguration.java @@ -0,0 +1,8 @@ +// Generated automatically from software.amazon.awssdk.core.ServiceConfiguration for testing purposes + +package software.amazon.awssdk.core; + + +public interface ServiceConfiguration +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/AsyncRequestBody.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/AsyncRequestBody.java new file mode 100644 index 000000000000..b57cd2d824d5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/AsyncRequestBody.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.core.async.AsyncRequestBody for testing purposes + +package software.amazon.awssdk.core.async; + +import java.io.File; +import java.io.InputStream; +import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import java.nio.file.Path; +import java.util.Optional; +import java.util.concurrent.ExecutorService; +import org.reactivestreams.Publisher; +import software.amazon.awssdk.core.async.BlockingInputStreamAsyncRequestBody; +import software.amazon.awssdk.core.async.BlockingOutputStreamAsyncRequestBody; +import software.amazon.awssdk.core.async.SdkPublisher; + +public interface AsyncRequestBody extends SdkPublisher +{ + Optional contentLength(); + default String contentType(){ return null; } + static AsyncRequestBody empty(){ return null; } + static AsyncRequestBody fromByteBuffer(ByteBuffer p0){ return null; } + static AsyncRequestBody fromBytes(byte[] p0){ return null; } + static AsyncRequestBody fromFile(File p0){ return null; } + static AsyncRequestBody fromFile(Path p0){ return null; } + static AsyncRequestBody fromInputStream(InputStream p0, Long p1, ExecutorService p2){ return null; } + static AsyncRequestBody fromPublisher(Publisher p0){ return null; } + static AsyncRequestBody fromString(String p0){ return null; } + static AsyncRequestBody fromString(String p0, Charset p1){ return null; } + static BlockingInputStreamAsyncRequestBody forBlockingInputStream(Long p0){ return null; } + static BlockingOutputStreamAsyncRequestBody forBlockingOutputStream(Long p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/AsyncResponseTransformer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/AsyncResponseTransformer.java new file mode 100644 index 000000000000..1692b1c19e20 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/AsyncResponseTransformer.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.core.async.AsyncResponseTransformer for testing purposes + +package software.amazon.awssdk.core.async; + +import java.io.File; +import java.nio.ByteBuffer; +import java.nio.file.Path; +import java.util.concurrent.CompletableFuture; +import java.util.function.Consumer; +import software.amazon.awssdk.core.FileTransformerConfiguration; +import software.amazon.awssdk.core.ResponseBytes; +import software.amazon.awssdk.core.ResponseInputStream; +import software.amazon.awssdk.core.SdkResponse; +import software.amazon.awssdk.core.async.ResponsePublisher; +import software.amazon.awssdk.core.async.SdkPublisher; + +public interface AsyncResponseTransformer +{ + CompletableFuture prepare(); + static AsyncResponseTransformer> toBlockingInputStream(){ return null; } + static AsyncResponseTransformer> toPublisher(){ return null; } + static AsyncResponseTransformer> toBytes(){ return null; } + static software.amazon.awssdk.core.async.AsyncResponseTransformer toFile(File p0){ return null; } + static software.amazon.awssdk.core.async.AsyncResponseTransformer toFile(File p0, FileTransformerConfiguration p1){ return null; } + static software.amazon.awssdk.core.async.AsyncResponseTransformer toFile(File p0, java.util.function.Consumer p1){ return null; } + static software.amazon.awssdk.core.async.AsyncResponseTransformer toFile(Path p0){ return null; } + static software.amazon.awssdk.core.async.AsyncResponseTransformer toFile(Path p0, FileTransformerConfiguration p1){ return null; } + static software.amazon.awssdk.core.async.AsyncResponseTransformer toFile(Path p0, java.util.function.Consumer p1){ return null; } + void exceptionOccurred(Throwable p0); + void onResponse(ResponseT p0); + void onStream(SdkPublisher p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/BlockingInputStreamAsyncRequestBody.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/BlockingInputStreamAsyncRequestBody.java new file mode 100644 index 000000000000..e4f5853e61bb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/BlockingInputStreamAsyncRequestBody.java @@ -0,0 +1,18 @@ +// Generated automatically from software.amazon.awssdk.core.async.BlockingInputStreamAsyncRequestBody for testing purposes + +package software.amazon.awssdk.core.async; + +import java.io.InputStream; +import java.nio.ByteBuffer; +import java.util.Optional; +import org.reactivestreams.Subscriber; +import software.amazon.awssdk.core.async.AsyncRequestBody; + +public class BlockingInputStreamAsyncRequestBody implements AsyncRequestBody +{ + protected BlockingInputStreamAsyncRequestBody() {} + public Optional contentLength(){ return null; } + public long writeInputStream(InputStream p0){ return 0; } + public void cancel(){} + public void subscribe(Subscriber p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/BlockingOutputStreamAsyncRequestBody.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/BlockingOutputStreamAsyncRequestBody.java new file mode 100644 index 000000000000..a5a6b04fac1e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/BlockingOutputStreamAsyncRequestBody.java @@ -0,0 +1,17 @@ +// Generated automatically from software.amazon.awssdk.core.async.BlockingOutputStreamAsyncRequestBody for testing purposes + +package software.amazon.awssdk.core.async; + +import java.nio.ByteBuffer; +import java.util.Optional; +import org.reactivestreams.Subscriber; +import software.amazon.awssdk.core.async.AsyncRequestBody; +import software.amazon.awssdk.utils.CancellableOutputStream; + +public class BlockingOutputStreamAsyncRequestBody implements AsyncRequestBody +{ + protected BlockingOutputStreamAsyncRequestBody() {} + public CancellableOutputStream outputStream(){ return null; } + public Optional contentLength(){ return null; } + public void subscribe(Subscriber p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/ResponsePublisher.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/ResponsePublisher.java new file mode 100644 index 000000000000..db7b48f5f2dc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/ResponsePublisher.java @@ -0,0 +1,19 @@ +// Generated automatically from software.amazon.awssdk.core.async.ResponsePublisher for testing purposes + +package software.amazon.awssdk.core.async; + +import java.nio.ByteBuffer; +import org.reactivestreams.Subscriber; +import software.amazon.awssdk.core.SdkResponse; +import software.amazon.awssdk.core.async.SdkPublisher; + +public class ResponsePublisher implements SdkPublisher +{ + protected ResponsePublisher() {} + public ResponsePublisher(ResponseT p0, SdkPublisher p1){} + public ResponseT response(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public void subscribe(Subscriber p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/SdkPublisher.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/SdkPublisher.java new file mode 100644 index 000000000000..6fb3fa77065c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/async/SdkPublisher.java @@ -0,0 +1,25 @@ +// Generated automatically from software.amazon.awssdk.core.async.SdkPublisher for testing purposes + +package software.amazon.awssdk.core.async; + +import java.util.List; +import java.util.concurrent.CompletableFuture; +import java.util.function.Consumer; +import java.util.function.Function; +import java.util.function.Predicate; +import org.reactivestreams.Publisher; + +public interface SdkPublisher extends org.reactivestreams.Publisher +{ + default software.amazon.awssdk.core.async.SdkPublisher filter(java.lang.Class p0){ return null; } + default software.amazon.awssdk.core.async.SdkPublisher flatMapIterable(Function> p0){ return null; } + default software.amazon.awssdk.core.async.SdkPublisher map(Function p0){ return null; } + default CompletableFuture subscribe(java.util.function.Consumer p0){ return null; } + default SdkPublisher doAfterOnCancel(Runnable p0){ return null; } + default SdkPublisher doAfterOnComplete(Runnable p0){ return null; } + default SdkPublisher doAfterOnError(Consumer p0){ return null; } + default SdkPublisher filter(java.util.function.Predicate p0){ return null; } + default SdkPublisher limit(int p0){ return null; } + default SdkPublisher> buffer(int p0){ return null; } + static SdkPublisher adapt(org.reactivestreams.Publisher p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/builder/SdkAsyncClientBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/builder/SdkAsyncClientBuilder.java new file mode 100644 index 000000000000..9becc3fcdcfd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/builder/SdkAsyncClientBuilder.java @@ -0,0 +1,15 @@ +// Generated automatically from software.amazon.awssdk.core.client.builder.SdkAsyncClientBuilder for testing purposes + +package software.amazon.awssdk.core.client.builder; + +import java.util.function.Consumer; +import software.amazon.awssdk.core.client.config.ClientAsyncConfiguration; +import software.amazon.awssdk.http.async.SdkAsyncHttpClient; + +public interface SdkAsyncClientBuilder, C> +{ + B asyncConfiguration(ClientAsyncConfiguration p0); + B httpClient(SdkAsyncHttpClient p0); + B httpClientBuilder(SdkAsyncHttpClient.Builder p0); + default B asyncConfiguration(java.util.function.Consumer p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/builder/SdkClientBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/builder/SdkClientBuilder.java new file mode 100644 index 000000000000..bf3da589bb3c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/builder/SdkClientBuilder.java @@ -0,0 +1,16 @@ +// Generated automatically from software.amazon.awssdk.core.client.builder.SdkClientBuilder for testing purposes + +package software.amazon.awssdk.core.client.builder; + +import java.net.URI; +import java.util.function.Consumer; +import software.amazon.awssdk.core.client.config.ClientOverrideConfiguration; +import software.amazon.awssdk.utils.builder.SdkBuilder; + +public interface SdkClientBuilder, C> extends software.amazon.awssdk.utils.builder.SdkBuilder +{ + B endpointOverride(URI p0); + B overrideConfiguration(ClientOverrideConfiguration p0); + ClientOverrideConfiguration overrideConfiguration(); + default B overrideConfiguration(java.util.function.Consumer p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientAsyncConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientAsyncConfiguration.java new file mode 100644 index 000000000000..eadc7e39770c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientAsyncConfiguration.java @@ -0,0 +1,21 @@ +// Generated automatically from software.amazon.awssdk.core.client.config.ClientAsyncConfiguration for testing purposes + +package software.amazon.awssdk.core.client.config; + +import java.util.Map; +import software.amazon.awssdk.core.client.config.SdkAdvancedAsyncClientOption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ClientAsyncConfiguration implements ToCopyableBuilder +{ + protected ClientAsyncConfiguration() {} + public T advancedOption(software.amazon.awssdk.core.client.config.SdkAdvancedAsyncClientOption p0){ return null; } + public ClientAsyncConfiguration.Builder toBuilder(){ return null; } + public static ClientAsyncConfiguration.Builder builder(){ return null; } + static public interface Builder extends CopyableBuilder + { + ClientAsyncConfiguration.Builder advancedOption(software.amazon.awssdk.core.client.config.SdkAdvancedAsyncClientOption p0, T p1); + ClientAsyncConfiguration.Builder advancedOptions(Map, ? extends Object> p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientOption.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientOption.java new file mode 100644 index 000000000000..36211873f828 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientOption.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.core.client.config.ClientOption for testing purposes + +package software.amazon.awssdk.core.client.config; + +import software.amazon.awssdk.utils.AttributeMap; + +abstract public class ClientOption extends AttributeMap.Key +{ + protected ClientOption() {} + protected ClientOption(AttributeMap.Key.UnsafeValueType p0){} + protected ClientOption(java.lang.Class p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientOverrideConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientOverrideConfiguration.java new file mode 100644 index 000000000000..97e678505d5b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/ClientOverrideConfiguration.java @@ -0,0 +1,69 @@ +// Generated automatically from software.amazon.awssdk.core.client.config.ClientOverrideConfiguration for testing purposes + +package software.amazon.awssdk.core.client.config; + +import java.time.Duration; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.client.config.SdkAdvancedClientOption; +import software.amazon.awssdk.core.interceptor.ExecutionAttribute; +import software.amazon.awssdk.core.interceptor.ExecutionAttributes; +import software.amazon.awssdk.core.interceptor.ExecutionInterceptor; +import software.amazon.awssdk.core.retry.RetryMode; +import software.amazon.awssdk.core.retry.RetryPolicy; +import software.amazon.awssdk.metrics.MetricPublisher; +import software.amazon.awssdk.profiles.ProfileFile; +import software.amazon.awssdk.utils.AttributeMap; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ClientOverrideConfiguration implements ToCopyableBuilder +{ + protected ClientOverrideConfiguration() {} + public java.util.Optional advancedOption(software.amazon.awssdk.core.client.config.SdkAdvancedClientOption p0){ return null; } + public ClientOverrideConfiguration.Builder toBuilder(){ return null; } + public ExecutionAttributes executionAttributes(){ return null; } + public List executionInterceptors(){ return null; } + public List metricPublishers(){ return null; } + public Map> headers(){ return null; } + public Optional apiCallAttemptTimeout(){ return null; } + public Optional apiCallTimeout(){ return null; } + public Optional defaultProfileFile(){ return null; } + public Optional retryPolicy(){ return null; } + public Optional defaultProfileName(){ return null; } + public String toString(){ return null; } + public static ClientOverrideConfiguration.Builder builder(){ return null; } + static public interface Builder extends CopyableBuilder + { + ClientOverrideConfiguration.Builder putAdvancedOption(software.amazon.awssdk.core.client.config.SdkAdvancedClientOption p0, T p1); + ClientOverrideConfiguration.Builder putExecutionAttribute(software.amazon.awssdk.core.interceptor.ExecutionAttribute p0, T p1); + AttributeMap advancedOptions(); + ClientOverrideConfiguration.Builder addExecutionInterceptor(ExecutionInterceptor p0); + ClientOverrideConfiguration.Builder addMetricPublisher(MetricPublisher p0); + ClientOverrideConfiguration.Builder advancedOptions(Map, ? extends Object> p0); + ClientOverrideConfiguration.Builder apiCallAttemptTimeout(Duration p0); + ClientOverrideConfiguration.Builder apiCallTimeout(Duration p0); + ClientOverrideConfiguration.Builder defaultProfileFile(ProfileFile p0); + ClientOverrideConfiguration.Builder defaultProfileName(String p0); + ClientOverrideConfiguration.Builder executionAttributes(ExecutionAttributes p0); + ClientOverrideConfiguration.Builder executionInterceptors(List p0); + ClientOverrideConfiguration.Builder headers(Map> p0); + ClientOverrideConfiguration.Builder metricPublishers(List p0); + ClientOverrideConfiguration.Builder putHeader(String p0, List p1); + ClientOverrideConfiguration.Builder retryPolicy(RetryPolicy p0); + Duration apiCallAttemptTimeout(); + Duration apiCallTimeout(); + ExecutionAttributes executionAttributes(); + List executionInterceptors(); + List metricPublishers(); + Map> headers(); + ProfileFile defaultProfileFile(); + RetryPolicy retryPolicy(); + String defaultProfileName(); + default ClientOverrideConfiguration.Builder putHeader(String p0, String p1){ return null; } + default ClientOverrideConfiguration.Builder retryPolicy(RetryMode p0){ return null; } + default ClientOverrideConfiguration.Builder retryPolicy(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/SdkAdvancedAsyncClientOption.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/SdkAdvancedAsyncClientOption.java new file mode 100644 index 000000000000..6836e003059c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/SdkAdvancedAsyncClientOption.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.core.client.config.SdkAdvancedAsyncClientOption for testing purposes + +package software.amazon.awssdk.core.client.config; + +import java.util.concurrent.Executor; +import software.amazon.awssdk.core.client.config.ClientOption; + +public class SdkAdvancedAsyncClientOption extends software.amazon.awssdk.core.client.config.ClientOption +{ + protected SdkAdvancedAsyncClientOption() {} + public static SdkAdvancedAsyncClientOption FUTURE_COMPLETION_EXECUTOR = null; +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/SdkAdvancedClientOption.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/SdkAdvancedClientOption.java new file mode 100644 index 000000000000..6991c862ee33 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/client/config/SdkAdvancedClientOption.java @@ -0,0 +1,17 @@ +// Generated automatically from software.amazon.awssdk.core.client.config.SdkAdvancedClientOption for testing purposes + +package software.amazon.awssdk.core.client.config; + +import software.amazon.awssdk.core.client.config.ClientOption; +import software.amazon.awssdk.core.signer.Signer; + +public class SdkAdvancedClientOption extends software.amazon.awssdk.core.client.config.ClientOption +{ + protected SdkAdvancedClientOption() {} + protected SdkAdvancedClientOption(java.lang.Class p0){} + public static SdkAdvancedClientOption DISABLE_HOST_PREFIX_INJECTION = null; + public static SdkAdvancedClientOption SIGNER = null; + public static SdkAdvancedClientOption TOKEN_SIGNER = null; + public static SdkAdvancedClientOption USER_AGENT_PREFIX = null; + public static SdkAdvancedClientOption USER_AGENT_SUFFIX = null; +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/Document.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/Document.java new file mode 100644 index 000000000000..089503643f6c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/Document.java @@ -0,0 +1,83 @@ +// Generated automatically from software.amazon.awssdk.core.document.Document for testing purposes + +package software.amazon.awssdk.core.document; + +import java.io.Serializable; +import java.math.BigDecimal; +import java.math.BigInteger; +import java.util.List; +import java.util.Map; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkNumber; +import software.amazon.awssdk.core.document.DocumentVisitor; +import software.amazon.awssdk.core.document.VoidDocumentVisitor; + +public interface Document extends Serializable +{ + R accept(DocumentVisitor p0); + List asList(); + Map asMap(); + Object unwrap(); + SdkNumber asNumber(); + String asString(); + boolean asBoolean(); + default boolean isBoolean(){ return false; } + default boolean isList(){ return false; } + default boolean isMap(){ return false; } + default boolean isNull(){ return false; } + default boolean isNumber(){ return false; } + default boolean isString(){ return false; } + static Document fromBoolean(boolean p0){ return null; } + static Document fromList(List p0){ return null; } + static Document fromMap(Map p0){ return null; } + static Document fromNull(){ return null; } + static Document fromNumber(BigDecimal p0){ return null; } + static Document fromNumber(BigInteger p0){ return null; } + static Document fromNumber(SdkNumber p0){ return null; } + static Document fromNumber(String p0){ return null; } + static Document fromNumber(double p0){ return null; } + static Document fromNumber(float p0){ return null; } + static Document fromNumber(int p0){ return null; } + static Document fromNumber(long p0){ return null; } + static Document fromString(String p0){ return null; } + static Document.ListBuilder listBuilder(){ return null; } + static Document.MapBuilder mapBuilder(){ return null; } + static public interface ListBuilder + { + Document build(); + Document.ListBuilder addBoolean(boolean p0); + Document.ListBuilder addDocument(Document p0); + Document.ListBuilder addMap(Consumer p0); + Document.ListBuilder addNull(); + Document.ListBuilder addNumber(BigDecimal p0); + Document.ListBuilder addNumber(BigInteger p0); + Document.ListBuilder addNumber(SdkNumber p0); + Document.ListBuilder addNumber(String p0); + Document.ListBuilder addNumber(double p0); + Document.ListBuilder addNumber(float p0); + Document.ListBuilder addNumber(int p0); + Document.ListBuilder addNumber(long p0); + Document.ListBuilder addString(String p0); + } + static public interface MapBuilder + { + Document build(); + Document.MapBuilder putBoolean(String p0, boolean p1); + Document.MapBuilder putDocument(String p0, Document p1); + Document.MapBuilder putList(String p0, Consumer p1); + Document.MapBuilder putList(String p0, List p1); + Document.MapBuilder putMap(String p0, Consumer p1); + Document.MapBuilder putMap(String p0, Map p1); + Document.MapBuilder putNull(String p0); + Document.MapBuilder putNumber(String p0, BigDecimal p1); + Document.MapBuilder putNumber(String p0, BigInteger p1); + Document.MapBuilder putNumber(String p0, SdkNumber p1); + Document.MapBuilder putNumber(String p0, String p1); + Document.MapBuilder putNumber(String p0, double p1); + Document.MapBuilder putNumber(String p0, float p1); + Document.MapBuilder putNumber(String p0, int p1); + Document.MapBuilder putNumber(String p0, long p1); + Document.MapBuilder putString(String p0, String p1); + } + void accept(VoidDocumentVisitor p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/DocumentVisitor.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/DocumentVisitor.java new file mode 100644 index 000000000000..6ddbfb797dd8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/DocumentVisitor.java @@ -0,0 +1,18 @@ +// Generated automatically from software.amazon.awssdk.core.document.DocumentVisitor for testing purposes + +package software.amazon.awssdk.core.document; + +import java.util.List; +import java.util.Map; +import software.amazon.awssdk.core.SdkNumber; +import software.amazon.awssdk.core.document.Document; + +public interface DocumentVisitor +{ + R visitBoolean(Boolean p0); + R visitList(List p0); + R visitMap(Map p0); + R visitNull(); + R visitNumber(SdkNumber p0); + R visitString(String p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/VoidDocumentVisitor.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/VoidDocumentVisitor.java new file mode 100644 index 000000000000..f618c86d05ab --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/document/VoidDocumentVisitor.java @@ -0,0 +1,18 @@ +// Generated automatically from software.amazon.awssdk.core.document.VoidDocumentVisitor for testing purposes + +package software.amazon.awssdk.core.document; + +import java.util.List; +import java.util.Map; +import software.amazon.awssdk.core.SdkNumber; +import software.amazon.awssdk.core.document.Document; + +public interface VoidDocumentVisitor +{ + default void visitBoolean(Boolean p0){} + default void visitList(List p0){} + default void visitMap(Map p0){} + default void visitNull(){} + default void visitNumber(SdkNumber p0){} + default void visitString(String p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/exception/SdkException.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/exception/SdkException.java new file mode 100644 index 000000000000..65b9b245f36f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/exception/SdkException.java @@ -0,0 +1,25 @@ +// Generated automatically from software.amazon.awssdk.core.exception.SdkException for testing purposes + +package software.amazon.awssdk.core.exception; + +import software.amazon.awssdk.utils.builder.Buildable; + +public class SdkException extends RuntimeException +{ + protected SdkException() {} + protected SdkException(SdkException.Builder p0){} + public SdkException.Builder toBuilder(){ return null; } + public boolean retryable(){ return false; } + public static SdkException create(String p0, Throwable p1){ return null; } + public static SdkException.Builder builder(){ return null; } + static public interface Builder extends Buildable + { + Boolean writableStackTrace(); + SdkException build(); + SdkException.Builder cause(Throwable p0); + SdkException.Builder message(String p0); + SdkException.Builder writableStackTrace(Boolean p0); + String message(); + Throwable cause(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/Context.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/Context.java new file mode 100644 index 000000000000..0c84dfd3578f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/Context.java @@ -0,0 +1,71 @@ +// Generated automatically from software.amazon.awssdk.core.interceptor.Context for testing purposes + +package software.amazon.awssdk.core.interceptor; + +import java.io.InputStream; +import java.nio.ByteBuffer; +import java.util.Optional; +import org.reactivestreams.Publisher; +import software.amazon.awssdk.core.SdkRequest; +import software.amazon.awssdk.core.SdkResponse; +import software.amazon.awssdk.core.async.AsyncRequestBody; +import software.amazon.awssdk.core.sync.RequestBody; +import software.amazon.awssdk.http.SdkHttpRequest; +import software.amazon.awssdk.http.SdkHttpResponse; + +public class Context +{ + protected Context() {} + static public interface AfterExecution extends Context.ModifyResponse + { + } + static public interface AfterMarshalling extends Context.BeforeMarshalling + { + Optional asyncRequestBody(); + Optional requestBody(); + SdkHttpRequest httpRequest(); + } + static public interface AfterTransmission extends Context.BeforeTransmission + { + Optional responseBody(); + Optional> responsePublisher(); + SdkHttpResponse httpResponse(); + } + static public interface AfterUnmarshalling extends Context.BeforeUnmarshalling + { + SdkResponse response(); + } + static public interface BeforeExecution + { + SdkRequest request(); + } + static public interface BeforeMarshalling extends Context.ModifyRequest + { + } + static public interface BeforeTransmission extends Context.ModifyHttpRequest + { + } + static public interface BeforeUnmarshalling extends Context.ModifyHttpResponse + { + } + static public interface FailedExecution + { + Optional httpRequest(); + Optional httpResponse(); + Optional response(); + SdkRequest request(); + Throwable exception(); + } + static public interface ModifyHttpRequest extends Context.AfterMarshalling + { + } + static public interface ModifyHttpResponse extends Context.AfterTransmission + { + } + static public interface ModifyRequest extends Context.BeforeExecution + { + } + static public interface ModifyResponse extends Context.AfterUnmarshalling + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionAttribute.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionAttribute.java new file mode 100644 index 000000000000..fda0d39b2473 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionAttribute.java @@ -0,0 +1,13 @@ +// Generated automatically from software.amazon.awssdk.core.interceptor.ExecutionAttribute for testing purposes + +package software.amazon.awssdk.core.interceptor; + + +public class ExecutionAttribute +{ + protected ExecutionAttribute() {} + public ExecutionAttribute(String p0){} + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionAttributes.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionAttributes.java new file mode 100644 index 000000000000..65cf40470bfe --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionAttributes.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.core.interceptor.ExecutionAttributes for testing purposes + +package software.amazon.awssdk.core.interceptor; + +import java.util.Map; +import java.util.Optional; +import software.amazon.awssdk.core.interceptor.ExecutionAttribute; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ExecutionAttributes implements ToCopyableBuilder +{ + protected ExecutionAttributes(Map, ? extends Object> p0){} + public ExecutionAttributes putAttribute(software.amazon.awssdk.core.interceptor.ExecutionAttribute p0, U p1){ return null; } + public ExecutionAttributes putAttributeIfAbsent(software.amazon.awssdk.core.interceptor.ExecutionAttribute p0, U p1){ return null; } + public U getAttribute(software.amazon.awssdk.core.interceptor.ExecutionAttribute p0){ return null; } + public java.util.Optional getOptionalAttribute(software.amazon.awssdk.core.interceptor.ExecutionAttribute p0){ return null; } + public ExecutionAttributes copy(){ return null; } + public ExecutionAttributes merge(ExecutionAttributes p0){ return null; } + public ExecutionAttributes(){} + public ExecutionAttributes.Builder toBuilder(){ return null; } + public Map, Object> getAttributes(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static ExecutionAttributes unmodifiableExecutionAttributes(ExecutionAttributes p0){ return null; } + public static ExecutionAttributes.Builder builder(){ return null; } + public void putAbsentAttributes(ExecutionAttributes p0){} + static public class Builder implements CopyableBuilder + { + protected Builder() {} + public ExecutionAttributes.Builder put(software.amazon.awssdk.core.interceptor.ExecutionAttribute p0, T p1){ return null; } + public ExecutionAttributes build(){ return null; } + public ExecutionAttributes.Builder putAll(Map, ? extends Object> p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionInterceptor.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionInterceptor.java new file mode 100644 index 000000000000..240e9c119634 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/interceptor/ExecutionInterceptor.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.core.interceptor.ExecutionInterceptor for testing purposes + +package software.amazon.awssdk.core.interceptor; + +import java.io.InputStream; +import java.nio.ByteBuffer; +import java.util.Optional; +import org.reactivestreams.Publisher; +import software.amazon.awssdk.core.SdkRequest; +import software.amazon.awssdk.core.SdkResponse; +import software.amazon.awssdk.core.async.AsyncRequestBody; +import software.amazon.awssdk.core.interceptor.Context; +import software.amazon.awssdk.core.interceptor.ExecutionAttributes; +import software.amazon.awssdk.core.sync.RequestBody; +import software.amazon.awssdk.http.SdkHttpRequest; +import software.amazon.awssdk.http.SdkHttpResponse; + +public interface ExecutionInterceptor +{ + default Optional modifyAsyncHttpContent(Context.ModifyHttpRequest p0, ExecutionAttributes p1){ return null; } + default Optional modifyHttpResponseContent(Context.ModifyHttpResponse p0, ExecutionAttributes p1){ return null; } + default Optional> modifyAsyncHttpResponseContent(Context.ModifyHttpResponse p0, ExecutionAttributes p1){ return null; } + default Optional modifyHttpContent(Context.ModifyHttpRequest p0, ExecutionAttributes p1){ return null; } + default SdkHttpRequest modifyHttpRequest(Context.ModifyHttpRequest p0, ExecutionAttributes p1){ return null; } + default SdkHttpResponse modifyHttpResponse(Context.ModifyHttpResponse p0, ExecutionAttributes p1){ return null; } + default SdkRequest modifyRequest(Context.ModifyRequest p0, ExecutionAttributes p1){ return null; } + default SdkResponse modifyResponse(Context.ModifyResponse p0, ExecutionAttributes p1){ return null; } + default Throwable modifyException(Context.FailedExecution p0, ExecutionAttributes p1){ return null; } + default void afterExecution(Context.AfterExecution p0, ExecutionAttributes p1){} + default void afterMarshalling(Context.AfterMarshalling p0, ExecutionAttributes p1){} + default void afterTransmission(Context.AfterTransmission p0, ExecutionAttributes p1){} + default void afterUnmarshalling(Context.AfterUnmarshalling p0, ExecutionAttributes p1){} + default void beforeExecution(Context.BeforeExecution p0, ExecutionAttributes p1){} + default void beforeMarshalling(Context.BeforeMarshalling p0, ExecutionAttributes p1){} + default void beforeTransmission(Context.BeforeTransmission p0, ExecutionAttributes p1){} + default void beforeUnmarshalling(Context.BeforeUnmarshalling p0, ExecutionAttributes p1){} + default void onExecutionFailure(Context.FailedExecution p0, ExecutionAttributes p1){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/internal/io/Releasable.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/internal/io/Releasable.java new file mode 100644 index 000000000000..fce11ce82d8d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/internal/io/Releasable.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.core.internal.io.Releasable for testing purposes + +package software.amazon.awssdk.core.internal.io; + +import java.io.Closeable; +import org.slf4j.Logger; + +public interface Releasable +{ + static void release(Closeable p0, Logger p1){} + void release(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/internal/waiters/ResponseOrException.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/internal/waiters/ResponseOrException.java new file mode 100644 index 000000000000..4fa2da3298dc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/internal/waiters/ResponseOrException.java @@ -0,0 +1,16 @@ +// Generated automatically from software.amazon.awssdk.core.internal.waiters.ResponseOrException for testing purposes + +package software.amazon.awssdk.core.internal.waiters; + +import java.util.Optional; + +public class ResponseOrException +{ + protected ResponseOrException() {} + public Optional response(){ return null; } + public Optional exception(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static software.amazon.awssdk.core.internal.waiters.ResponseOrException exception(Throwable p0){ return null; } + public static software.amazon.awssdk.core.internal.waiters.ResponseOrException response(R p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/io/SdkFilterInputStream.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/io/SdkFilterInputStream.java new file mode 100644 index 000000000000..d7fd46c72ac1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/io/SdkFilterInputStream.java @@ -0,0 +1,51 @@ +// Generated automatically from software.amazon.awssdk.core.io.SdkFilterInputStream for testing +// purposes + +package software.amazon.awssdk.core.io; + +import java.io.ByteArrayInputStream; +import java.io.FilterInputStream; +import java.io.InputStream; +import software.amazon.awssdk.core.internal.io.Releasable; + +public class SdkFilterInputStream extends FilterInputStream implements Releasable { + protected SdkFilterInputStream() { + super(new ByteArrayInputStream("UTF-8".getBytes())); + } + + protected SdkFilterInputStream(InputStream p0) { + super(new ByteArrayInputStream("UTF-8".getBytes())); + } + + protected final void abortIfNeeded() {} + + protected void abort() {} + + public boolean markSupported() { + return false; + } + + public int available() { + return 0; + } + + public int read() { + return 0; + } + + public int read(byte[] p0, int p1, int p2) { + return 0; + } + + public long skip(long p0) { + return 0; + } + + public void close() {} + + public void mark(int p0) {} + + public void release() {} + + public void reset() {} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/protocol/MarshallLocation.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/protocol/MarshallLocation.java new file mode 100644 index 000000000000..e28311ba7375 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/protocol/MarshallLocation.java @@ -0,0 +1,10 @@ +// Generated automatically from software.amazon.awssdk.core.protocol.MarshallLocation for testing purposes + +package software.amazon.awssdk.core.protocol; + + +public enum MarshallLocation +{ + GREEDY_PATH, HEADER, PATH, PAYLOAD, QUERY_PARAM, STATUS_CODE; + private MarshallLocation() {} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/protocol/MarshallingType.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/protocol/MarshallingType.java new file mode 100644 index 000000000000..a4f15508675a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/protocol/MarshallingType.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.core.protocol.MarshallingType for testing purposes + +package software.amazon.awssdk.core.protocol; + +import java.math.BigDecimal; +import java.time.Instant; +import java.util.List; +import java.util.Map; +import software.amazon.awssdk.core.SdkBytes; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.core.document.Document; + +public interface MarshallingType +{ + java.lang.Class getTargetClass(); + static MarshallingType newType(java.lang.Class p0){ return null; } + static MarshallingType BIG_DECIMAL = null; + static MarshallingType BOOLEAN = null; + static MarshallingType DOCUMENT = null; + static MarshallingType DOUBLE = null; + static MarshallingType FLOAT = null; + static MarshallingType INSTANT = null; + static MarshallingType INTEGER = null; + static MarshallingType> LIST = null; + static MarshallingType LONG = null; + static MarshallingType> MAP = null; + static MarshallingType SDK_BYTES = null; + static MarshallingType SDK_POJO = null; + static MarshallingType SHORT = null; + static MarshallingType STRING = null; + static MarshallingType NULL = null; +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryMode.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryMode.java new file mode 100644 index 000000000000..eb55e904dfa0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryMode.java @@ -0,0 +1,22 @@ +// Generated automatically from software.amazon.awssdk.core.retry.RetryMode for testing purposes + +package software.amazon.awssdk.core.retry; + +import java.util.function.Supplier; +import software.amazon.awssdk.profiles.ProfileFile; + +public enum RetryMode +{ + ADAPTIVE, LEGACY, STANDARD; + private RetryMode() {} + public static RetryMode defaultRetryMode(){ return null; } + public static RetryMode.Resolver resolver(){ return null; } + static public class Resolver + { + protected Resolver() {} + public RetryMode resolve(){ return null; } + public RetryMode.Resolver defaultRetryMode(RetryMode p0){ return null; } + public RetryMode.Resolver profileFile(Supplier p0){ return null; } + public RetryMode.Resolver profileName(String p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryPolicy.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryPolicy.java new file mode 100644 index 000000000000..1f84c8f13204 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryPolicy.java @@ -0,0 +1,49 @@ +// Generated automatically from software.amazon.awssdk.core.retry.RetryPolicy for testing purposes + +package software.amazon.awssdk.core.retry; + +import software.amazon.awssdk.core.retry.RetryMode; +import software.amazon.awssdk.core.retry.backoff.BackoffStrategy; +import software.amazon.awssdk.core.retry.conditions.RetryCondition; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RetryPolicy implements ToCopyableBuilder +{ + protected RetryPolicy() {} + public BackoffStrategy backoffStrategy(){ return null; } + public BackoffStrategy throttlingBackoffStrategy(){ return null; } + public Boolean isFastFailRateLimiting(){ return null; } + public Integer numRetries(){ return null; } + public RetryCondition aggregateRetryCondition(){ return null; } + public RetryCondition retryCondition(){ return null; } + public RetryMode retryMode(){ return null; } + public RetryPolicy.Builder toBuilder(){ return null; } + public String toString(){ return null; } + public boolean additionalRetryConditionsAllowed(){ return false; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static RetryPolicy defaultRetryPolicy(){ return null; } + public static RetryPolicy forRetryMode(RetryMode p0){ return null; } + public static RetryPolicy none(){ return null; } + public static RetryPolicy.Builder builder(){ return null; } + public static RetryPolicy.Builder builder(RetryMode p0){ return null; } + static public interface Builder extends CopyableBuilder + { + BackoffStrategy backoffStrategy(); + BackoffStrategy throttlingBackoffStrategy(); + Boolean isFastFailRateLimiting(); + Integer numRetries(); + RetryCondition retryCapacityCondition(); + RetryCondition retryCondition(); + RetryPolicy build(); + RetryPolicy.Builder additionalRetryConditionsAllowed(boolean p0); + RetryPolicy.Builder backoffStrategy(BackoffStrategy p0); + RetryPolicy.Builder fastFailRateLimiting(Boolean p0); + RetryPolicy.Builder numRetries(Integer p0); + RetryPolicy.Builder retryCapacityCondition(RetryCondition p0); + RetryPolicy.Builder retryCondition(RetryCondition p0); + RetryPolicy.Builder throttlingBackoffStrategy(BackoffStrategy p0); + boolean additionalRetryConditionsAllowed(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryPolicyContext.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryPolicyContext.java new file mode 100644 index 000000000000..a136f698160c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/RetryPolicyContext.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.core.retry.RetryPolicyContext for testing purposes + +package software.amazon.awssdk.core.retry; + +import software.amazon.awssdk.core.SdkRequest; +import software.amazon.awssdk.core.exception.SdkException; +import software.amazon.awssdk.core.interceptor.ExecutionAttributes; +import software.amazon.awssdk.http.SdkHttpFullRequest; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RetryPolicyContext implements ToCopyableBuilder +{ + protected RetryPolicyContext() {} + public ExecutionAttributes executionAttributes(){ return null; } + public Integer httpStatusCode(){ return null; } + public RetryPolicyContext.Builder toBuilder(){ return null; } + public SdkException exception(){ return null; } + public SdkHttpFullRequest request(){ return null; } + public SdkRequest originalRequest(){ return null; } + public int retriesAttempted(){ return 0; } + public int totalRequests(){ return 0; } + public static RetryPolicyContext.Builder builder(){ return null; } + static public class Builder implements CopyableBuilder + { + protected Builder() {} + public RetryPolicyContext build(){ return null; } + public RetryPolicyContext.Builder exception(SdkException p0){ return null; } + public RetryPolicyContext.Builder executionAttributes(ExecutionAttributes p0){ return null; } + public RetryPolicyContext.Builder httpStatusCode(Integer p0){ return null; } + public RetryPolicyContext.Builder originalRequest(SdkRequest p0){ return null; } + public RetryPolicyContext.Builder request(SdkHttpFullRequest p0){ return null; } + public RetryPolicyContext.Builder retriesAttempted(int p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/backoff/BackoffStrategy.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/backoff/BackoffStrategy.java new file mode 100644 index 000000000000..4924832eae19 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/backoff/BackoffStrategy.java @@ -0,0 +1,19 @@ +// Generated automatically from software.amazon.awssdk.core.retry.backoff.BackoffStrategy for testing purposes + +package software.amazon.awssdk.core.retry.backoff; + +import java.time.Duration; +import software.amazon.awssdk.core.retry.RetryMode; +import software.amazon.awssdk.core.retry.RetryPolicyContext; + +public interface BackoffStrategy +{ + Duration computeDelayBeforeNextRetry(RetryPolicyContext p0); + default int calculateExponentialDelay(int p0, Duration p1, Duration p2){ return 0; } + static BackoffStrategy defaultStrategy(){ return null; } + static BackoffStrategy defaultStrategy(RetryMode p0){ return null; } + static BackoffStrategy defaultThrottlingStrategy(){ return null; } + static BackoffStrategy defaultThrottlingStrategy(RetryMode p0){ return null; } + static BackoffStrategy none(){ return null; } + static int RETRIES_ATTEMPTED_CEILING = 0; +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/conditions/RetryCondition.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/conditions/RetryCondition.java new file mode 100644 index 000000000000..1222f8bd9660 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/retry/conditions/RetryCondition.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.core.retry.conditions.RetryCondition for testing purposes + +package software.amazon.awssdk.core.retry.conditions; + +import software.amazon.awssdk.core.retry.RetryPolicyContext; + +public interface RetryCondition +{ + boolean shouldRetry(RetryPolicyContext p0); + default void requestSucceeded(RetryPolicyContext p0){} + default void requestWillNotBeRetried(RetryPolicyContext p0){} + static RetryCondition defaultRetryCondition(){ return null; } + static RetryCondition none(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/signer/Signer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/signer/Signer.java new file mode 100644 index 000000000000..d373a37dbcc8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/signer/Signer.java @@ -0,0 +1,13 @@ +// Generated automatically from software.amazon.awssdk.core.signer.Signer for testing purposes + +package software.amazon.awssdk.core.signer; + +import software.amazon.awssdk.core.CredentialType; +import software.amazon.awssdk.core.interceptor.ExecutionAttributes; +import software.amazon.awssdk.http.SdkHttpFullRequest; + +public interface Signer +{ + SdkHttpFullRequest sign(SdkHttpFullRequest p0, ExecutionAttributes p1); + default CredentialType credentialType(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/sync/RequestBody.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/sync/RequestBody.java new file mode 100644 index 000000000000..dde63d7fb55b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/sync/RequestBody.java @@ -0,0 +1,31 @@ +// Generated automatically from software.amazon.awssdk.core.sync.RequestBody for testing purposes + +package software.amazon.awssdk.core.sync; + +import java.io.File; +import java.io.InputStream; +import java.nio.ByteBuffer; +import java.nio.charset.Charset; +import java.nio.file.Path; +import java.util.Optional; +import software.amazon.awssdk.http.ContentStreamProvider; + +public class RequestBody +{ + protected RequestBody() {} + public ContentStreamProvider contentStreamProvider(){ return null; } + public Optional optionalContentLength(){ return null; } + public String contentType(){ return null; } + public long contentLength(){ return 0; } + public static RequestBody empty(){ return null; } + public static RequestBody fromByteBuffer(ByteBuffer p0){ return null; } + public static RequestBody fromBytes(byte[] p0){ return null; } + public static RequestBody fromContentProvider(ContentStreamProvider p0, String p1){ return null; } + public static RequestBody fromContentProvider(ContentStreamProvider p0, long p1, String p2){ return null; } + public static RequestBody fromFile(File p0){ return null; } + public static RequestBody fromFile(Path p0){ return null; } + public static RequestBody fromInputStream(InputStream p0, long p1){ return null; } + public static RequestBody fromRemainingByteBuffer(ByteBuffer p0){ return null; } + public static RequestBody fromString(String p0){ return null; } + public static RequestBody fromString(String p0, Charset p1){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/traits/Trait.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/traits/Trait.java new file mode 100644 index 000000000000..7e42fc8bd2e5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/traits/Trait.java @@ -0,0 +1,8 @@ +// Generated automatically from software.amazon.awssdk.core.traits.Trait for testing purposes + +package software.amazon.awssdk.core.traits; + + +public interface Trait +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/waiters/WaiterOverrideConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/waiters/WaiterOverrideConfiguration.java new file mode 100644 index 000000000000..7c774912b810 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/waiters/WaiterOverrideConfiguration.java @@ -0,0 +1,31 @@ +// Generated automatically from software.amazon.awssdk.core.waiters.WaiterOverrideConfiguration for testing purposes + +package software.amazon.awssdk.core.waiters; + +import java.time.Duration; +import java.util.Optional; +import software.amazon.awssdk.core.retry.backoff.BackoffStrategy; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class WaiterOverrideConfiguration implements ToCopyableBuilder +{ + protected WaiterOverrideConfiguration() {} + public Optional backoffStrategy(){ return null; } + public Optional waitTimeout(){ return null; } + public Optional maxAttempts(){ return null; } + public String toString(){ return null; } + public WaiterOverrideConfiguration(WaiterOverrideConfiguration.Builder p0){} + public WaiterOverrideConfiguration.Builder toBuilder(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static WaiterOverrideConfiguration.Builder builder(){ return null; } + static public class Builder implements CopyableBuilder + { + protected Builder() {} + public WaiterOverrideConfiguration build(){ return null; } + public WaiterOverrideConfiguration.Builder backoffStrategy(BackoffStrategy p0){ return null; } + public WaiterOverrideConfiguration.Builder maxAttempts(Integer p0){ return null; } + public WaiterOverrideConfiguration.Builder waitTimeout(Duration p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/waiters/WaiterResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/waiters/WaiterResponse.java new file mode 100644 index 000000000000..574843a5799d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/core/waiters/WaiterResponse.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.core.waiters.WaiterResponse for testing purposes + +package software.amazon.awssdk.core.waiters; + +import software.amazon.awssdk.core.internal.waiters.ResponseOrException; + +public interface WaiterResponse +{ + ResponseOrException matched(); + int attemptsExecuted(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/Endpoint.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/Endpoint.java new file mode 100644 index 000000000000..f2bf0af75e7e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/Endpoint.java @@ -0,0 +1,27 @@ +// Generated automatically from software.amazon.awssdk.endpoints.Endpoint for testing purposes + +package software.amazon.awssdk.endpoints; + +import java.net.URI; +import java.util.List; +import java.util.Map; +import software.amazon.awssdk.endpoints.EndpointAttributeKey; + +public class Endpoint +{ + protected Endpoint() {} + public T attribute(software.amazon.awssdk.endpoints.EndpointAttributeKey p0){ return null; } + public Endpoint.Builder toBuilder(){ return null; } + public Map> headers(){ return null; } + public URI url(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static Endpoint.Builder builder(){ return null; } + static public interface Builder + { + Endpoint.Builder putAttribute(software.amazon.awssdk.endpoints.EndpointAttributeKey p0, T p1); + Endpoint build(); + Endpoint.Builder putHeader(String p0, String p1); + Endpoint.Builder url(URI p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/EndpointAttributeKey.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/EndpointAttributeKey.java new file mode 100644 index 000000000000..f9b72271c582 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/EndpointAttributeKey.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.endpoints.EndpointAttributeKey for testing purposes + +package software.amazon.awssdk.endpoints; + +import java.util.List; + +public class EndpointAttributeKey +{ + protected EndpointAttributeKey() {} + public EndpointAttributeKey(String p0, java.lang.Class p1){} + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static EndpointAttributeKey> forList(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/EndpointProvider.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/EndpointProvider.java new file mode 100644 index 000000000000..a939b62315f3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/endpoints/EndpointProvider.java @@ -0,0 +1,8 @@ +// Generated automatically from software.amazon.awssdk.endpoints.EndpointProvider for testing purposes + +package software.amazon.awssdk.endpoints; + + +public interface EndpointProvider +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/Abortable.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/Abortable.java new file mode 100644 index 000000000000..af0ac19b3e22 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/Abortable.java @@ -0,0 +1,9 @@ +// Generated automatically from software.amazon.awssdk.http.Abortable for testing purposes + +package software.amazon.awssdk.http; + + +public interface Abortable +{ + void abort(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/AbortableInputStream.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/AbortableInputStream.java new file mode 100644 index 000000000000..076a71f461f4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/AbortableInputStream.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.http.AbortableInputStream for testing +// purposes + +package software.amazon.awssdk.http; + +import java.io.ByteArrayInputStream; +import java.io.FilterInputStream; +import java.io.InputStream; +import software.amazon.awssdk.http.Abortable; + +public class AbortableInputStream extends FilterInputStream implements Abortable { + protected AbortableInputStream() { + super(new ByteArrayInputStream("UTF-8".getBytes())); + } + + public InputStream delegate() { + return null; + } + + public static AbortableInputStream create(InputStream p0) { + return null; + } + + public static AbortableInputStream create(InputStream p0, Abortable p1) { + return null; + } + + public static AbortableInputStream createEmpty() { + return null; + } + + public void abort() {} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/ContentStreamProvider.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/ContentStreamProvider.java new file mode 100644 index 000000000000..bbb4769b2968 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/ContentStreamProvider.java @@ -0,0 +1,10 @@ +// Generated automatically from software.amazon.awssdk.http.ContentStreamProvider for testing purposes + +package software.amazon.awssdk.http; + +import java.io.InputStream; + +public interface ContentStreamProvider +{ + InputStream newStream(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpExecutionAttribute.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpExecutionAttribute.java new file mode 100644 index 000000000000..f0ff158721c8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpExecutionAttribute.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.http.SdkHttpExecutionAttribute for testing purposes + +package software.amazon.awssdk.http; + +import software.amazon.awssdk.utils.AttributeMap; + +abstract public class SdkHttpExecutionAttribute extends AttributeMap.Key +{ + protected SdkHttpExecutionAttribute() {} + protected SdkHttpExecutionAttribute(AttributeMap.Key.UnsafeValueType p0){} + protected SdkHttpExecutionAttribute(java.lang.Class p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpExecutionAttributes.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpExecutionAttributes.java new file mode 100644 index 000000000000..b8ead2e5853c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpExecutionAttributes.java @@ -0,0 +1,25 @@ +// Generated automatically from software.amazon.awssdk.http.SdkHttpExecutionAttributes for testing purposes + +package software.amazon.awssdk.http; + +import java.util.Map; +import software.amazon.awssdk.http.SdkHttpExecutionAttribute; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class SdkHttpExecutionAttributes implements ToCopyableBuilder +{ + protected SdkHttpExecutionAttributes() {} + public T getAttribute(software.amazon.awssdk.http.SdkHttpExecutionAttribute p0){ return null; } + public SdkHttpExecutionAttributes.Builder toBuilder(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static SdkHttpExecutionAttributes.Builder builder(){ return null; } + static public class Builder implements CopyableBuilder + { + protected Builder() {} + public SdkHttpExecutionAttributes.Builder put(software.amazon.awssdk.http.SdkHttpExecutionAttribute p0, T p1){ return null; } + public SdkHttpExecutionAttributes build(){ return null; } + public SdkHttpExecutionAttributes.Builder putAll(Map, ? extends Object> p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpFullRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpFullRequest.java new file mode 100644 index 000000000000..16520a32695a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpFullRequest.java @@ -0,0 +1,52 @@ +// Generated automatically from software.amazon.awssdk.http.SdkHttpFullRequest for testing purposes + +package software.amazon.awssdk.http; + +import java.net.URI; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.http.ContentStreamProvider; +import software.amazon.awssdk.http.SdkHttpMethod; +import software.amazon.awssdk.http.SdkHttpRequest; + +public interface SdkHttpFullRequest extends SdkHttpRequest +{ + Optional contentStreamProvider(); + SdkHttpFullRequest.Builder toBuilder(); + static SdkHttpFullRequest.Builder builder(){ return null; } + static public interface Builder extends SdkHttpRequest.Builder + { + ContentStreamProvider contentStreamProvider(); + Integer port(); + Map> headers(); + Map> rawQueryParameters(); + SdkHttpFullRequest build(); + SdkHttpFullRequest.Builder appendHeader(String p0, String p1); + SdkHttpFullRequest.Builder appendRawQueryParameter(String p0, String p1); + SdkHttpFullRequest.Builder applyMutation(java.util.function.Consumer p0); + SdkHttpFullRequest.Builder clearHeaders(); + SdkHttpFullRequest.Builder clearQueryParameters(); + SdkHttpFullRequest.Builder contentStreamProvider(ContentStreamProvider p0); + SdkHttpFullRequest.Builder copy(); + SdkHttpFullRequest.Builder encodedPath(String p0); + SdkHttpFullRequest.Builder headers(Map> p0); + SdkHttpFullRequest.Builder host(String p0); + SdkHttpFullRequest.Builder method(SdkHttpMethod p0); + SdkHttpFullRequest.Builder port(Integer p0); + SdkHttpFullRequest.Builder protocol(String p0); + SdkHttpFullRequest.Builder putHeader(String p0, List p1); + SdkHttpFullRequest.Builder putRawQueryParameter(String p0, List p1); + SdkHttpFullRequest.Builder rawQueryParameters(Map> p0); + SdkHttpFullRequest.Builder removeHeader(String p0); + SdkHttpFullRequest.Builder removeQueryParameter(String p0); + SdkHttpMethod method(); + String encodedPath(); + String host(); + String protocol(); + default SdkHttpFullRequest.Builder putHeader(String p0, String p1){ return null; } + default SdkHttpFullRequest.Builder putRawQueryParameter(String p0, String p1){ return null; } + default SdkHttpFullRequest.Builder uri(URI p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpFullResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpFullResponse.java new file mode 100644 index 000000000000..a29369184263 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpFullResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.http.SdkHttpFullResponse for testing purposes + +package software.amazon.awssdk.http; + +import java.util.List; +import java.util.Map; +import java.util.Optional; +import software.amazon.awssdk.http.AbortableInputStream; +import software.amazon.awssdk.http.SdkHttpResponse; + +public interface SdkHttpFullResponse extends SdkHttpResponse +{ + Optional content(); + SdkHttpFullResponse.Builder toBuilder(); + static SdkHttpFullResponse.Builder builder(){ return null; } + static public interface Builder extends SdkHttpResponse.Builder + { + AbortableInputStream content(); + Map> headers(); + SdkHttpFullResponse build(); + SdkHttpFullResponse.Builder appendHeader(String p0, String p1); + SdkHttpFullResponse.Builder clearHeaders(); + SdkHttpFullResponse.Builder content(AbortableInputStream p0); + SdkHttpFullResponse.Builder headers(Map> p0); + SdkHttpFullResponse.Builder putHeader(String p0, List p1); + SdkHttpFullResponse.Builder removeHeader(String p0); + SdkHttpFullResponse.Builder statusCode(int p0); + SdkHttpFullResponse.Builder statusText(String p0); + String statusText(); + default SdkHttpFullResponse.Builder putHeader(String p0, String p1){ return null; } + int statusCode(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpHeaders.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpHeaders.java new file mode 100644 index 000000000000..999a56c5cd34 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpHeaders.java @@ -0,0 +1,19 @@ +// Generated automatically from software.amazon.awssdk.http.SdkHttpHeaders for testing purposes + +package software.amazon.awssdk.http; + +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.BiConsumer; + +public interface SdkHttpHeaders +{ + Map> headers(); + default List matchingHeaders(String p0){ return null; } + default Optional firstMatchingHeader(Collection p0){ return null; } + default Optional firstMatchingHeader(String p0){ return null; } + default int numHeaders(){ return 0; } + default void forEachHeader(BiConsumer> p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpMethod.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpMethod.java new file mode 100644 index 000000000000..8c93133f2e96 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpMethod.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.http.SdkHttpMethod for testing purposes + +package software.amazon.awssdk.http; + + +public enum SdkHttpMethod +{ + DELETE, GET, HEAD, OPTIONS, PATCH, POST, PUT; + private SdkHttpMethod() {} + public static SdkHttpMethod fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpRequest.java new file mode 100644 index 000000000000..d44ad9c2fd8b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpRequest.java @@ -0,0 +1,64 @@ +// Generated automatically from software.amazon.awssdk.http.SdkHttpRequest for testing purposes + +package software.amazon.awssdk.http; + +import java.net.URI; +import java.util.Collection; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.BiConsumer; +import software.amazon.awssdk.http.SdkHttpHeaders; +import software.amazon.awssdk.http.SdkHttpMethod; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public interface SdkHttpRequest extends SdkHttpHeaders, ToCopyableBuilder +{ + Map> rawQueryParameters(); + SdkHttpMethod method(); + String encodedPath(); + String host(); + String protocol(); + default List firstMatchingRawQueryParameters(String p0){ return null; } + default Optional encodedQueryParameters(){ return null; } + default Optional encodedQueryParametersAsFormData(){ return null; } + default Optional firstMatchingRawQueryParameter(Collection p0){ return null; } + default Optional firstMatchingRawQueryParameter(String p0){ return null; } + default URI getUri(){ return null; } + default int numRawQueryParameters(){ return 0; } + default void forEachRawQueryParameter(BiConsumer> p0){} + int port(); + static SdkHttpRequest.Builder builder(){ return null; } + static public interface Builder extends CopyableBuilder, SdkHttpHeaders + { + Integer port(); + Map> headers(); + Map> rawQueryParameters(); + SdkHttpMethod method(); + SdkHttpRequest.Builder appendHeader(String p0, String p1); + SdkHttpRequest.Builder appendRawQueryParameter(String p0, String p1); + SdkHttpRequest.Builder clearHeaders(); + SdkHttpRequest.Builder clearQueryParameters(); + SdkHttpRequest.Builder encodedPath(String p0); + SdkHttpRequest.Builder headers(Map> p0); + SdkHttpRequest.Builder host(String p0); + SdkHttpRequest.Builder method(SdkHttpMethod p0); + SdkHttpRequest.Builder port(Integer p0); + SdkHttpRequest.Builder protocol(String p0); + SdkHttpRequest.Builder putHeader(String p0, List p1); + SdkHttpRequest.Builder putRawQueryParameter(String p0, List p1); + SdkHttpRequest.Builder rawQueryParameters(Map> p0); + SdkHttpRequest.Builder removeHeader(String p0); + SdkHttpRequest.Builder removeQueryParameter(String p0); + String encodedPath(); + String host(); + String protocol(); + default Optional encodedQueryParameters(){ return null; } + default SdkHttpRequest.Builder putHeader(String p0, String p1){ return null; } + default SdkHttpRequest.Builder putRawQueryParameter(String p0, String p1){ return null; } + default SdkHttpRequest.Builder uri(URI p0){ return null; } + default int numRawQueryParameters(){ return 0; } + default void forEachRawQueryParameter(BiConsumer> p0){} + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpResponse.java new file mode 100644 index 000000000000..05cf2ffbced0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/SdkHttpResponse.java @@ -0,0 +1,34 @@ +// Generated automatically from software.amazon.awssdk.http.SdkHttpResponse for testing purposes + +package software.amazon.awssdk.http; + +import java.io.Serializable; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import software.amazon.awssdk.http.SdkHttpFullResponse; +import software.amazon.awssdk.http.SdkHttpHeaders; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public interface SdkHttpResponse extends SdkHttpHeaders, Serializable, ToCopyableBuilder +{ + Optional statusText(); + default boolean isSuccessful(){ return false; } + int statusCode(); + static SdkHttpFullResponse.Builder builder(){ return null; } + static public interface Builder extends CopyableBuilder, SdkHttpHeaders + { + Map> headers(); + SdkHttpResponse.Builder appendHeader(String p0, String p1); + SdkHttpResponse.Builder clearHeaders(); + SdkHttpResponse.Builder headers(Map> p0); + SdkHttpResponse.Builder putHeader(String p0, List p1); + SdkHttpResponse.Builder removeHeader(String p0); + SdkHttpResponse.Builder statusCode(int p0); + SdkHttpResponse.Builder statusText(String p0); + String statusText(); + default SdkHttpResponse.Builder putHeader(String p0, String p1){ return null; } + int statusCode(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/AsyncExecuteRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/AsyncExecuteRequest.java new file mode 100644 index 000000000000..c7ae251997fb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/AsyncExecuteRequest.java @@ -0,0 +1,34 @@ +// Generated automatically from software.amazon.awssdk.http.async.AsyncExecuteRequest for testing purposes + +package software.amazon.awssdk.http.async; + +import java.util.Optional; +import software.amazon.awssdk.http.SdkHttpExecutionAttribute; +import software.amazon.awssdk.http.SdkHttpExecutionAttributes; +import software.amazon.awssdk.http.SdkHttpRequest; +import software.amazon.awssdk.http.async.SdkAsyncHttpResponseHandler; +import software.amazon.awssdk.http.async.SdkHttpContentPublisher; +import software.amazon.awssdk.metrics.MetricCollector; + +public class AsyncExecuteRequest +{ + protected AsyncExecuteRequest() {} + public Optional metricCollector(){ return null; } + public SdkAsyncHttpResponseHandler responseHandler(){ return null; } + public SdkHttpContentPublisher requestContentPublisher(){ return null; } + public SdkHttpExecutionAttributes httpExecutionAttributes(){ return null; } + public SdkHttpRequest request(){ return null; } + public boolean fullDuplex(){ return false; } + public static AsyncExecuteRequest.Builder builder(){ return null; } + static public interface Builder + { + AsyncExecuteRequest.Builder putHttpExecutionAttribute(software.amazon.awssdk.http.SdkHttpExecutionAttribute p0, T p1); + AsyncExecuteRequest build(); + AsyncExecuteRequest.Builder fullDuplex(boolean p0); + AsyncExecuteRequest.Builder httpExecutionAttributes(SdkHttpExecutionAttributes p0); + AsyncExecuteRequest.Builder metricCollector(MetricCollector p0); + AsyncExecuteRequest.Builder request(SdkHttpRequest p0); + AsyncExecuteRequest.Builder requestContentPublisher(SdkHttpContentPublisher p0); + AsyncExecuteRequest.Builder responseHandler(SdkAsyncHttpResponseHandler p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkAsyncHttpClient.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkAsyncHttpClient.java new file mode 100644 index 000000000000..ec68e913f609 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkAsyncHttpClient.java @@ -0,0 +1,20 @@ +// Generated automatically from software.amazon.awssdk.http.async.SdkAsyncHttpClient for testing purposes + +package software.amazon.awssdk.http.async; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.http.async.AsyncExecuteRequest; +import software.amazon.awssdk.utils.AttributeMap; +import software.amazon.awssdk.utils.SdkAutoCloseable; +import software.amazon.awssdk.utils.builder.SdkBuilder; + +public interface SdkAsyncHttpClient extends SdkAutoCloseable +{ + CompletableFuture execute(AsyncExecuteRequest p0); + default String clientName(){ return null; } + static public interface Builder> extends SdkBuilder + { + SdkAsyncHttpClient buildWithDefaults(AttributeMap p0); + default SdkAsyncHttpClient build(){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkAsyncHttpResponseHandler.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkAsyncHttpResponseHandler.java new file mode 100644 index 000000000000..49c4d8035696 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkAsyncHttpResponseHandler.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.http.async.SdkAsyncHttpResponseHandler for testing purposes + +package software.amazon.awssdk.http.async; + +import java.nio.ByteBuffer; +import org.reactivestreams.Publisher; +import software.amazon.awssdk.http.SdkHttpResponse; + +public interface SdkAsyncHttpResponseHandler +{ + void onError(Throwable p0); + void onHeaders(SdkHttpResponse p0); + void onStream(Publisher p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkHttpContentPublisher.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkHttpContentPublisher.java new file mode 100644 index 000000000000..c725137c10fd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/http/async/SdkHttpContentPublisher.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.http.async.SdkHttpContentPublisher for testing purposes + +package software.amazon.awssdk.http.async; + +import java.nio.ByteBuffer; +import java.util.Optional; +import org.reactivestreams.Publisher; + +public interface SdkHttpContentPublisher extends Publisher +{ + Optional contentLength(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCategory.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCategory.java new file mode 100644 index 000000000000..1a0d2380596d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCategory.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.metrics.MetricCategory for testing purposes + +package software.amazon.awssdk.metrics; + + +public enum MetricCategory +{ + ALL, CORE, CUSTOM, HTTP_CLIENT; + private MetricCategory() {} + public String getValue(){ return null; } + public static MetricCategory fromString(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCollection.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCollection.java new file mode 100644 index 000000000000..3f60d1cafb91 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCollection.java @@ -0,0 +1,19 @@ +// Generated automatically from software.amazon.awssdk.metrics.MetricCollection for testing purposes + +package software.amazon.awssdk.metrics; + +import java.time.Instant; +import java.util.List; +import java.util.stream.Stream; +import software.amazon.awssdk.metrics.MetricRecord; +import software.amazon.awssdk.metrics.SdkMetric; + +public interface MetricCollection extends Iterable> +{ + java.util.List metricValues(software.amazon.awssdk.metrics.SdkMetric p0); + Instant creationTime(); + List children(); + String name(); + default Stream childrenWithName(String p0){ return null; } + default Stream> stream(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCollector.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCollector.java new file mode 100644 index 000000000000..d2f0171dd3e6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricCollector.java @@ -0,0 +1,15 @@ +// Generated automatically from software.amazon.awssdk.metrics.MetricCollector for testing purposes + +package software.amazon.awssdk.metrics; + +import software.amazon.awssdk.metrics.MetricCollection; +import software.amazon.awssdk.metrics.SdkMetric; + +public interface MetricCollector +{ + void reportMetric(software.amazon.awssdk.metrics.SdkMetric p0, T p1); + MetricCollection collect(); + MetricCollector createChild(String p0); + String name(); + static MetricCollector create(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricLevel.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricLevel.java new file mode 100644 index 000000000000..20540944c05e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricLevel.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.metrics.MetricLevel for testing purposes + +package software.amazon.awssdk.metrics; + + +public enum MetricLevel +{ + ERROR, INFO, TRACE; + private MetricLevel() {} + public boolean includesLevel(MetricLevel p0){ return false; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricPublisher.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricPublisher.java new file mode 100644 index 000000000000..1828d6daf95d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricPublisher.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.metrics.MetricPublisher for testing purposes + +package software.amazon.awssdk.metrics; + +import software.amazon.awssdk.metrics.MetricCollection; +import software.amazon.awssdk.utils.SdkAutoCloseable; + +public interface MetricPublisher extends SdkAutoCloseable +{ + void close(); + void publish(MetricCollection p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricRecord.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricRecord.java new file mode 100644 index 000000000000..ab61b10f0908 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/MetricRecord.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.metrics.MetricRecord for testing purposes + +package software.amazon.awssdk.metrics; + +import software.amazon.awssdk.metrics.SdkMetric; + +public interface MetricRecord +{ + T value(); + software.amazon.awssdk.metrics.SdkMetric metric(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/SdkMetric.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/SdkMetric.java new file mode 100644 index 000000000000..2a2134873825 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/metrics/SdkMetric.java @@ -0,0 +1,17 @@ +// Generated automatically from software.amazon.awssdk.metrics.SdkMetric for testing purposes + +package software.amazon.awssdk.metrics; + +import java.util.Set; +import software.amazon.awssdk.metrics.MetricCategory; +import software.amazon.awssdk.metrics.MetricLevel; + +public interface SdkMetric +{ + MetricLevel level(); + Set categories(); + String name(); + java.lang.Class valueClass(); + static software.amazon.awssdk.metrics.SdkMetric create(String p0, java.lang.Class p1, MetricLevel p2, MetricCategory p3, MetricCategory... p4){ return null; } + static software.amazon.awssdk.metrics.SdkMetric create(String p0, java.lang.Class p1, MetricLevel p2, Set p3){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/profiles/Profile.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/profiles/Profile.java new file mode 100644 index 000000000000..dd87d3c08905 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/profiles/Profile.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.profiles.Profile for testing purposes + +package software.amazon.awssdk.profiles; + +import java.util.Map; +import java.util.Optional; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Profile implements ToCopyableBuilder +{ + protected Profile() {} + public Map properties(){ return null; } + public Optional booleanProperty(String p0){ return null; } + public Optional property(String p0){ return null; } + public Profile.Builder toBuilder(){ return null; } + public String name(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static Profile.Builder builder(){ return null; } + static public interface Builder extends CopyableBuilder + { + Profile build(); + Profile.Builder name(String p0); + Profile.Builder properties(Map p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/profiles/ProfileFile.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/profiles/ProfileFile.java new file mode 100644 index 000000000000..14cbdf8df245 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/profiles/ProfileFile.java @@ -0,0 +1,43 @@ +// Generated automatically from software.amazon.awssdk.profiles.ProfileFile for testing purposes + +package software.amazon.awssdk.profiles; + +import java.io.InputStream; +import java.nio.file.Path; +import java.util.Map; +import java.util.Optional; +import software.amazon.awssdk.profiles.Profile; +import software.amazon.awssdk.utils.builder.SdkBuilder; + +public class ProfileFile +{ + protected ProfileFile() {} + public Map profiles(){ return null; } + public Optional getSection(String p0, String p1){ return null; } + public Optional profile(String p0){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static ProfileFile defaultProfileFile(){ return null; } + public static ProfileFile.Aggregator aggregator(){ return null; } + public static ProfileFile.Builder builder(){ return null; } + public static String PROFILES_SECTION_TITLE = null; + static public class Aggregator implements SdkBuilder + { + public Aggregator(){} + public ProfileFile build(){ return null; } + public ProfileFile.Aggregator addFile(ProfileFile p0){ return null; } + } + static public enum Type + { + CONFIGURATION, CREDENTIALS; + private Type() {} + } + static public interface Builder extends SdkBuilder + { + ProfileFile build(); + ProfileFile.Builder content(InputStream p0); + ProfileFile.Builder content(Path p0); + ProfileFile.Builder type(ProfileFile.Type p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/EndpointTag.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/EndpointTag.java new file mode 100644 index 000000000000..bb2414bbb4f8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/EndpointTag.java @@ -0,0 +1,16 @@ +// Generated automatically from software.amazon.awssdk.regions.EndpointTag for testing purposes + +package software.amazon.awssdk.regions; + +import java.util.List; + +public class EndpointTag +{ + protected EndpointTag() {} + public String id(){ return null; } + public String toString(){ return null; } + public static EndpointTag DUALSTACK = null; + public static EndpointTag FIPS = null; + public static EndpointTag of(String p0){ return null; } + public static List endpointTags(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/PartitionEndpointKey.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/PartitionEndpointKey.java new file mode 100644 index 000000000000..aea9e324ecbe --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/PartitionEndpointKey.java @@ -0,0 +1,23 @@ +// Generated automatically from software.amazon.awssdk.regions.PartitionEndpointKey for testing purposes + +package software.amazon.awssdk.regions; + +import java.util.Collection; +import java.util.Set; +import software.amazon.awssdk.regions.EndpointTag; + +public class PartitionEndpointKey +{ + protected PartitionEndpointKey() {} + public Set tags(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static PartitionEndpointKey.Builder builder(){ return null; } + static public interface Builder + { + PartitionEndpointKey build(); + PartitionEndpointKey.Builder tags(Collection p0); + PartitionEndpointKey.Builder tags(EndpointTag... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/PartitionMetadata.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/PartitionMetadata.java new file mode 100644 index 000000000000..aee0d4dcec03 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/PartitionMetadata.java @@ -0,0 +1,19 @@ +// Generated automatically from software.amazon.awssdk.regions.PartitionMetadata for testing purposes + +package software.amazon.awssdk.regions; + +import software.amazon.awssdk.regions.PartitionEndpointKey; +import software.amazon.awssdk.regions.Region; + +public interface PartitionMetadata +{ + String id(); + String name(); + String regionRegex(); + default String dnsSuffix(){ return null; } + default String dnsSuffix(PartitionEndpointKey p0){ return null; } + default String hostname(){ return null; } + default String hostname(PartitionEndpointKey p0){ return null; } + static PartitionMetadata of(Region p0){ return null; } + static PartitionMetadata of(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/Region.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/Region.java new file mode 100644 index 000000000000..b32bdb96baa4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/Region.java @@ -0,0 +1,55 @@ +// Generated automatically from software.amazon.awssdk.regions.Region for testing purposes + +package software.amazon.awssdk.regions; + +import java.util.List; +import software.amazon.awssdk.regions.RegionMetadata; + +public class Region +{ + protected Region() {} + public RegionMetadata metadata(){ return null; } + public String id(){ return null; } + public String toString(){ return null; } + public boolean isGlobalRegion(){ return false; } + public static List regions(){ return null; } + public static Region AF_SOUTH_1 = null; + public static Region AP_EAST_1 = null; + public static Region AP_NORTHEAST_1 = null; + public static Region AP_NORTHEAST_2 = null; + public static Region AP_NORTHEAST_3 = null; + public static Region AP_SOUTHEAST_1 = null; + public static Region AP_SOUTHEAST_2 = null; + public static Region AP_SOUTHEAST_3 = null; + public static Region AP_SOUTH_1 = null; + public static Region AP_SOUTH_2 = null; + public static Region AWS_CN_GLOBAL = null; + public static Region AWS_GLOBAL = null; + public static Region AWS_ISO_B_GLOBAL = null; + public static Region AWS_ISO_GLOBAL = null; + public static Region AWS_US_GOV_GLOBAL = null; + public static Region CA_CENTRAL_1 = null; + public static Region CN_NORTHWEST_1 = null; + public static Region CN_NORTH_1 = null; + public static Region EU_CENTRAL_1 = null; + public static Region EU_CENTRAL_2 = null; + public static Region EU_NORTH_1 = null; + public static Region EU_SOUTH_1 = null; + public static Region EU_SOUTH_2 = null; + public static Region EU_WEST_1 = null; + public static Region EU_WEST_2 = null; + public static Region EU_WEST_3 = null; + public static Region ME_CENTRAL_1 = null; + public static Region ME_SOUTH_1 = null; + public static Region SA_EAST_1 = null; + public static Region US_EAST_1 = null; + public static Region US_EAST_2 = null; + public static Region US_GOV_EAST_1 = null; + public static Region US_GOV_WEST_1 = null; + public static Region US_ISOB_EAST_1 = null; + public static Region US_ISO_EAST_1 = null; + public static Region US_ISO_WEST_1 = null; + public static Region US_WEST_1 = null; + public static Region US_WEST_2 = null; + public static Region of(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/RegionMetadata.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/RegionMetadata.java new file mode 100644 index 000000000000..d3163a18d77e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/regions/RegionMetadata.java @@ -0,0 +1,15 @@ +// Generated automatically from software.amazon.awssdk.regions.RegionMetadata for testing purposes + +package software.amazon.awssdk.regions; + +import software.amazon.awssdk.regions.PartitionMetadata; +import software.amazon.awssdk.regions.Region; + +public interface RegionMetadata +{ + PartitionMetadata partition(); + String description(); + String domain(); + String id(); + static RegionMetadata of(Region p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3AsyncClient.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3AsyncClient.java new file mode 100644 index 000000000000..a992aeb0f595 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3AsyncClient.java @@ -0,0 +1,421 @@ +// Generated automatically from software.amazon.awssdk.services.s3.S3AsyncClient for testing purposes + +package software.amazon.awssdk.services.s3; + +import java.nio.file.Path; +import java.util.concurrent.CompletableFuture; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkClient; +import software.amazon.awssdk.core.async.AsyncRequestBody; +import software.amazon.awssdk.core.async.AsyncResponseTransformer; +import software.amazon.awssdk.services.s3.S3AsyncClientBuilder; +import software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilder; +import software.amazon.awssdk.services.s3.S3Utilities; +import software.amazon.awssdk.services.s3.model.AbortMultipartUploadRequest; +import software.amazon.awssdk.services.s3.model.AbortMultipartUploadResponse; +import software.amazon.awssdk.services.s3.model.CompleteMultipartUploadRequest; +import software.amazon.awssdk.services.s3.model.CompleteMultipartUploadResponse; +import software.amazon.awssdk.services.s3.model.CopyObjectRequest; +import software.amazon.awssdk.services.s3.model.CopyObjectResponse; +import software.amazon.awssdk.services.s3.model.CreateBucketRequest; +import software.amazon.awssdk.services.s3.model.CreateBucketResponse; +import software.amazon.awssdk.services.s3.model.CreateMultipartUploadRequest; +import software.amazon.awssdk.services.s3.model.CreateMultipartUploadResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketAnalyticsConfigurationRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketAnalyticsConfigurationResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketCorsRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketCorsResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketEncryptionRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketEncryptionResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketIntelligentTieringConfigurationRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketIntelligentTieringConfigurationResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketInventoryConfigurationRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketInventoryConfigurationResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketLifecycleRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketLifecycleResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketMetricsConfigurationRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketMetricsConfigurationResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketOwnershipControlsRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketOwnershipControlsResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketPolicyRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketPolicyResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketReplicationRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketReplicationResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketTaggingRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketTaggingResponse; +import software.amazon.awssdk.services.s3.model.DeleteBucketWebsiteRequest; +import software.amazon.awssdk.services.s3.model.DeleteBucketWebsiteResponse; +import software.amazon.awssdk.services.s3.model.DeleteObjectRequest; +import software.amazon.awssdk.services.s3.model.DeleteObjectResponse; +import software.amazon.awssdk.services.s3.model.DeleteObjectTaggingRequest; +import software.amazon.awssdk.services.s3.model.DeleteObjectTaggingResponse; +import software.amazon.awssdk.services.s3.model.DeleteObjectsRequest; +import software.amazon.awssdk.services.s3.model.DeleteObjectsResponse; +import software.amazon.awssdk.services.s3.model.DeletePublicAccessBlockRequest; +import software.amazon.awssdk.services.s3.model.DeletePublicAccessBlockResponse; +import software.amazon.awssdk.services.s3.model.GetBucketAccelerateConfigurationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketAccelerateConfigurationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketAclRequest; +import software.amazon.awssdk.services.s3.model.GetBucketAclResponse; +import software.amazon.awssdk.services.s3.model.GetBucketAnalyticsConfigurationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketAnalyticsConfigurationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketCorsRequest; +import software.amazon.awssdk.services.s3.model.GetBucketCorsResponse; +import software.amazon.awssdk.services.s3.model.GetBucketEncryptionRequest; +import software.amazon.awssdk.services.s3.model.GetBucketEncryptionResponse; +import software.amazon.awssdk.services.s3.model.GetBucketIntelligentTieringConfigurationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketIntelligentTieringConfigurationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketInventoryConfigurationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketInventoryConfigurationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketLifecycleConfigurationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketLifecycleConfigurationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketLocationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketLocationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketLoggingRequest; +import software.amazon.awssdk.services.s3.model.GetBucketLoggingResponse; +import software.amazon.awssdk.services.s3.model.GetBucketMetricsConfigurationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketMetricsConfigurationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketNotificationConfigurationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketNotificationConfigurationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketOwnershipControlsRequest; +import software.amazon.awssdk.services.s3.model.GetBucketOwnershipControlsResponse; +import software.amazon.awssdk.services.s3.model.GetBucketPolicyRequest; +import software.amazon.awssdk.services.s3.model.GetBucketPolicyResponse; +import software.amazon.awssdk.services.s3.model.GetBucketPolicyStatusRequest; +import software.amazon.awssdk.services.s3.model.GetBucketPolicyStatusResponse; +import software.amazon.awssdk.services.s3.model.GetBucketReplicationRequest; +import software.amazon.awssdk.services.s3.model.GetBucketReplicationResponse; +import software.amazon.awssdk.services.s3.model.GetBucketRequestPaymentRequest; +import software.amazon.awssdk.services.s3.model.GetBucketRequestPaymentResponse; +import software.amazon.awssdk.services.s3.model.GetBucketTaggingRequest; +import software.amazon.awssdk.services.s3.model.GetBucketTaggingResponse; +import software.amazon.awssdk.services.s3.model.GetBucketVersioningRequest; +import software.amazon.awssdk.services.s3.model.GetBucketVersioningResponse; +import software.amazon.awssdk.services.s3.model.GetBucketWebsiteRequest; +import software.amazon.awssdk.services.s3.model.GetBucketWebsiteResponse; +import software.amazon.awssdk.services.s3.model.GetObjectAclRequest; +import software.amazon.awssdk.services.s3.model.GetObjectAclResponse; +import software.amazon.awssdk.services.s3.model.GetObjectAttributesRequest; +import software.amazon.awssdk.services.s3.model.GetObjectAttributesResponse; +import software.amazon.awssdk.services.s3.model.GetObjectLegalHoldRequest; +import software.amazon.awssdk.services.s3.model.GetObjectLegalHoldResponse; +import software.amazon.awssdk.services.s3.model.GetObjectLockConfigurationRequest; +import software.amazon.awssdk.services.s3.model.GetObjectLockConfigurationResponse; +import software.amazon.awssdk.services.s3.model.GetObjectRequest; +import software.amazon.awssdk.services.s3.model.GetObjectResponse; +import software.amazon.awssdk.services.s3.model.GetObjectRetentionRequest; +import software.amazon.awssdk.services.s3.model.GetObjectRetentionResponse; +import software.amazon.awssdk.services.s3.model.GetObjectTaggingRequest; +import software.amazon.awssdk.services.s3.model.GetObjectTaggingResponse; +import software.amazon.awssdk.services.s3.model.GetObjectTorrentRequest; +import software.amazon.awssdk.services.s3.model.GetObjectTorrentResponse; +import software.amazon.awssdk.services.s3.model.GetPublicAccessBlockRequest; +import software.amazon.awssdk.services.s3.model.GetPublicAccessBlockResponse; +import software.amazon.awssdk.services.s3.model.HeadBucketRequest; +import software.amazon.awssdk.services.s3.model.HeadBucketResponse; +import software.amazon.awssdk.services.s3.model.HeadObjectRequest; +import software.amazon.awssdk.services.s3.model.HeadObjectResponse; +import software.amazon.awssdk.services.s3.model.ListBucketAnalyticsConfigurationsRequest; +import software.amazon.awssdk.services.s3.model.ListBucketAnalyticsConfigurationsResponse; +import software.amazon.awssdk.services.s3.model.ListBucketIntelligentTieringConfigurationsRequest; +import software.amazon.awssdk.services.s3.model.ListBucketIntelligentTieringConfigurationsResponse; +import software.amazon.awssdk.services.s3.model.ListBucketInventoryConfigurationsRequest; +import software.amazon.awssdk.services.s3.model.ListBucketInventoryConfigurationsResponse; +import software.amazon.awssdk.services.s3.model.ListBucketMetricsConfigurationsRequest; +import software.amazon.awssdk.services.s3.model.ListBucketMetricsConfigurationsResponse; +import software.amazon.awssdk.services.s3.model.ListBucketsRequest; +import software.amazon.awssdk.services.s3.model.ListBucketsResponse; +import software.amazon.awssdk.services.s3.model.ListMultipartUploadsRequest; +import software.amazon.awssdk.services.s3.model.ListMultipartUploadsResponse; +import software.amazon.awssdk.services.s3.model.ListObjectVersionsRequest; +import software.amazon.awssdk.services.s3.model.ListObjectVersionsResponse; +import software.amazon.awssdk.services.s3.model.ListObjectsRequest; +import software.amazon.awssdk.services.s3.model.ListObjectsResponse; +import software.amazon.awssdk.services.s3.model.ListObjectsV2Request; +import software.amazon.awssdk.services.s3.model.ListObjectsV2Response; +import software.amazon.awssdk.services.s3.model.ListPartsRequest; +import software.amazon.awssdk.services.s3.model.ListPartsResponse; +import software.amazon.awssdk.services.s3.model.PutBucketAccelerateConfigurationRequest; +import software.amazon.awssdk.services.s3.model.PutBucketAccelerateConfigurationResponse; +import software.amazon.awssdk.services.s3.model.PutBucketAclRequest; +import software.amazon.awssdk.services.s3.model.PutBucketAclResponse; +import software.amazon.awssdk.services.s3.model.PutBucketAnalyticsConfigurationRequest; +import software.amazon.awssdk.services.s3.model.PutBucketAnalyticsConfigurationResponse; +import software.amazon.awssdk.services.s3.model.PutBucketCorsRequest; +import software.amazon.awssdk.services.s3.model.PutBucketCorsResponse; +import software.amazon.awssdk.services.s3.model.PutBucketEncryptionRequest; +import software.amazon.awssdk.services.s3.model.PutBucketEncryptionResponse; +import software.amazon.awssdk.services.s3.model.PutBucketIntelligentTieringConfigurationRequest; +import software.amazon.awssdk.services.s3.model.PutBucketIntelligentTieringConfigurationResponse; +import software.amazon.awssdk.services.s3.model.PutBucketInventoryConfigurationRequest; +import software.amazon.awssdk.services.s3.model.PutBucketInventoryConfigurationResponse; +import software.amazon.awssdk.services.s3.model.PutBucketLifecycleConfigurationRequest; +import software.amazon.awssdk.services.s3.model.PutBucketLifecycleConfigurationResponse; +import software.amazon.awssdk.services.s3.model.PutBucketLoggingRequest; +import software.amazon.awssdk.services.s3.model.PutBucketLoggingResponse; +import software.amazon.awssdk.services.s3.model.PutBucketMetricsConfigurationRequest; +import software.amazon.awssdk.services.s3.model.PutBucketMetricsConfigurationResponse; +import software.amazon.awssdk.services.s3.model.PutBucketNotificationConfigurationRequest; +import software.amazon.awssdk.services.s3.model.PutBucketNotificationConfigurationResponse; +import software.amazon.awssdk.services.s3.model.PutBucketOwnershipControlsRequest; +import software.amazon.awssdk.services.s3.model.PutBucketOwnershipControlsResponse; +import software.amazon.awssdk.services.s3.model.PutBucketPolicyRequest; +import software.amazon.awssdk.services.s3.model.PutBucketPolicyResponse; +import software.amazon.awssdk.services.s3.model.PutBucketReplicationRequest; +import software.amazon.awssdk.services.s3.model.PutBucketReplicationResponse; +import software.amazon.awssdk.services.s3.model.PutBucketRequestPaymentRequest; +import software.amazon.awssdk.services.s3.model.PutBucketRequestPaymentResponse; +import software.amazon.awssdk.services.s3.model.PutBucketTaggingRequest; +import software.amazon.awssdk.services.s3.model.PutBucketTaggingResponse; +import software.amazon.awssdk.services.s3.model.PutBucketVersioningRequest; +import software.amazon.awssdk.services.s3.model.PutBucketVersioningResponse; +import software.amazon.awssdk.services.s3.model.PutBucketWebsiteRequest; +import software.amazon.awssdk.services.s3.model.PutBucketWebsiteResponse; +import software.amazon.awssdk.services.s3.model.PutObjectAclRequest; +import software.amazon.awssdk.services.s3.model.PutObjectAclResponse; +import software.amazon.awssdk.services.s3.model.PutObjectLegalHoldRequest; +import software.amazon.awssdk.services.s3.model.PutObjectLegalHoldResponse; +import software.amazon.awssdk.services.s3.model.PutObjectLockConfigurationRequest; +import software.amazon.awssdk.services.s3.model.PutObjectLockConfigurationResponse; +import software.amazon.awssdk.services.s3.model.PutObjectRequest; +import software.amazon.awssdk.services.s3.model.PutObjectResponse; +import software.amazon.awssdk.services.s3.model.PutObjectRetentionRequest; +import software.amazon.awssdk.services.s3.model.PutObjectRetentionResponse; +import software.amazon.awssdk.services.s3.model.PutObjectTaggingRequest; +import software.amazon.awssdk.services.s3.model.PutObjectTaggingResponse; +import software.amazon.awssdk.services.s3.model.PutPublicAccessBlockRequest; +import software.amazon.awssdk.services.s3.model.PutPublicAccessBlockResponse; +import software.amazon.awssdk.services.s3.model.RestoreObjectRequest; +import software.amazon.awssdk.services.s3.model.RestoreObjectResponse; +import software.amazon.awssdk.services.s3.model.SelectObjectContentRequest; +import software.amazon.awssdk.services.s3.model.SelectObjectContentResponseHandler; +import software.amazon.awssdk.services.s3.model.UploadPartCopyRequest; +import software.amazon.awssdk.services.s3.model.UploadPartCopyResponse; +import software.amazon.awssdk.services.s3.model.UploadPartRequest; +import software.amazon.awssdk.services.s3.model.UploadPartResponse; +import software.amazon.awssdk.services.s3.model.WriteGetObjectResponseRequest; +import software.amazon.awssdk.services.s3.model.WriteGetObjectResponseResponse; +import software.amazon.awssdk.services.s3.paginators.ListMultipartUploadsPublisher; +import software.amazon.awssdk.services.s3.paginators.ListObjectVersionsPublisher; +import software.amazon.awssdk.services.s3.paginators.ListObjectsV2Publisher; +import software.amazon.awssdk.services.s3.paginators.ListPartsPublisher; +import software.amazon.awssdk.services.s3.waiters.S3AsyncWaiter; + +public interface S3AsyncClient extends SdkClient +{ + default java.util.concurrent.CompletableFuture getObject(GetObjectRequest p0, software.amazon.awssdk.core.async.AsyncResponseTransformer p1){ return null; } + default java.util.concurrent.CompletableFuture getObject(java.util.function.Consumer p0, software.amazon.awssdk.core.async.AsyncResponseTransformer p1){ return null; } + default java.util.concurrent.CompletableFuture getObjectTorrent(GetObjectTorrentRequest p0, software.amazon.awssdk.core.async.AsyncResponseTransformer p1){ return null; } + default java.util.concurrent.CompletableFuture getObjectTorrent(java.util.function.Consumer p0, software.amazon.awssdk.core.async.AsyncResponseTransformer p1){ return null; } + default CompletableFuture abortMultipartUpload(AbortMultipartUploadRequest p0){ return null; } + default CompletableFuture abortMultipartUpload(java.util.function.Consumer p0){ return null; } + default CompletableFuture completeMultipartUpload(CompleteMultipartUploadRequest p0){ return null; } + default CompletableFuture completeMultipartUpload(java.util.function.Consumer p0){ return null; } + default CompletableFuture copyObject(CopyObjectRequest p0){ return null; } + default CompletableFuture copyObject(java.util.function.Consumer p0){ return null; } + default CompletableFuture createBucket(CreateBucketRequest p0){ return null; } + default CompletableFuture createBucket(java.util.function.Consumer p0){ return null; } + default CompletableFuture createMultipartUpload(CreateMultipartUploadRequest p0){ return null; } + default CompletableFuture createMultipartUpload(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketAnalyticsConfiguration(DeleteBucketAnalyticsConfigurationRequest p0){ return null; } + default CompletableFuture deleteBucketAnalyticsConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketCors(DeleteBucketCorsRequest p0){ return null; } + default CompletableFuture deleteBucketCors(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketEncryption(DeleteBucketEncryptionRequest p0){ return null; } + default CompletableFuture deleteBucketEncryption(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketIntelligentTieringConfiguration(DeleteBucketIntelligentTieringConfigurationRequest p0){ return null; } + default CompletableFuture deleteBucketIntelligentTieringConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketInventoryConfiguration(DeleteBucketInventoryConfigurationRequest p0){ return null; } + default CompletableFuture deleteBucketInventoryConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketLifecycle(DeleteBucketLifecycleRequest p0){ return null; } + default CompletableFuture deleteBucketLifecycle(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketMetricsConfiguration(DeleteBucketMetricsConfigurationRequest p0){ return null; } + default CompletableFuture deleteBucketMetricsConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketOwnershipControls(DeleteBucketOwnershipControlsRequest p0){ return null; } + default CompletableFuture deleteBucketOwnershipControls(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketPolicy(DeleteBucketPolicyRequest p0){ return null; } + default CompletableFuture deleteBucketPolicy(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketReplication(DeleteBucketReplicationRequest p0){ return null; } + default CompletableFuture deleteBucketReplication(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucket(DeleteBucketRequest p0){ return null; } + default CompletableFuture deleteBucket(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketTagging(DeleteBucketTaggingRequest p0){ return null; } + default CompletableFuture deleteBucketTagging(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteBucketWebsite(DeleteBucketWebsiteRequest p0){ return null; } + default CompletableFuture deleteBucketWebsite(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteObject(DeleteObjectRequest p0){ return null; } + default CompletableFuture deleteObject(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteObjectTagging(DeleteObjectTaggingRequest p0){ return null; } + default CompletableFuture deleteObjectTagging(java.util.function.Consumer p0){ return null; } + default CompletableFuture deleteObjects(DeleteObjectsRequest p0){ return null; } + default CompletableFuture deleteObjects(java.util.function.Consumer p0){ return null; } + default CompletableFuture deletePublicAccessBlock(DeletePublicAccessBlockRequest p0){ return null; } + default CompletableFuture deletePublicAccessBlock(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketAccelerateConfiguration(GetBucketAccelerateConfigurationRequest p0){ return null; } + default CompletableFuture getBucketAccelerateConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketAcl(GetBucketAclRequest p0){ return null; } + default CompletableFuture getBucketAcl(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketAnalyticsConfiguration(GetBucketAnalyticsConfigurationRequest p0){ return null; } + default CompletableFuture getBucketAnalyticsConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketCors(GetBucketCorsRequest p0){ return null; } + default CompletableFuture getBucketCors(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketEncryption(GetBucketEncryptionRequest p0){ return null; } + default CompletableFuture getBucketEncryption(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketIntelligentTieringConfiguration(GetBucketIntelligentTieringConfigurationRequest p0){ return null; } + default CompletableFuture getBucketIntelligentTieringConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketInventoryConfiguration(GetBucketInventoryConfigurationRequest p0){ return null; } + default CompletableFuture getBucketInventoryConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketLifecycleConfiguration(GetBucketLifecycleConfigurationRequest p0){ return null; } + default CompletableFuture getBucketLifecycleConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketLocation(GetBucketLocationRequest p0){ return null; } + default CompletableFuture getBucketLocation(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketLogging(GetBucketLoggingRequest p0){ return null; } + default CompletableFuture getBucketLogging(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketMetricsConfiguration(GetBucketMetricsConfigurationRequest p0){ return null; } + default CompletableFuture getBucketMetricsConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketNotificationConfiguration(GetBucketNotificationConfigurationRequest p0){ return null; } + default CompletableFuture getBucketNotificationConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketOwnershipControls(GetBucketOwnershipControlsRequest p0){ return null; } + default CompletableFuture getBucketOwnershipControls(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketPolicy(GetBucketPolicyRequest p0){ return null; } + default CompletableFuture getBucketPolicy(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketPolicyStatus(GetBucketPolicyStatusRequest p0){ return null; } + default CompletableFuture getBucketPolicyStatus(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketReplication(GetBucketReplicationRequest p0){ return null; } + default CompletableFuture getBucketReplication(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketRequestPayment(GetBucketRequestPaymentRequest p0){ return null; } + default CompletableFuture getBucketRequestPayment(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketTagging(GetBucketTaggingRequest p0){ return null; } + default CompletableFuture getBucketTagging(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketVersioning(GetBucketVersioningRequest p0){ return null; } + default CompletableFuture getBucketVersioning(java.util.function.Consumer p0){ return null; } + default CompletableFuture getBucketWebsite(GetBucketWebsiteRequest p0){ return null; } + default CompletableFuture getBucketWebsite(java.util.function.Consumer p0){ return null; } + default CompletableFuture getObjectAcl(GetObjectAclRequest p0){ return null; } + default CompletableFuture getObjectAcl(java.util.function.Consumer p0){ return null; } + default CompletableFuture getObjectAttributes(GetObjectAttributesRequest p0){ return null; } + default CompletableFuture getObjectAttributes(java.util.function.Consumer p0){ return null; } + default CompletableFuture getObjectLegalHold(GetObjectLegalHoldRequest p0){ return null; } + default CompletableFuture getObjectLegalHold(java.util.function.Consumer p0){ return null; } + default CompletableFuture getObjectLockConfiguration(GetObjectLockConfigurationRequest p0){ return null; } + default CompletableFuture getObjectLockConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture getObject(GetObjectRequest p0, Path p1){ return null; } + default CompletableFuture getObject(java.util.function.Consumer p0, Path p1){ return null; } + default CompletableFuture getObjectRetention(GetObjectRetentionRequest p0){ return null; } + default CompletableFuture getObjectRetention(java.util.function.Consumer p0){ return null; } + default CompletableFuture getObjectTagging(GetObjectTaggingRequest p0){ return null; } + default CompletableFuture getObjectTagging(java.util.function.Consumer p0){ return null; } + default CompletableFuture getObjectTorrent(GetObjectTorrentRequest p0, Path p1){ return null; } + default CompletableFuture getObjectTorrent(java.util.function.Consumer p0, Path p1){ return null; } + default CompletableFuture getPublicAccessBlock(GetPublicAccessBlockRequest p0){ return null; } + default CompletableFuture getPublicAccessBlock(java.util.function.Consumer p0){ return null; } + default CompletableFuture headBucket(HeadBucketRequest p0){ return null; } + default CompletableFuture headBucket(java.util.function.Consumer p0){ return null; } + default CompletableFuture headObject(HeadObjectRequest p0){ return null; } + default CompletableFuture headObject(java.util.function.Consumer p0){ return null; } + default CompletableFuture listBucketAnalyticsConfigurations(ListBucketAnalyticsConfigurationsRequest p0){ return null; } + default CompletableFuture listBucketAnalyticsConfigurations(java.util.function.Consumer p0){ return null; } + default CompletableFuture listBucketIntelligentTieringConfigurations(ListBucketIntelligentTieringConfigurationsRequest p0){ return null; } + default CompletableFuture listBucketIntelligentTieringConfigurations(java.util.function.Consumer p0){ return null; } + default CompletableFuture listBucketInventoryConfigurations(ListBucketInventoryConfigurationsRequest p0){ return null; } + default CompletableFuture listBucketInventoryConfigurations(java.util.function.Consumer p0){ return null; } + default CompletableFuture listBucketMetricsConfigurations(ListBucketMetricsConfigurationsRequest p0){ return null; } + default CompletableFuture listBucketMetricsConfigurations(java.util.function.Consumer p0){ return null; } + default CompletableFuture listBuckets(){ return null; } + default CompletableFuture listBuckets(ListBucketsRequest p0){ return null; } + default CompletableFuture listBuckets(java.util.function.Consumer p0){ return null; } + default CompletableFuture listMultipartUploads(ListMultipartUploadsRequest p0){ return null; } + default CompletableFuture listMultipartUploads(java.util.function.Consumer p0){ return null; } + default CompletableFuture listObjectVersions(ListObjectVersionsRequest p0){ return null; } + default CompletableFuture listObjectVersions(java.util.function.Consumer p0){ return null; } + default CompletableFuture listObjects(ListObjectsRequest p0){ return null; } + default CompletableFuture listObjects(java.util.function.Consumer p0){ return null; } + default CompletableFuture listObjectsV2(ListObjectsV2Request p0){ return null; } + default CompletableFuture listObjectsV2(java.util.function.Consumer p0){ return null; } + default CompletableFuture listParts(ListPartsRequest p0){ return null; } + default CompletableFuture listParts(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketAccelerateConfiguration(PutBucketAccelerateConfigurationRequest p0){ return null; } + default CompletableFuture putBucketAccelerateConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketAcl(PutBucketAclRequest p0){ return null; } + default CompletableFuture putBucketAcl(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketAnalyticsConfiguration(PutBucketAnalyticsConfigurationRequest p0){ return null; } + default CompletableFuture putBucketAnalyticsConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketCors(PutBucketCorsRequest p0){ return null; } + default CompletableFuture putBucketCors(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketEncryption(PutBucketEncryptionRequest p0){ return null; } + default CompletableFuture putBucketEncryption(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketIntelligentTieringConfiguration(PutBucketIntelligentTieringConfigurationRequest p0){ return null; } + default CompletableFuture putBucketIntelligentTieringConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketInventoryConfiguration(PutBucketInventoryConfigurationRequest p0){ return null; } + default CompletableFuture putBucketInventoryConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketLifecycleConfiguration(PutBucketLifecycleConfigurationRequest p0){ return null; } + default CompletableFuture putBucketLifecycleConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketLogging(PutBucketLoggingRequest p0){ return null; } + default CompletableFuture putBucketLogging(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketMetricsConfiguration(PutBucketMetricsConfigurationRequest p0){ return null; } + default CompletableFuture putBucketMetricsConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketNotificationConfiguration(PutBucketNotificationConfigurationRequest p0){ return null; } + default CompletableFuture putBucketNotificationConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketOwnershipControls(PutBucketOwnershipControlsRequest p0){ return null; } + default CompletableFuture putBucketOwnershipControls(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketPolicy(PutBucketPolicyRequest p0){ return null; } + default CompletableFuture putBucketPolicy(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketReplication(PutBucketReplicationRequest p0){ return null; } + default CompletableFuture putBucketReplication(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketRequestPayment(PutBucketRequestPaymentRequest p0){ return null; } + default CompletableFuture putBucketRequestPayment(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketTagging(PutBucketTaggingRequest p0){ return null; } + default CompletableFuture putBucketTagging(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketVersioning(PutBucketVersioningRequest p0){ return null; } + default CompletableFuture putBucketVersioning(java.util.function.Consumer p0){ return null; } + default CompletableFuture putBucketWebsite(PutBucketWebsiteRequest p0){ return null; } + default CompletableFuture putBucketWebsite(java.util.function.Consumer p0){ return null; } + default CompletableFuture putObjectAcl(PutObjectAclRequest p0){ return null; } + default CompletableFuture putObjectAcl(java.util.function.Consumer p0){ return null; } + default CompletableFuture putObjectLegalHold(PutObjectLegalHoldRequest p0){ return null; } + default CompletableFuture putObjectLegalHold(java.util.function.Consumer p0){ return null; } + default CompletableFuture putObjectLockConfiguration(PutObjectLockConfigurationRequest p0){ return null; } + default CompletableFuture putObjectLockConfiguration(java.util.function.Consumer p0){ return null; } + default CompletableFuture putObject(PutObjectRequest p0, AsyncRequestBody p1){ return null; } + default CompletableFuture putObject(PutObjectRequest p0, Path p1){ return null; } + default CompletableFuture putObject(java.util.function.Consumer p0, AsyncRequestBody p1){ return null; } + default CompletableFuture putObject(java.util.function.Consumer p0, Path p1){ return null; } + default CompletableFuture putObjectRetention(PutObjectRetentionRequest p0){ return null; } + default CompletableFuture putObjectRetention(java.util.function.Consumer p0){ return null; } + default CompletableFuture putObjectTagging(PutObjectTaggingRequest p0){ return null; } + default CompletableFuture putObjectTagging(java.util.function.Consumer p0){ return null; } + default CompletableFuture putPublicAccessBlock(PutPublicAccessBlockRequest p0){ return null; } + default CompletableFuture putPublicAccessBlock(java.util.function.Consumer p0){ return null; } + default CompletableFuture restoreObject(RestoreObjectRequest p0){ return null; } + default CompletableFuture restoreObject(java.util.function.Consumer p0){ return null; } + default CompletableFuture uploadPartCopy(UploadPartCopyRequest p0){ return null; } + default CompletableFuture uploadPartCopy(java.util.function.Consumer p0){ return null; } + default CompletableFuture uploadPart(UploadPartRequest p0, AsyncRequestBody p1){ return null; } + default CompletableFuture uploadPart(UploadPartRequest p0, Path p1){ return null; } + default CompletableFuture uploadPart(java.util.function.Consumer p0, AsyncRequestBody p1){ return null; } + default CompletableFuture uploadPart(java.util.function.Consumer p0, Path p1){ return null; } + default CompletableFuture selectObjectContent(SelectObjectContentRequest p0, SelectObjectContentResponseHandler p1){ return null; } + default CompletableFuture selectObjectContent(java.util.function.Consumer p0, SelectObjectContentResponseHandler p1){ return null; } + default CompletableFuture writeGetObjectResponse(WriteGetObjectResponseRequest p0, AsyncRequestBody p1){ return null; } + default CompletableFuture writeGetObjectResponse(WriteGetObjectResponseRequest p0, Path p1){ return null; } + default CompletableFuture writeGetObjectResponse(java.util.function.Consumer p0, AsyncRequestBody p1){ return null; } + default CompletableFuture writeGetObjectResponse(java.util.function.Consumer p0, Path p1){ return null; } + default ListMultipartUploadsPublisher listMultipartUploadsPaginator(ListMultipartUploadsRequest p0){ return null; } + default ListMultipartUploadsPublisher listMultipartUploadsPaginator(java.util.function.Consumer p0){ return null; } + default ListObjectVersionsPublisher listObjectVersionsPaginator(ListObjectVersionsRequest p0){ return null; } + default ListObjectVersionsPublisher listObjectVersionsPaginator(java.util.function.Consumer p0){ return null; } + default ListObjectsV2Publisher listObjectsV2Paginator(ListObjectsV2Request p0){ return null; } + default ListObjectsV2Publisher listObjectsV2Paginator(java.util.function.Consumer p0){ return null; } + default ListPartsPublisher listPartsPaginator(ListPartsRequest p0){ return null; } + default ListPartsPublisher listPartsPaginator(java.util.function.Consumer p0){ return null; } + default S3AsyncWaiter waiter(){ return null; } + default S3Utilities utilities(){ return null; } + static S3AsyncClient create(){ return null; } + static S3AsyncClient crtCreate(){ return null; } + static S3AsyncClientBuilder builder(){ return null; } + static S3CrtAsyncClientBuilder crtBuilder(){ return null; } + static String SERVICE_METADATA_ID = null; + static String SERVICE_NAME = null; +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3AsyncClientBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3AsyncClientBuilder.java new file mode 100644 index 000000000000..1d46940ccaa5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3AsyncClientBuilder.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.services.s3.S3AsyncClientBuilder for testing purposes + +package software.amazon.awssdk.services.s3; + +import software.amazon.awssdk.awscore.client.builder.AwsAsyncClientBuilder; +import software.amazon.awssdk.services.s3.S3AsyncClient; +import software.amazon.awssdk.services.s3.S3BaseClientBuilder; + +public interface S3AsyncClientBuilder extends AwsAsyncClientBuilder, S3BaseClientBuilder +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3BaseClientBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3BaseClientBuilder.java new file mode 100644 index 000000000000..a75b8b2d4daa --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3BaseClientBuilder.java @@ -0,0 +1,19 @@ +// Generated automatically from software.amazon.awssdk.services.s3.S3BaseClientBuilder for testing purposes + +package software.amazon.awssdk.services.s3; + +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.client.builder.AwsClientBuilder; +import software.amazon.awssdk.services.s3.S3Configuration; +import software.amazon.awssdk.services.s3.endpoints.S3EndpointProvider; + +public interface S3BaseClientBuilder, C> extends AwsClientBuilder +{ + B accelerate(Boolean p0); + B disableMultiRegionAccessPoints(Boolean p0); + B forcePathStyle(Boolean p0); + B serviceConfiguration(S3Configuration p0); + B useArnRegion(Boolean p0); + default B endpointProvider(S3EndpointProvider p0){ return null; } + default B serviceConfiguration(java.util.function.Consumer p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3Configuration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3Configuration.java new file mode 100644 index 000000000000..ee8205eb7799 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3Configuration.java @@ -0,0 +1,43 @@ +// Generated automatically from software.amazon.awssdk.services.s3.S3Configuration for testing purposes + +package software.amazon.awssdk.services.s3; + +import software.amazon.awssdk.core.ServiceConfiguration; +import software.amazon.awssdk.profiles.ProfileFile; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class S3Configuration implements ServiceConfiguration, ToCopyableBuilder +{ + protected S3Configuration() {} + public S3Configuration.Builder toBuilder(){ return null; } + public boolean accelerateModeEnabled(){ return false; } + public boolean checksumValidationEnabled(){ return false; } + public boolean chunkedEncodingEnabled(){ return false; } + public boolean dualstackEnabled(){ return false; } + public boolean multiRegionEnabled(){ return false; } + public boolean pathStyleAccessEnabled(){ return false; } + public boolean useArnRegionEnabled(){ return false; } + public static S3Configuration.Builder builder(){ return null; } + static public interface Builder extends CopyableBuilder + { + Boolean accelerateModeEnabled(); + Boolean checksumValidationEnabled(); + Boolean chunkedEncodingEnabled(); + Boolean dualstackEnabled(); + Boolean multiRegionEnabled(); + Boolean pathStyleAccessEnabled(); + Boolean useArnRegionEnabled(); + ProfileFile profileFile(); + S3Configuration.Builder accelerateModeEnabled(Boolean p0); + S3Configuration.Builder checksumValidationEnabled(Boolean p0); + S3Configuration.Builder chunkedEncodingEnabled(Boolean p0); + S3Configuration.Builder dualstackEnabled(Boolean p0); + S3Configuration.Builder multiRegionEnabled(Boolean p0); + S3Configuration.Builder pathStyleAccessEnabled(Boolean p0); + S3Configuration.Builder profileFile(ProfileFile p0); + S3Configuration.Builder profileName(String p0); + S3Configuration.Builder useArnRegionEnabled(Boolean p0); + String profileName(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3CrtAsyncClientBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3CrtAsyncClientBuilder.java new file mode 100644 index 000000000000..d158510b2476 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3CrtAsyncClientBuilder.java @@ -0,0 +1,22 @@ +// Generated automatically from software.amazon.awssdk.services.s3.S3CrtAsyncClientBuilder for testing purposes + +package software.amazon.awssdk.services.s3; + +import java.net.URI; +import software.amazon.awssdk.auth.credentials.AwsCredentialsProvider; +import software.amazon.awssdk.regions.Region; +import software.amazon.awssdk.services.s3.S3AsyncClient; +import software.amazon.awssdk.utils.builder.SdkBuilder; + +public interface S3CrtAsyncClientBuilder extends SdkBuilder +{ + S3AsyncClient build(); + S3CrtAsyncClientBuilder checksumValidationEnabled(Boolean p0); + S3CrtAsyncClientBuilder credentialsProvider(AwsCredentialsProvider p0); + S3CrtAsyncClientBuilder endpointOverride(URI p0); + S3CrtAsyncClientBuilder initialReadBufferSizeInBytes(Long p0); + S3CrtAsyncClientBuilder maxConcurrency(Integer p0); + S3CrtAsyncClientBuilder minimumPartSizeInBytes(Long p0); + S3CrtAsyncClientBuilder region(Region p0); + S3CrtAsyncClientBuilder targetThroughputInGbps(Double p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3Utilities.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3Utilities.java new file mode 100644 index 000000000000..76813f3d2c46 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/S3Utilities.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.S3Utilities for testing purposes + +package software.amazon.awssdk.services.s3; + +import java.net.URI; +import java.net.URL; +import java.util.function.Consumer; +import software.amazon.awssdk.regions.Region; +import software.amazon.awssdk.services.s3.S3Configuration; +import software.amazon.awssdk.services.s3.model.GetUrlRequest; + +public class S3Utilities +{ + protected S3Utilities() {} + public URL getUrl(GetUrlRequest p0){ return null; } + public URL getUrl(java.util.function.Consumer p0){ return null; } + public static S3Utilities.Builder builder(){ return null; } + static public class Builder + { + protected Builder() {} + public S3Utilities build(){ return null; } + public S3Utilities.Builder dualstackEnabled(Boolean p0){ return null; } + public S3Utilities.Builder endpoint(URI p0){ return null; } + public S3Utilities.Builder fipsEnabled(Boolean p0){ return null; } + public S3Utilities.Builder region(Region p0){ return null; } + public S3Utilities.Builder s3Configuration(S3Configuration p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/endpoints/S3EndpointParams.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/endpoints/S3EndpointParams.java new file mode 100644 index 000000000000..b1ee0f47cd21 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/endpoints/S3EndpointParams.java @@ -0,0 +1,39 @@ +// Generated automatically from software.amazon.awssdk.services.s3.endpoints.S3EndpointParams for testing purposes + +package software.amazon.awssdk.services.s3.endpoints; + +import software.amazon.awssdk.regions.Region; + +public class S3EndpointParams +{ + protected S3EndpointParams() {} + public Boolean accelerate(){ return null; } + public Boolean disableAccessPoints(){ return null; } + public Boolean disableMultiRegionAccessPoints(){ return null; } + public Boolean forcePathStyle(){ return null; } + public Boolean useArnRegion(){ return null; } + public Boolean useDualStack(){ return null; } + public Boolean useFips(){ return null; } + public Boolean useGlobalEndpoint(){ return null; } + public Boolean useObjectLambdaEndpoint(){ return null; } + public Region region(){ return null; } + public String bucket(){ return null; } + public String endpoint(){ return null; } + public static S3EndpointParams.Builder builder(){ return null; } + static public interface Builder + { + S3EndpointParams build(); + S3EndpointParams.Builder accelerate(Boolean p0); + S3EndpointParams.Builder bucket(String p0); + S3EndpointParams.Builder disableAccessPoints(Boolean p0); + S3EndpointParams.Builder disableMultiRegionAccessPoints(Boolean p0); + S3EndpointParams.Builder endpoint(String p0); + S3EndpointParams.Builder forcePathStyle(Boolean p0); + S3EndpointParams.Builder region(Region p0); + S3EndpointParams.Builder useArnRegion(Boolean p0); + S3EndpointParams.Builder useDualStack(Boolean p0); + S3EndpointParams.Builder useFips(Boolean p0); + S3EndpointParams.Builder useGlobalEndpoint(Boolean p0); + S3EndpointParams.Builder useObjectLambdaEndpoint(Boolean p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/endpoints/S3EndpointProvider.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/endpoints/S3EndpointProvider.java new file mode 100644 index 000000000000..6e6a68a26ddc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/endpoints/S3EndpointProvider.java @@ -0,0 +1,16 @@ +// Generated automatically from software.amazon.awssdk.services.s3.endpoints.S3EndpointProvider for testing purposes + +package software.amazon.awssdk.services.s3.endpoints; + +import java.util.concurrent.CompletableFuture; +import java.util.function.Consumer; +import software.amazon.awssdk.endpoints.Endpoint; +import software.amazon.awssdk.endpoints.EndpointProvider; +import software.amazon.awssdk.services.s3.endpoints.S3EndpointParams; + +public interface S3EndpointProvider extends EndpointProvider +{ + CompletableFuture resolveEndpoint(S3EndpointParams p0); + default CompletableFuture resolveEndpoint(java.util.function.Consumer p0){ return null; } + static S3EndpointProvider defaultProvider(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortIncompleteMultipartUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortIncompleteMultipartUpload.java new file mode 100644 index 000000000000..477105b38e31 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortIncompleteMultipartUpload.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AbortIncompleteMultipartUpload for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AbortIncompleteMultipartUpload implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AbortIncompleteMultipartUpload() {} + public AbortIncompleteMultipartUpload.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer daysAfterInitiation(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AbortIncompleteMultipartUpload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AbortIncompleteMultipartUpload.Builder daysAfterInitiation(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortMultipartUploadRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortMultipartUploadRequest.java new file mode 100644 index 000000000000..bfbc9e5f9572 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortMultipartUploadRequest.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AbortMultipartUploadRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AbortMultipartUploadRequest extends S3Request implements ToCopyableBuilder +{ + protected AbortMultipartUploadRequest() {} + public AbortMultipartUploadRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String uploadId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AbortMultipartUploadRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + AbortMultipartUploadRequest.Builder bucket(String p0); + AbortMultipartUploadRequest.Builder expectedBucketOwner(String p0); + AbortMultipartUploadRequest.Builder key(String p0); + AbortMultipartUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + AbortMultipartUploadRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + AbortMultipartUploadRequest.Builder requestPayer(RequestPayer p0); + AbortMultipartUploadRequest.Builder requestPayer(String p0); + AbortMultipartUploadRequest.Builder uploadId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortMultipartUploadResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortMultipartUploadResponse.java new file mode 100644 index 000000000000..fa561d9e5bd0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AbortMultipartUploadResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AbortMultipartUploadResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AbortMultipartUploadResponse extends S3Response implements ToCopyableBuilder +{ + protected AbortMultipartUploadResponse() {} + public AbortMultipartUploadResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AbortMultipartUploadResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + AbortMultipartUploadResponse.Builder requestCharged(RequestCharged p0); + AbortMultipartUploadResponse.Builder requestCharged(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccelerateConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccelerateConfiguration.java new file mode 100644 index 000000000000..e7f6c9f6bbef --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccelerateConfiguration.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AccelerateConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketAccelerateStatus; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AccelerateConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AccelerateConfiguration() {} + public AccelerateConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketAccelerateStatus status(){ return null; } + public final List> sdkFields(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AccelerateConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AccelerateConfiguration.Builder status(BucketAccelerateStatus p0); + AccelerateConfiguration.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccessControlPolicy.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccessControlPolicy.java new file mode 100644 index 000000000000..9f9c719d9244 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccessControlPolicy.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AccessControlPolicy for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Grant; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AccessControlPolicy implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AccessControlPolicy() {} + public AccessControlPolicy.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List grants(){ return null; } + public final List> sdkFields(){ return null; } + public final Owner owner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasGrants(){ return false; } + public final int hashCode(){ return 0; } + public static AccessControlPolicy.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AccessControlPolicy.Builder grants(Collection p0); + AccessControlPolicy.Builder grants(Grant... p0); + AccessControlPolicy.Builder grants(java.util.function.Consumer... p0); + AccessControlPolicy.Builder owner(Owner p0); + default AccessControlPolicy.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccessControlTranslation.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccessControlTranslation.java new file mode 100644 index 000000000000..5aee3c9fcae3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AccessControlTranslation.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AccessControlTranslation for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.OwnerOverride; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AccessControlTranslation implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AccessControlTranslation() {} + public AccessControlTranslation.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final OwnerOverride owner(){ return null; } + public final String ownerAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AccessControlTranslation.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AccessControlTranslation.Builder owner(OwnerOverride p0); + AccessControlTranslation.Builder owner(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsAndOperator.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsAndOperator.java new file mode 100644 index 000000000000..78e55664d441 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsAndOperator.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AnalyticsAndOperator for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AnalyticsAndOperator implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AnalyticsAndOperator() {} + public AnalyticsAndOperator.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List tags(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTags(){ return false; } + public final int hashCode(){ return 0; } + public static AnalyticsAndOperator.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AnalyticsAndOperator.Builder prefix(String p0); + AnalyticsAndOperator.Builder tags(Collection p0); + AnalyticsAndOperator.Builder tags(Tag... p0); + AnalyticsAndOperator.Builder tags(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsConfiguration.java new file mode 100644 index 000000000000..fda16d3b456d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsConfiguration.java @@ -0,0 +1,39 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AnalyticsConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AnalyticsFilter; +import software.amazon.awssdk.services.s3.model.StorageClassAnalysis; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AnalyticsConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AnalyticsConfiguration() {} + public AnalyticsConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AnalyticsFilter filter(){ return null; } + public final List> sdkFields(){ return null; } + public final StorageClassAnalysis storageClassAnalysis(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AnalyticsConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AnalyticsConfiguration.Builder filter(AnalyticsFilter p0); + AnalyticsConfiguration.Builder id(String p0); + AnalyticsConfiguration.Builder storageClassAnalysis(StorageClassAnalysis p0); + default AnalyticsConfiguration.Builder filter(java.util.function.Consumer p0){ return null; } + default AnalyticsConfiguration.Builder storageClassAnalysis(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsExportDestination.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsExportDestination.java new file mode 100644 index 000000000000..ca55dbc6f755 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsExportDestination.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AnalyticsExportDestination for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AnalyticsS3BucketDestination; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AnalyticsExportDestination implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AnalyticsExportDestination() {} + public AnalyticsExportDestination.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AnalyticsS3BucketDestination s3BucketDestination(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AnalyticsExportDestination.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AnalyticsExportDestination.Builder s3BucketDestination(AnalyticsS3BucketDestination p0); + default AnalyticsExportDestination.Builder s3BucketDestination(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsFilter.java new file mode 100644 index 000000000000..072e799916fe --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsFilter.java @@ -0,0 +1,50 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AnalyticsFilter for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AnalyticsAndOperator; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AnalyticsFilter implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AnalyticsFilter() {} + public AnalyticsFilter.Builder toBuilder(){ return null; } + public AnalyticsFilter.Type type(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AnalyticsAndOperator and(){ return null; } + public final List> sdkFields(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final Tag tag(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AnalyticsFilter fromAnd(AnalyticsAndOperator p0){ return null; } + public static AnalyticsFilter fromAnd(java.util.function.Consumer p0){ return null; } + public static AnalyticsFilter fromPrefix(String p0){ return null; } + public static AnalyticsFilter fromTag(Tag p0){ return null; } + public static AnalyticsFilter fromTag(java.util.function.Consumer p0){ return null; } + public static AnalyticsFilter.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public enum Type + { + AND, PREFIX, TAG, UNKNOWN_TO_SDK_VERSION; + private Type() {} + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AnalyticsFilter.Builder and(AnalyticsAndOperator p0); + AnalyticsFilter.Builder prefix(String p0); + AnalyticsFilter.Builder tag(Tag p0); + default AnalyticsFilter.Builder and(java.util.function.Consumer p0){ return null; } + default AnalyticsFilter.Builder tag(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsS3BucketDestination.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsS3BucketDestination.java new file mode 100644 index 000000000000..29306e3f94ba --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsS3BucketDestination.java @@ -0,0 +1,39 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AnalyticsS3BucketDestination for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AnalyticsS3ExportFileFormat; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AnalyticsS3BucketDestination implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected AnalyticsS3BucketDestination() {} + public AnalyticsS3BucketDestination.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AnalyticsS3ExportFileFormat format(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String bucketAccountId(){ return null; } + public final String formatAsString(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static AnalyticsS3BucketDestination.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + AnalyticsS3BucketDestination.Builder bucket(String p0); + AnalyticsS3BucketDestination.Builder bucketAccountId(String p0); + AnalyticsS3BucketDestination.Builder format(AnalyticsS3ExportFileFormat p0); + AnalyticsS3BucketDestination.Builder format(String p0); + AnalyticsS3BucketDestination.Builder prefix(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsS3ExportFileFormat.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsS3ExportFileFormat.java new file mode 100644 index 000000000000..bdce2bef3924 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/AnalyticsS3ExportFileFormat.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.AnalyticsS3ExportFileFormat for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum AnalyticsS3ExportFileFormat +{ + CSV, UNKNOWN_TO_SDK_VERSION; + private AnalyticsS3ExportFileFormat() {} + public String toString(){ return null; } + public static AnalyticsS3ExportFileFormat fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ArchiveStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ArchiveStatus.java new file mode 100644 index 000000000000..77f114b37038 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ArchiveStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ArchiveStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ArchiveStatus +{ + ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS, UNKNOWN_TO_SDK_VERSION; + private ArchiveStatus() {} + public String toString(){ return null; } + public static ArchiveStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Bucket.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Bucket.java new file mode 100644 index 000000000000..b2a43242c257 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Bucket.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Bucket for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Bucket implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Bucket() {} + public Bucket.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Instant creationDate(){ return null; } + public final List> sdkFields(){ return null; } + public final String name(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Bucket.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Bucket.Builder creationDate(Instant p0); + Bucket.Builder name(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketAccelerateStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketAccelerateStatus.java new file mode 100644 index 000000000000..09ddf49b4d21 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketAccelerateStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.BucketAccelerateStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum BucketAccelerateStatus +{ + ENABLED, SUSPENDED, UNKNOWN_TO_SDK_VERSION; + private BucketAccelerateStatus() {} + public String toString(){ return null; } + public static BucketAccelerateStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketCannedACL.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketCannedACL.java new file mode 100644 index 000000000000..8d5fc9ece406 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketCannedACL.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.BucketCannedACL for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum BucketCannedACL +{ + AUTHENTICATED_READ, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, UNKNOWN_TO_SDK_VERSION; + private BucketCannedACL() {} + public String toString(){ return null; } + public static BucketCannedACL fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLifecycleConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLifecycleConfiguration.java new file mode 100644 index 000000000000..bf2aeadd09a4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLifecycleConfiguration.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.BucketLifecycleConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.LifecycleRule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class BucketLifecycleConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected BucketLifecycleConfiguration() {} + public BucketLifecycleConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List rules(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasRules(){ return false; } + public final int hashCode(){ return 0; } + public static BucketLifecycleConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + BucketLifecycleConfiguration.Builder rules(Collection p0); + BucketLifecycleConfiguration.Builder rules(LifecycleRule... p0); + BucketLifecycleConfiguration.Builder rules(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLocationConstraint.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLocationConstraint.java new file mode 100644 index 000000000000..a8576a9dc295 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLocationConstraint.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.BucketLocationConstraint for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum BucketLocationConstraint +{ + AF_SOUTH_1, AP_EAST_1, AP_NORTHEAST_1, AP_NORTHEAST_2, AP_NORTHEAST_3, AP_SOUTHEAST_1, AP_SOUTHEAST_2, AP_SOUTHEAST_3, AP_SOUTH_1, CA_CENTRAL_1, CN_NORTHWEST_1, CN_NORTH_1, EU, EU_CENTRAL_1, EU_NORTH_1, EU_SOUTH_1, EU_WEST_1, EU_WEST_2, EU_WEST_3, ME_SOUTH_1, SA_EAST_1, UNKNOWN_TO_SDK_VERSION, US_EAST_2, US_GOV_EAST_1, US_GOV_WEST_1, US_WEST_1, US_WEST_2; + private BucketLocationConstraint() {} + public String toString(){ return null; } + public static BucketLocationConstraint fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLoggingStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLoggingStatus.java new file mode 100644 index 000000000000..8fea4f8ea407 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLoggingStatus.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.BucketLoggingStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.LoggingEnabled; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class BucketLoggingStatus implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected BucketLoggingStatus() {} + public BucketLoggingStatus.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final LoggingEnabled loggingEnabled(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static BucketLoggingStatus.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + BucketLoggingStatus.Builder loggingEnabled(LoggingEnabled p0); + default BucketLoggingStatus.Builder loggingEnabled(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLogsPermission.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLogsPermission.java new file mode 100644 index 000000000000..ad51c840ef44 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketLogsPermission.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.BucketLogsPermission for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum BucketLogsPermission +{ + FULL_CONTROL, READ, UNKNOWN_TO_SDK_VERSION, WRITE; + private BucketLogsPermission() {} + public String toString(){ return null; } + public static BucketLogsPermission fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketVersioningStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketVersioningStatus.java new file mode 100644 index 000000000000..e1208cd2851c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/BucketVersioningStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.BucketVersioningStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum BucketVersioningStatus +{ + ENABLED, SUSPENDED, UNKNOWN_TO_SDK_VERSION; + private BucketVersioningStatus() {} + public String toString(){ return null; } + public static BucketVersioningStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CORSConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CORSConfiguration.java new file mode 100644 index 000000000000..55ed295e6fbc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CORSConfiguration.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CORSConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CORSRule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CORSConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CORSConfiguration() {} + public CORSConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List corsRules(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasCorsRules(){ return false; } + public final int hashCode(){ return 0; } + public static CORSConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CORSConfiguration.Builder corsRules(CORSRule... p0); + CORSConfiguration.Builder corsRules(Collection p0); + CORSConfiguration.Builder corsRules(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CORSRule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CORSRule.java new file mode 100644 index 000000000000..10e37d9b246d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CORSRule.java @@ -0,0 +1,49 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CORSRule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CORSRule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CORSRule() {} + public CORSRule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer maxAgeSeconds(){ return null; } + public final List> sdkFields(){ return null; } + public final List allowedHeaders(){ return null; } + public final List allowedMethods(){ return null; } + public final List allowedOrigins(){ return null; } + public final List exposeHeaders(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasAllowedHeaders(){ return false; } + public final boolean hasAllowedMethods(){ return false; } + public final boolean hasAllowedOrigins(){ return false; } + public final boolean hasExposeHeaders(){ return false; } + public final int hashCode(){ return 0; } + public static CORSRule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CORSRule.Builder allowedHeaders(Collection p0); + CORSRule.Builder allowedHeaders(String... p0); + CORSRule.Builder allowedMethods(Collection p0); + CORSRule.Builder allowedMethods(String... p0); + CORSRule.Builder allowedOrigins(Collection p0); + CORSRule.Builder allowedOrigins(String... p0); + CORSRule.Builder exposeHeaders(Collection p0); + CORSRule.Builder exposeHeaders(String... p0); + CORSRule.Builder id(String p0); + CORSRule.Builder maxAgeSeconds(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CSVInput.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CSVInput.java new file mode 100644 index 000000000000..add7ae40f84f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CSVInput.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CSVInput for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.FileHeaderInfo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CSVInput implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CSVInput() {} + public CSVInput.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean allowQuotedRecordDelimiter(){ return null; } + public final FileHeaderInfo fileHeaderInfo(){ return null; } + public final List> sdkFields(){ return null; } + public final String comments(){ return null; } + public final String fieldDelimiter(){ return null; } + public final String fileHeaderInfoAsString(){ return null; } + public final String quoteCharacter(){ return null; } + public final String quoteEscapeCharacter(){ return null; } + public final String recordDelimiter(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CSVInput.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CSVInput.Builder allowQuotedRecordDelimiter(Boolean p0); + CSVInput.Builder comments(String p0); + CSVInput.Builder fieldDelimiter(String p0); + CSVInput.Builder fileHeaderInfo(FileHeaderInfo p0); + CSVInput.Builder fileHeaderInfo(String p0); + CSVInput.Builder quoteCharacter(String p0); + CSVInput.Builder quoteEscapeCharacter(String p0); + CSVInput.Builder recordDelimiter(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CSVOutput.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CSVOutput.java new file mode 100644 index 000000000000..3cb31bcf75d9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CSVOutput.java @@ -0,0 +1,41 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CSVOutput for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.QuoteFields; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CSVOutput implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CSVOutput() {} + public CSVOutput.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final QuoteFields quoteFields(){ return null; } + public final String fieldDelimiter(){ return null; } + public final String quoteCharacter(){ return null; } + public final String quoteEscapeCharacter(){ return null; } + public final String quoteFieldsAsString(){ return null; } + public final String recordDelimiter(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CSVOutput.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CSVOutput.Builder fieldDelimiter(String p0); + CSVOutput.Builder quoteCharacter(String p0); + CSVOutput.Builder quoteEscapeCharacter(String p0); + CSVOutput.Builder quoteFields(QuoteFields p0); + CSVOutput.Builder quoteFields(String p0); + CSVOutput.Builder recordDelimiter(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Checksum.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Checksum.java new file mode 100644 index 000000000000..f5ba7b7e61f5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Checksum.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Checksum for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Checksum implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Checksum() {} + public Checksum.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Checksum.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Checksum.Builder checksumCRC32(String p0); + Checksum.Builder checksumCRC32C(String p0); + Checksum.Builder checksumSHA1(String p0); + Checksum.Builder checksumSHA256(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ChecksumAlgorithm.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ChecksumAlgorithm.java new file mode 100644 index 000000000000..64da8fbe7ba8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ChecksumAlgorithm.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ChecksumAlgorithm for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ChecksumAlgorithm +{ + CRC32, CRC32_C, SHA1, SHA256, UNKNOWN_TO_SDK_VERSION; + private ChecksumAlgorithm() {} + public String toString(){ return null; } + public static ChecksumAlgorithm fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ChecksumMode.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ChecksumMode.java new file mode 100644 index 000000000000..19ef17b45a61 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ChecksumMode.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ChecksumMode for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ChecksumMode +{ + ENABLED, UNKNOWN_TO_SDK_VERSION; + private ChecksumMode() {} + public String toString(){ return null; } + public static ChecksumMode fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CommonPrefix.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CommonPrefix.java new file mode 100644 index 000000000000..2633941bcf07 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CommonPrefix.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CommonPrefix for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CommonPrefix implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CommonPrefix() {} + public CommonPrefix.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CommonPrefix.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CommonPrefix.Builder prefix(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompleteMultipartUploadRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompleteMultipartUploadRequest.java new file mode 100644 index 000000000000..f82aeafe0b3e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompleteMultipartUploadRequest.java @@ -0,0 +1,63 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CompleteMultipartUploadRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CompletedMultipartUpload; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CompleteMultipartUploadRequest extends S3Request implements ToCopyableBuilder +{ + protected CompleteMultipartUploadRequest() {} + public CompleteMultipartUploadRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final CompletedMultipartUpload multipartUpload(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String toString(){ return null; } + public final String uploadId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CompleteMultipartUploadRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + CompleteMultipartUploadRequest.Builder bucket(String p0); + CompleteMultipartUploadRequest.Builder checksumCRC32(String p0); + CompleteMultipartUploadRequest.Builder checksumCRC32C(String p0); + CompleteMultipartUploadRequest.Builder checksumSHA1(String p0); + CompleteMultipartUploadRequest.Builder checksumSHA256(String p0); + CompleteMultipartUploadRequest.Builder expectedBucketOwner(String p0); + CompleteMultipartUploadRequest.Builder key(String p0); + CompleteMultipartUploadRequest.Builder multipartUpload(CompletedMultipartUpload p0); + CompleteMultipartUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + CompleteMultipartUploadRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + CompleteMultipartUploadRequest.Builder requestPayer(RequestPayer p0); + CompleteMultipartUploadRequest.Builder requestPayer(String p0); + CompleteMultipartUploadRequest.Builder sseCustomerAlgorithm(String p0); + CompleteMultipartUploadRequest.Builder sseCustomerKey(String p0); + CompleteMultipartUploadRequest.Builder sseCustomerKeyMD5(String p0); + CompleteMultipartUploadRequest.Builder uploadId(String p0); + default CompleteMultipartUploadRequest.Builder multipartUpload(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompleteMultipartUploadResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompleteMultipartUploadResponse.java new file mode 100644 index 000000000000..928fb52c81e0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompleteMultipartUploadResponse.java @@ -0,0 +1,62 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CompleteMultipartUploadResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CompleteMultipartUploadResponse extends S3Response implements ToCopyableBuilder +{ + protected CompleteMultipartUploadResponse() {} + public CompleteMultipartUploadResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final String bucket(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String eTag(){ return null; } + public final String expiration(){ return null; } + public final String key(){ return null; } + public final String location(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CompleteMultipartUploadResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + CompleteMultipartUploadResponse.Builder bucket(String p0); + CompleteMultipartUploadResponse.Builder bucketKeyEnabled(Boolean p0); + CompleteMultipartUploadResponse.Builder checksumCRC32(String p0); + CompleteMultipartUploadResponse.Builder checksumCRC32C(String p0); + CompleteMultipartUploadResponse.Builder checksumSHA1(String p0); + CompleteMultipartUploadResponse.Builder checksumSHA256(String p0); + CompleteMultipartUploadResponse.Builder eTag(String p0); + CompleteMultipartUploadResponse.Builder expiration(String p0); + CompleteMultipartUploadResponse.Builder key(String p0); + CompleteMultipartUploadResponse.Builder location(String p0); + CompleteMultipartUploadResponse.Builder requestCharged(RequestCharged p0); + CompleteMultipartUploadResponse.Builder requestCharged(String p0); + CompleteMultipartUploadResponse.Builder serverSideEncryption(ServerSideEncryption p0); + CompleteMultipartUploadResponse.Builder serverSideEncryption(String p0); + CompleteMultipartUploadResponse.Builder ssekmsKeyId(String p0); + CompleteMultipartUploadResponse.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompletedMultipartUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompletedMultipartUpload.java new file mode 100644 index 000000000000..960b32ec4128 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompletedMultipartUpload.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CompletedMultipartUpload for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CompletedPart; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CompletedMultipartUpload implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CompletedMultipartUpload() {} + public CompletedMultipartUpload.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List parts(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasParts(){ return false; } + public final int hashCode(){ return 0; } + public static CompletedMultipartUpload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CompletedMultipartUpload.Builder parts(Collection p0); + CompletedMultipartUpload.Builder parts(CompletedPart... p0); + CompletedMultipartUpload.Builder parts(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompletedPart.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompletedPart.java new file mode 100644 index 000000000000..50df05f41f60 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompletedPart.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CompletedPart for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CompletedPart implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CompletedPart() {} + public CompletedPart.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer partNumber(){ return null; } + public final List> sdkFields(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String eTag(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CompletedPart.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CompletedPart.Builder checksumCRC32(String p0); + CompletedPart.Builder checksumCRC32C(String p0); + CompletedPart.Builder checksumSHA1(String p0); + CompletedPart.Builder checksumSHA256(String p0); + CompletedPart.Builder eTag(String p0); + CompletedPart.Builder partNumber(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompressionType.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompressionType.java new file mode 100644 index 000000000000..dab23f3c927c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CompressionType.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CompressionType for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum CompressionType +{ + BZIP2, GZIP, NONE, UNKNOWN_TO_SDK_VERSION; + private CompressionType() {} + public String toString(){ return null; } + public static CompressionType fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Condition.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Condition.java new file mode 100644 index 000000000000..710a6b6be9bb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Condition.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Condition for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Condition implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Condition() {} + public Condition.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String httpErrorCodeReturnedEquals(){ return null; } + public final String keyPrefixEquals(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Condition.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Condition.Builder httpErrorCodeReturnedEquals(String p0); + Condition.Builder keyPrefixEquals(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ContinuationEvent.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ContinuationEvent.java new file mode 100644 index 000000000000..38a7c33f91da --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ContinuationEvent.java @@ -0,0 +1,41 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ContinuationEvent for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream; +import software.amazon.awssdk.services.s3.model.SelectObjectContentResponseHandler; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ContinuationEvent implements SdkPojo, SelectObjectContentEventStream, Serializable, ToCopyableBuilder +{ + protected ContinuationEvent() {} + protected ContinuationEvent(ContinuationEvent.BuilderImpl p0){} + public ContinuationEvent.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ContinuationEvent copy(java.util.function.Consumer p0){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ContinuationEvent.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + public void accept(SelectObjectContentResponseHandler.Visitor p0){} + static class BuilderImpl implements ContinuationEvent.Builder + { + protected BuilderImpl(){} + protected BuilderImpl(ContinuationEvent p0){} + public ContinuationEvent build(){ return null; } + public List> sdkFields(){ return null; } + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectRequest.java new file mode 100644 index 000000000000..5189d24405a7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectRequest.java @@ -0,0 +1,156 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CopyObjectRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.MetadataDirective; +import software.amazon.awssdk.services.s3.model.ObjectCannedACL; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHoldStatus; +import software.amazon.awssdk.services.s3.model.ObjectLockMode; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.services.s3.model.Tagging; +import software.amazon.awssdk.services.s3.model.TaggingDirective; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CopyObjectRequest extends S3Request implements ToCopyableBuilder +{ + protected CopyObjectRequest() {} + public CopyObjectRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final Instant copySourceIfModifiedSince(){ return null; } + public final Instant copySourceIfUnmodifiedSince(){ return null; } + public final Instant expires(){ return null; } + public final Instant objectLockRetainUntilDate(){ return null; } + public final List> sdkFields(){ return null; } + public final Map metadata(){ return null; } + public final MetadataDirective metadataDirective(){ return null; } + public final ObjectCannedACL acl(){ return null; } + public final ObjectLockLegalHoldStatus objectLockLegalHoldStatus(){ return null; } + public final ObjectLockMode objectLockMode(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String aclAsString(){ return null; } + public final String bucket(){ return null; } + public final String cacheControl(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentDisposition(){ return null; } + public final String contentEncoding(){ return null; } + public final String contentLanguage(){ return null; } + public final String contentType(){ return null; } + public final String copySource(){ return null; } + public final String copySourceIfMatch(){ return null; } + public final String copySourceIfNoneMatch(){ return null; } + public final String copySourceSSECustomerAlgorithm(){ return null; } + public final String copySourceSSECustomerKey(){ return null; } + public final String copySourceSSECustomerKeyMD5(){ return null; } + public final String destinationBucket(){ return null; } + public final String destinationKey(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String expectedSourceBucketOwner(){ return null; } + public final String grantFullControl(){ return null; } + public final String grantRead(){ return null; } + public final String grantReadACP(){ return null; } + public final String grantWriteACP(){ return null; } + public final String key(){ return null; } + public final String metadataDirectiveAsString(){ return null; } + public final String objectLockLegalHoldStatusAsString(){ return null; } + public final String objectLockModeAsString(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sourceBucket(){ return null; } + public final String sourceKey(){ return null; } + public final String sourceVersionId(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsEncryptionContext(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String storageClassAsString(){ return null; } + public final String tagging(){ return null; } + public final String taggingDirectiveAsString(){ return null; } + public final String toString(){ return null; } + public final String websiteRedirectLocation(){ return null; } + public final TaggingDirective taggingDirective(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasMetadata(){ return false; } + public final int hashCode(){ return 0; } + public static CopyObjectRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + CopyObjectRequest.Builder acl(ObjectCannedACL p0); + CopyObjectRequest.Builder acl(String p0); + CopyObjectRequest.Builder bucket(String p0); + CopyObjectRequest.Builder bucketKeyEnabled(Boolean p0); + CopyObjectRequest.Builder cacheControl(String p0); + CopyObjectRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + CopyObjectRequest.Builder checksumAlgorithm(String p0); + CopyObjectRequest.Builder contentDisposition(String p0); + CopyObjectRequest.Builder contentEncoding(String p0); + CopyObjectRequest.Builder contentLanguage(String p0); + CopyObjectRequest.Builder contentType(String p0); + CopyObjectRequest.Builder copySource(String p0); + CopyObjectRequest.Builder copySourceIfMatch(String p0); + CopyObjectRequest.Builder copySourceIfModifiedSince(Instant p0); + CopyObjectRequest.Builder copySourceIfNoneMatch(String p0); + CopyObjectRequest.Builder copySourceIfUnmodifiedSince(Instant p0); + CopyObjectRequest.Builder copySourceSSECustomerAlgorithm(String p0); + CopyObjectRequest.Builder copySourceSSECustomerKey(String p0); + CopyObjectRequest.Builder copySourceSSECustomerKeyMD5(String p0); + CopyObjectRequest.Builder destinationBucket(String p0); + CopyObjectRequest.Builder destinationKey(String p0); + CopyObjectRequest.Builder expectedBucketOwner(String p0); + CopyObjectRequest.Builder expectedSourceBucketOwner(String p0); + CopyObjectRequest.Builder expires(Instant p0); + CopyObjectRequest.Builder grantFullControl(String p0); + CopyObjectRequest.Builder grantRead(String p0); + CopyObjectRequest.Builder grantReadACP(String p0); + CopyObjectRequest.Builder grantWriteACP(String p0); + CopyObjectRequest.Builder key(String p0); + CopyObjectRequest.Builder metadata(Map p0); + CopyObjectRequest.Builder metadataDirective(MetadataDirective p0); + CopyObjectRequest.Builder metadataDirective(String p0); + CopyObjectRequest.Builder objectLockLegalHoldStatus(ObjectLockLegalHoldStatus p0); + CopyObjectRequest.Builder objectLockLegalHoldStatus(String p0); + CopyObjectRequest.Builder objectLockMode(ObjectLockMode p0); + CopyObjectRequest.Builder objectLockMode(String p0); + CopyObjectRequest.Builder objectLockRetainUntilDate(Instant p0); + CopyObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + CopyObjectRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + CopyObjectRequest.Builder requestPayer(RequestPayer p0); + CopyObjectRequest.Builder requestPayer(String p0); + CopyObjectRequest.Builder serverSideEncryption(ServerSideEncryption p0); + CopyObjectRequest.Builder serverSideEncryption(String p0); + CopyObjectRequest.Builder sourceBucket(String p0); + CopyObjectRequest.Builder sourceKey(String p0); + CopyObjectRequest.Builder sourceVersionId(String p0); + CopyObjectRequest.Builder sseCustomerAlgorithm(String p0); + CopyObjectRequest.Builder sseCustomerKey(String p0); + CopyObjectRequest.Builder sseCustomerKeyMD5(String p0); + CopyObjectRequest.Builder ssekmsEncryptionContext(String p0); + CopyObjectRequest.Builder ssekmsKeyId(String p0); + CopyObjectRequest.Builder storageClass(StorageClass p0); + CopyObjectRequest.Builder storageClass(String p0); + CopyObjectRequest.Builder tagging(String p0); + CopyObjectRequest.Builder tagging(Tagging p0); + CopyObjectRequest.Builder taggingDirective(String p0); + CopyObjectRequest.Builder taggingDirective(TaggingDirective p0); + CopyObjectRequest.Builder websiteRedirectLocation(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectResponse.java new file mode 100644 index 000000000000..15458580595a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectResponse.java @@ -0,0 +1,59 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CopyObjectResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CopyObjectResult; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CopyObjectResponse extends S3Response implements ToCopyableBuilder +{ + protected CopyObjectResponse() {} + public CopyObjectResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final CopyObjectResult copyObjectResult(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final String copySourceVersionId(){ return null; } + public final String expiration(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsEncryptionContext(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CopyObjectResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + CopyObjectResponse.Builder bucketKeyEnabled(Boolean p0); + CopyObjectResponse.Builder copyObjectResult(CopyObjectResult p0); + CopyObjectResponse.Builder copySourceVersionId(String p0); + CopyObjectResponse.Builder expiration(String p0); + CopyObjectResponse.Builder requestCharged(RequestCharged p0); + CopyObjectResponse.Builder requestCharged(String p0); + CopyObjectResponse.Builder serverSideEncryption(ServerSideEncryption p0); + CopyObjectResponse.Builder serverSideEncryption(String p0); + CopyObjectResponse.Builder sseCustomerAlgorithm(String p0); + CopyObjectResponse.Builder sseCustomerKeyMD5(String p0); + CopyObjectResponse.Builder ssekmsEncryptionContext(String p0); + CopyObjectResponse.Builder ssekmsKeyId(String p0); + CopyObjectResponse.Builder versionId(String p0); + default CopyObjectResponse.Builder copyObjectResult(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectResult.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectResult.java new file mode 100644 index 000000000000..2058d2985db4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyObjectResult.java @@ -0,0 +1,41 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CopyObjectResult for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CopyObjectResult implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CopyObjectResult() {} + public CopyObjectResult.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Instant lastModified(){ return null; } + public final List> sdkFields(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String eTag(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CopyObjectResult.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CopyObjectResult.Builder checksumCRC32(String p0); + CopyObjectResult.Builder checksumCRC32C(String p0); + CopyObjectResult.Builder checksumSHA1(String p0); + CopyObjectResult.Builder checksumSHA256(String p0); + CopyObjectResult.Builder eTag(String p0); + CopyObjectResult.Builder lastModified(Instant p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyPartResult.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyPartResult.java new file mode 100644 index 000000000000..97b87dfe702c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CopyPartResult.java @@ -0,0 +1,41 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CopyPartResult for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CopyPartResult implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CopyPartResult() {} + public CopyPartResult.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Instant lastModified(){ return null; } + public final List> sdkFields(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String eTag(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CopyPartResult.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CopyPartResult.Builder checksumCRC32(String p0); + CopyPartResult.Builder checksumCRC32C(String p0); + CopyPartResult.Builder checksumSHA1(String p0); + CopyPartResult.Builder checksumSHA256(String p0); + CopyPartResult.Builder eTag(String p0); + CopyPartResult.Builder lastModified(Instant p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketConfiguration.java new file mode 100644 index 000000000000..81929c488d96 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketConfiguration.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CreateBucketConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketLocationConstraint; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CreateBucketConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected CreateBucketConfiguration() {} + public CreateBucketConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketLocationConstraint locationConstraint(){ return null; } + public final List> sdkFields(){ return null; } + public final String locationConstraintAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CreateBucketConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + CreateBucketConfiguration.Builder locationConstraint(BucketLocationConstraint p0); + CreateBucketConfiguration.Builder locationConstraint(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketRequest.java new file mode 100644 index 000000000000..e7f9f15da43f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketRequest.java @@ -0,0 +1,60 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CreateBucketRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketCannedACL; +import software.amazon.awssdk.services.s3.model.CreateBucketConfiguration; +import software.amazon.awssdk.services.s3.model.ObjectOwnership; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CreateBucketRequest extends S3Request implements ToCopyableBuilder +{ + protected CreateBucketRequest() {} + public CreateBucketRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean objectLockEnabledForBucket(){ return null; } + public final BucketCannedACL acl(){ return null; } + public final CreateBucketConfiguration createBucketConfiguration(){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectOwnership objectOwnership(){ return null; } + public final String aclAsString(){ return null; } + public final String bucket(){ return null; } + public final String grantFullControl(){ return null; } + public final String grantRead(){ return null; } + public final String grantReadACP(){ return null; } + public final String grantWrite(){ return null; } + public final String grantWriteACP(){ return null; } + public final String objectOwnershipAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CreateBucketRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + CreateBucketRequest.Builder acl(BucketCannedACL p0); + CreateBucketRequest.Builder acl(String p0); + CreateBucketRequest.Builder bucket(String p0); + CreateBucketRequest.Builder createBucketConfiguration(CreateBucketConfiguration p0); + CreateBucketRequest.Builder grantFullControl(String p0); + CreateBucketRequest.Builder grantRead(String p0); + CreateBucketRequest.Builder grantReadACP(String p0); + CreateBucketRequest.Builder grantWrite(String p0); + CreateBucketRequest.Builder grantWriteACP(String p0); + CreateBucketRequest.Builder objectLockEnabledForBucket(Boolean p0); + CreateBucketRequest.Builder objectOwnership(ObjectOwnership p0); + CreateBucketRequest.Builder objectOwnership(String p0); + CreateBucketRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + CreateBucketRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default CreateBucketRequest.Builder createBucketConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketResponse.java new file mode 100644 index 000000000000..a170aee145e0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateBucketResponse.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CreateBucketResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CreateBucketResponse extends S3Response implements ToCopyableBuilder +{ + protected CreateBucketResponse() {} + public CreateBucketResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String location(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CreateBucketResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + CreateBucketResponse.Builder location(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateMultipartUploadRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateMultipartUploadRequest.java new file mode 100644 index 000000000000..3861426dc163 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateMultipartUploadRequest.java @@ -0,0 +1,118 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CreateMultipartUploadRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ObjectCannedACL; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHoldStatus; +import software.amazon.awssdk.services.s3.model.ObjectLockMode; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.services.s3.model.Tagging; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CreateMultipartUploadRequest extends S3Request implements ToCopyableBuilder +{ + protected CreateMultipartUploadRequest() {} + public CreateMultipartUploadRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final Instant expires(){ return null; } + public final Instant objectLockRetainUntilDate(){ return null; } + public final List> sdkFields(){ return null; } + public final Map metadata(){ return null; } + public final ObjectCannedACL acl(){ return null; } + public final ObjectLockLegalHoldStatus objectLockLegalHoldStatus(){ return null; } + public final ObjectLockMode objectLockMode(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String aclAsString(){ return null; } + public final String bucket(){ return null; } + public final String cacheControl(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentDisposition(){ return null; } + public final String contentEncoding(){ return null; } + public final String contentLanguage(){ return null; } + public final String contentType(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String grantFullControl(){ return null; } + public final String grantRead(){ return null; } + public final String grantReadACP(){ return null; } + public final String grantWriteACP(){ return null; } + public final String key(){ return null; } + public final String objectLockLegalHoldStatusAsString(){ return null; } + public final String objectLockModeAsString(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsEncryptionContext(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String storageClassAsString(){ return null; } + public final String tagging(){ return null; } + public final String toString(){ return null; } + public final String websiteRedirectLocation(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasMetadata(){ return false; } + public final int hashCode(){ return 0; } + public static CreateMultipartUploadRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + CreateMultipartUploadRequest.Builder acl(ObjectCannedACL p0); + CreateMultipartUploadRequest.Builder acl(String p0); + CreateMultipartUploadRequest.Builder bucket(String p0); + CreateMultipartUploadRequest.Builder bucketKeyEnabled(Boolean p0); + CreateMultipartUploadRequest.Builder cacheControl(String p0); + CreateMultipartUploadRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + CreateMultipartUploadRequest.Builder checksumAlgorithm(String p0); + CreateMultipartUploadRequest.Builder contentDisposition(String p0); + CreateMultipartUploadRequest.Builder contentEncoding(String p0); + CreateMultipartUploadRequest.Builder contentLanguage(String p0); + CreateMultipartUploadRequest.Builder contentType(String p0); + CreateMultipartUploadRequest.Builder expectedBucketOwner(String p0); + CreateMultipartUploadRequest.Builder expires(Instant p0); + CreateMultipartUploadRequest.Builder grantFullControl(String p0); + CreateMultipartUploadRequest.Builder grantRead(String p0); + CreateMultipartUploadRequest.Builder grantReadACP(String p0); + CreateMultipartUploadRequest.Builder grantWriteACP(String p0); + CreateMultipartUploadRequest.Builder key(String p0); + CreateMultipartUploadRequest.Builder metadata(Map p0); + CreateMultipartUploadRequest.Builder objectLockLegalHoldStatus(ObjectLockLegalHoldStatus p0); + CreateMultipartUploadRequest.Builder objectLockLegalHoldStatus(String p0); + CreateMultipartUploadRequest.Builder objectLockMode(ObjectLockMode p0); + CreateMultipartUploadRequest.Builder objectLockMode(String p0); + CreateMultipartUploadRequest.Builder objectLockRetainUntilDate(Instant p0); + CreateMultipartUploadRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + CreateMultipartUploadRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + CreateMultipartUploadRequest.Builder requestPayer(RequestPayer p0); + CreateMultipartUploadRequest.Builder requestPayer(String p0); + CreateMultipartUploadRequest.Builder serverSideEncryption(ServerSideEncryption p0); + CreateMultipartUploadRequest.Builder serverSideEncryption(String p0); + CreateMultipartUploadRequest.Builder sseCustomerAlgorithm(String p0); + CreateMultipartUploadRequest.Builder sseCustomerKey(String p0); + CreateMultipartUploadRequest.Builder sseCustomerKeyMD5(String p0); + CreateMultipartUploadRequest.Builder ssekmsEncryptionContext(String p0); + CreateMultipartUploadRequest.Builder ssekmsKeyId(String p0); + CreateMultipartUploadRequest.Builder storageClass(StorageClass p0); + CreateMultipartUploadRequest.Builder storageClass(String p0); + CreateMultipartUploadRequest.Builder tagging(String p0); + CreateMultipartUploadRequest.Builder tagging(Tagging p0); + CreateMultipartUploadRequest.Builder websiteRedirectLocation(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateMultipartUploadResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateMultipartUploadResponse.java new file mode 100644 index 000000000000..4628f1883c9e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/CreateMultipartUploadResponse.java @@ -0,0 +1,64 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.CreateMultipartUploadResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CreateMultipartUploadResponse extends S3Response implements ToCopyableBuilder +{ + protected CreateMultipartUploadResponse() {} + public CreateMultipartUploadResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final Instant abortDate(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final String abortRuleId(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String key(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsEncryptionContext(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String toString(){ return null; } + public final String uploadId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static CreateMultipartUploadResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + CreateMultipartUploadResponse.Builder abortDate(Instant p0); + CreateMultipartUploadResponse.Builder abortRuleId(String p0); + CreateMultipartUploadResponse.Builder bucket(String p0); + CreateMultipartUploadResponse.Builder bucketKeyEnabled(Boolean p0); + CreateMultipartUploadResponse.Builder checksumAlgorithm(ChecksumAlgorithm p0); + CreateMultipartUploadResponse.Builder checksumAlgorithm(String p0); + CreateMultipartUploadResponse.Builder key(String p0); + CreateMultipartUploadResponse.Builder requestCharged(RequestCharged p0); + CreateMultipartUploadResponse.Builder requestCharged(String p0); + CreateMultipartUploadResponse.Builder serverSideEncryption(ServerSideEncryption p0); + CreateMultipartUploadResponse.Builder serverSideEncryption(String p0); + CreateMultipartUploadResponse.Builder sseCustomerAlgorithm(String p0); + CreateMultipartUploadResponse.Builder sseCustomerKeyMD5(String p0); + CreateMultipartUploadResponse.Builder ssekmsEncryptionContext(String p0); + CreateMultipartUploadResponse.Builder ssekmsKeyId(String p0); + CreateMultipartUploadResponse.Builder uploadId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DefaultRetention.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DefaultRetention.java new file mode 100644 index 000000000000..ed689bc39f65 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DefaultRetention.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DefaultRetention for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockRetentionMode; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DefaultRetention implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected DefaultRetention() {} + public DefaultRetention.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer days(){ return null; } + public final Integer years(){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockRetentionMode mode(){ return null; } + public final String modeAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DefaultRetention.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + DefaultRetention.Builder days(Integer p0); + DefaultRetention.Builder mode(ObjectLockRetentionMode p0); + DefaultRetention.Builder mode(String p0); + DefaultRetention.Builder years(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Delete.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Delete.java new file mode 100644 index 000000000000..79f9ea7df1ca --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Delete.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Delete for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectIdentifier; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Delete implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Delete() {} + public Delete.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean quiet(){ return null; } + public final List objects(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasObjects(){ return false; } + public final int hashCode(){ return 0; } + public static Delete.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Delete.Builder objects(Collection p0); + Delete.Builder objects(ObjectIdentifier... p0); + Delete.Builder objects(java.util.function.Consumer... p0); + Delete.Builder quiet(Boolean p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketAnalyticsConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketAnalyticsConfigurationRequest.java new file mode 100644 index 000000000000..8e468c76b41d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketAnalyticsConfigurationRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketAnalyticsConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketAnalyticsConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketAnalyticsConfigurationRequest() {} + public DeleteBucketAnalyticsConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketAnalyticsConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketAnalyticsConfigurationRequest.Builder bucket(String p0); + DeleteBucketAnalyticsConfigurationRequest.Builder expectedBucketOwner(String p0); + DeleteBucketAnalyticsConfigurationRequest.Builder id(String p0); + DeleteBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketAnalyticsConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketAnalyticsConfigurationResponse.java new file mode 100644 index 000000000000..459dece5cf03 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketAnalyticsConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketAnalyticsConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketAnalyticsConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketAnalyticsConfigurationResponse() {} + public DeleteBucketAnalyticsConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketAnalyticsConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketCorsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketCorsRequest.java new file mode 100644 index 000000000000..0f6ee8e395e4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketCorsRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketCorsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketCorsRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketCorsRequest() {} + public DeleteBucketCorsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketCorsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketCorsRequest.Builder bucket(String p0); + DeleteBucketCorsRequest.Builder expectedBucketOwner(String p0); + DeleteBucketCorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketCorsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketCorsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketCorsResponse.java new file mode 100644 index 000000000000..42ecd615b8a6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketCorsResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketCorsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketCorsResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketCorsResponse() {} + public DeleteBucketCorsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketCorsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketEncryptionRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketEncryptionRequest.java new file mode 100644 index 000000000000..d7ce7334b8f4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketEncryptionRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketEncryptionRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketEncryptionRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketEncryptionRequest() {} + public DeleteBucketEncryptionRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketEncryptionRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketEncryptionRequest.Builder bucket(String p0); + DeleteBucketEncryptionRequest.Builder expectedBucketOwner(String p0); + DeleteBucketEncryptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketEncryptionRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketEncryptionResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketEncryptionResponse.java new file mode 100644 index 000000000000..f570b349bf1e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketEncryptionResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketEncryptionResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketEncryptionResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketEncryptionResponse() {} + public DeleteBucketEncryptionResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketEncryptionResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketIntelligentTieringConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketIntelligentTieringConfigurationRequest.java new file mode 100644 index 000000000000..99a7d0698ddb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketIntelligentTieringConfigurationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketIntelligentTieringConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketIntelligentTieringConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketIntelligentTieringConfigurationRequest() {} + public DeleteBucketIntelligentTieringConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketIntelligentTieringConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketIntelligentTieringConfigurationRequest.Builder bucket(String p0); + DeleteBucketIntelligentTieringConfigurationRequest.Builder id(String p0); + DeleteBucketIntelligentTieringConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketIntelligentTieringConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketIntelligentTieringConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketIntelligentTieringConfigurationResponse.java new file mode 100644 index 000000000000..865d08bff7e4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketIntelligentTieringConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketIntelligentTieringConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketIntelligentTieringConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketIntelligentTieringConfigurationResponse() {} + public DeleteBucketIntelligentTieringConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketIntelligentTieringConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketInventoryConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketInventoryConfigurationRequest.java new file mode 100644 index 000000000000..72eaac02eff8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketInventoryConfigurationRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketInventoryConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketInventoryConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketInventoryConfigurationRequest() {} + public DeleteBucketInventoryConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketInventoryConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketInventoryConfigurationRequest.Builder bucket(String p0); + DeleteBucketInventoryConfigurationRequest.Builder expectedBucketOwner(String p0); + DeleteBucketInventoryConfigurationRequest.Builder id(String p0); + DeleteBucketInventoryConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketInventoryConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketInventoryConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketInventoryConfigurationResponse.java new file mode 100644 index 000000000000..f7a3325e2593 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketInventoryConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketInventoryConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketInventoryConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketInventoryConfigurationResponse() {} + public DeleteBucketInventoryConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketInventoryConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketLifecycleRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketLifecycleRequest.java new file mode 100644 index 000000000000..d643a2ae2db1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketLifecycleRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketLifecycleRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketLifecycleRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketLifecycleRequest() {} + public DeleteBucketLifecycleRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketLifecycleRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketLifecycleRequest.Builder bucket(String p0); + DeleteBucketLifecycleRequest.Builder expectedBucketOwner(String p0); + DeleteBucketLifecycleRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketLifecycleRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketLifecycleResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketLifecycleResponse.java new file mode 100644 index 000000000000..4aa4f600b1b9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketLifecycleResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketLifecycleResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketLifecycleResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketLifecycleResponse() {} + public DeleteBucketLifecycleResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketLifecycleResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketMetricsConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketMetricsConfigurationRequest.java new file mode 100644 index 000000000000..c32569975e75 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketMetricsConfigurationRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketMetricsConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketMetricsConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketMetricsConfigurationRequest() {} + public DeleteBucketMetricsConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketMetricsConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketMetricsConfigurationRequest.Builder bucket(String p0); + DeleteBucketMetricsConfigurationRequest.Builder expectedBucketOwner(String p0); + DeleteBucketMetricsConfigurationRequest.Builder id(String p0); + DeleteBucketMetricsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketMetricsConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketMetricsConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketMetricsConfigurationResponse.java new file mode 100644 index 000000000000..91ae2d24b6f9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketMetricsConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketMetricsConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketMetricsConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketMetricsConfigurationResponse() {} + public DeleteBucketMetricsConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketMetricsConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketOwnershipControlsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketOwnershipControlsRequest.java new file mode 100644 index 000000000000..258c383b103b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketOwnershipControlsRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketOwnershipControlsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketOwnershipControlsRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketOwnershipControlsRequest() {} + public DeleteBucketOwnershipControlsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketOwnershipControlsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketOwnershipControlsRequest.Builder bucket(String p0); + DeleteBucketOwnershipControlsRequest.Builder expectedBucketOwner(String p0); + DeleteBucketOwnershipControlsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketOwnershipControlsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketOwnershipControlsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketOwnershipControlsResponse.java new file mode 100644 index 000000000000..09af4ae84cbf --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketOwnershipControlsResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketOwnershipControlsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketOwnershipControlsResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketOwnershipControlsResponse() {} + public DeleteBucketOwnershipControlsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketOwnershipControlsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketPolicyRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketPolicyRequest.java new file mode 100644 index 000000000000..063cc84b2c01 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketPolicyRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketPolicyRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketPolicyRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketPolicyRequest() {} + public DeleteBucketPolicyRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketPolicyRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketPolicyRequest.Builder bucket(String p0); + DeleteBucketPolicyRequest.Builder expectedBucketOwner(String p0); + DeleteBucketPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketPolicyRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketPolicyResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketPolicyResponse.java new file mode 100644 index 000000000000..0d32c39f23b0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketPolicyResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketPolicyResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketPolicyResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketPolicyResponse() {} + public DeleteBucketPolicyResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketPolicyResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketReplicationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketReplicationRequest.java new file mode 100644 index 000000000000..87b662db594b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketReplicationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketReplicationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketReplicationRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketReplicationRequest() {} + public DeleteBucketReplicationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketReplicationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketReplicationRequest.Builder bucket(String p0); + DeleteBucketReplicationRequest.Builder expectedBucketOwner(String p0); + DeleteBucketReplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketReplicationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketReplicationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketReplicationResponse.java new file mode 100644 index 000000000000..f4a0d1328620 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketReplicationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketReplicationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketReplicationResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketReplicationResponse() {} + public DeleteBucketReplicationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketReplicationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketRequest.java new file mode 100644 index 000000000000..2be24bddc822 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketRequest() {} + public DeleteBucketRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketRequest.Builder bucket(String p0); + DeleteBucketRequest.Builder expectedBucketOwner(String p0); + DeleteBucketRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketResponse.java new file mode 100644 index 000000000000..59954f2a9d38 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketResponse() {} + public DeleteBucketResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketTaggingRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketTaggingRequest.java new file mode 100644 index 000000000000..14bc1fc6a5e0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketTaggingRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketTaggingRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketTaggingRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketTaggingRequest() {} + public DeleteBucketTaggingRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketTaggingRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketTaggingRequest.Builder bucket(String p0); + DeleteBucketTaggingRequest.Builder expectedBucketOwner(String p0); + DeleteBucketTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketTaggingRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketTaggingResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketTaggingResponse.java new file mode 100644 index 000000000000..99fb4e63e5d7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketTaggingResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketTaggingResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketTaggingResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketTaggingResponse() {} + public DeleteBucketTaggingResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketTaggingResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketWebsiteRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketWebsiteRequest.java new file mode 100644 index 000000000000..a892ef1971f6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketWebsiteRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketWebsiteRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketWebsiteRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteBucketWebsiteRequest() {} + public DeleteBucketWebsiteRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketWebsiteRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteBucketWebsiteRequest.Builder bucket(String p0); + DeleteBucketWebsiteRequest.Builder expectedBucketOwner(String p0); + DeleteBucketWebsiteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteBucketWebsiteRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketWebsiteResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketWebsiteResponse.java new file mode 100644 index 000000000000..0dbbd4dae334 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteBucketWebsiteResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteBucketWebsiteResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteBucketWebsiteResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteBucketWebsiteResponse() {} + public DeleteBucketWebsiteResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteBucketWebsiteResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerEntry.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerEntry.java new file mode 100644 index 000000000000..f099203ed6ef --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerEntry.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteMarkerEntry for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteMarkerEntry implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected DeleteMarkerEntry() {} + public DeleteMarkerEntry.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isLatest(){ return null; } + public final Instant lastModified(){ return null; } + public final List> sdkFields(){ return null; } + public final Owner owner(){ return null; } + public final String key(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteMarkerEntry.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + DeleteMarkerEntry.Builder isLatest(Boolean p0); + DeleteMarkerEntry.Builder key(String p0); + DeleteMarkerEntry.Builder lastModified(Instant p0); + DeleteMarkerEntry.Builder owner(Owner p0); + DeleteMarkerEntry.Builder versionId(String p0); + default DeleteMarkerEntry.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerReplication.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerReplication.java new file mode 100644 index 000000000000..c0ffb758afa1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerReplication.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteMarkerReplication for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.DeleteMarkerReplicationStatus; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteMarkerReplication implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected DeleteMarkerReplication() {} + public DeleteMarkerReplication.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final DeleteMarkerReplicationStatus status(){ return null; } + public final List> sdkFields(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteMarkerReplication.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + DeleteMarkerReplication.Builder status(DeleteMarkerReplicationStatus p0); + DeleteMarkerReplication.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerReplicationStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerReplicationStatus.java new file mode 100644 index 000000000000..b30ce4f831c6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteMarkerReplicationStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteMarkerReplicationStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum DeleteMarkerReplicationStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private DeleteMarkerReplicationStatus() {} + public String toString(){ return null; } + public static DeleteMarkerReplicationStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectRequest.java new file mode 100644 index 000000000000..634f451a37c8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectRequest.java @@ -0,0 +1,49 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteObjectRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteObjectRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteObjectRequest() {} + public DeleteObjectRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bypassGovernanceRetention(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String mfa(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteObjectRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteObjectRequest.Builder bucket(String p0); + DeleteObjectRequest.Builder bypassGovernanceRetention(Boolean p0); + DeleteObjectRequest.Builder expectedBucketOwner(String p0); + DeleteObjectRequest.Builder key(String p0); + DeleteObjectRequest.Builder mfa(String p0); + DeleteObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteObjectRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + DeleteObjectRequest.Builder requestPayer(RequestPayer p0); + DeleteObjectRequest.Builder requestPayer(String p0); + DeleteObjectRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectResponse.java new file mode 100644 index 000000000000..26b9e0b0cf31 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectResponse.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteObjectResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteObjectResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteObjectResponse() {} + public DeleteObjectResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean deleteMarker(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteObjectResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + DeleteObjectResponse.Builder deleteMarker(Boolean p0); + DeleteObjectResponse.Builder requestCharged(RequestCharged p0); + DeleteObjectResponse.Builder requestCharged(String p0); + DeleteObjectResponse.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectTaggingRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectTaggingRequest.java new file mode 100644 index 000000000000..4ad88392b5ac --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectTaggingRequest.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteObjectTaggingRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteObjectTaggingRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteObjectTaggingRequest() {} + public DeleteObjectTaggingRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteObjectTaggingRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteObjectTaggingRequest.Builder bucket(String p0); + DeleteObjectTaggingRequest.Builder expectedBucketOwner(String p0); + DeleteObjectTaggingRequest.Builder key(String p0); + DeleteObjectTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteObjectTaggingRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + DeleteObjectTaggingRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectTaggingResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectTaggingResponse.java new file mode 100644 index 000000000000..53bec36c6905 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectTaggingResponse.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteObjectTaggingResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteObjectTaggingResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteObjectTaggingResponse() {} + public DeleteObjectTaggingResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteObjectTaggingResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + DeleteObjectTaggingResponse.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectsRequest.java new file mode 100644 index 000000000000..442c27c1a3d2 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectsRequest.java @@ -0,0 +1,54 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteObjectsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.Delete; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteObjectsRequest extends S3Request implements ToCopyableBuilder +{ + protected DeleteObjectsRequest() {} + public DeleteObjectsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bypassGovernanceRetention(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final Delete delete(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String mfa(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeleteObjectsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeleteObjectsRequest.Builder bucket(String p0); + DeleteObjectsRequest.Builder bypassGovernanceRetention(Boolean p0); + DeleteObjectsRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + DeleteObjectsRequest.Builder checksumAlgorithm(String p0); + DeleteObjectsRequest.Builder delete(Delete p0); + DeleteObjectsRequest.Builder expectedBucketOwner(String p0); + DeleteObjectsRequest.Builder mfa(String p0); + DeleteObjectsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeleteObjectsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + DeleteObjectsRequest.Builder requestPayer(RequestPayer p0); + DeleteObjectsRequest.Builder requestPayer(String p0); + default DeleteObjectsRequest.Builder delete(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectsResponse.java new file mode 100644 index 000000000000..3c17b9932a76 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeleteObjectsResponse.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeleteObjectsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.DeletedObject; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Error; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeleteObjectsResponse extends S3Response implements ToCopyableBuilder +{ + protected DeleteObjectsResponse() {} + public DeleteObjectsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List deleted(){ return null; } + public final List errors(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasDeleted(){ return false; } + public final boolean hasErrors(){ return false; } + public final int hashCode(){ return 0; } + public static DeleteObjectsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + DeleteObjectsResponse.Builder deleted(Collection p0); + DeleteObjectsResponse.Builder deleted(DeletedObject... p0); + DeleteObjectsResponse.Builder deleted(java.util.function.Consumer... p0); + DeleteObjectsResponse.Builder errors(Collection p0); + DeleteObjectsResponse.Builder errors(S3Error... p0); + DeleteObjectsResponse.Builder errors(java.util.function.Consumer... p0); + DeleteObjectsResponse.Builder requestCharged(RequestCharged p0); + DeleteObjectsResponse.Builder requestCharged(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletePublicAccessBlockRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletePublicAccessBlockRequest.java new file mode 100644 index 000000000000..6f087f58f237 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletePublicAccessBlockRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeletePublicAccessBlockRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeletePublicAccessBlockRequest extends S3Request implements ToCopyableBuilder +{ + protected DeletePublicAccessBlockRequest() {} + public DeletePublicAccessBlockRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeletePublicAccessBlockRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + DeletePublicAccessBlockRequest.Builder bucket(String p0); + DeletePublicAccessBlockRequest.Builder expectedBucketOwner(String p0); + DeletePublicAccessBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + DeletePublicAccessBlockRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletePublicAccessBlockResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletePublicAccessBlockResponse.java new file mode 100644 index 000000000000..16b4d67af4b9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletePublicAccessBlockResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeletePublicAccessBlockResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeletePublicAccessBlockResponse extends S3Response implements ToCopyableBuilder +{ + protected DeletePublicAccessBlockResponse() {} + public DeletePublicAccessBlockResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeletePublicAccessBlockResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletedObject.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletedObject.java new file mode 100644 index 000000000000..a1ca5dd29771 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/DeletedObject.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.DeletedObject for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DeletedObject implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected DeletedObject() {} + public DeletedObject.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean deleteMarker(){ return null; } + public final List> sdkFields(){ return null; } + public final String deleteMarkerVersionId(){ return null; } + public final String key(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static DeletedObject.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + DeletedObject.Builder deleteMarker(Boolean p0); + DeletedObject.Builder deleteMarkerVersionId(String p0); + DeletedObject.Builder key(String p0); + DeletedObject.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Destination.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Destination.java new file mode 100644 index 000000000000..17fa6836c9b8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Destination.java @@ -0,0 +1,54 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Destination for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AccessControlTranslation; +import software.amazon.awssdk.services.s3.model.EncryptionConfiguration; +import software.amazon.awssdk.services.s3.model.Metrics; +import software.amazon.awssdk.services.s3.model.ReplicationTime; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Destination implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Destination() {} + public Destination.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AccessControlTranslation accessControlTranslation(){ return null; } + public final EncryptionConfiguration encryptionConfiguration(){ return null; } + public final List> sdkFields(){ return null; } + public final Metrics metrics(){ return null; } + public final ReplicationTime replicationTime(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String account(){ return null; } + public final String bucket(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Destination.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Destination.Builder accessControlTranslation(AccessControlTranslation p0); + Destination.Builder account(String p0); + Destination.Builder bucket(String p0); + Destination.Builder encryptionConfiguration(EncryptionConfiguration p0); + Destination.Builder metrics(Metrics p0); + Destination.Builder replicationTime(ReplicationTime p0); + Destination.Builder storageClass(StorageClass p0); + Destination.Builder storageClass(String p0); + default Destination.Builder accessControlTranslation(java.util.function.Consumer p0){ return null; } + default Destination.Builder encryptionConfiguration(java.util.function.Consumer p0){ return null; } + default Destination.Builder metrics(java.util.function.Consumer p0){ return null; } + default Destination.Builder replicationTime(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EncodingType.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EncodingType.java new file mode 100644 index 000000000000..1ec097a02c2a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EncodingType.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.EncodingType for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum EncodingType +{ + UNKNOWN_TO_SDK_VERSION, URL; + private EncodingType() {} + public String toString(){ return null; } + public static EncodingType fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Encryption.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Encryption.java new file mode 100644 index 000000000000..f1368dfa0645 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Encryption.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Encryption for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Encryption implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Encryption() {} + public Encryption.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ServerSideEncryption encryptionType(){ return null; } + public final String encryptionTypeAsString(){ return null; } + public final String kmsContext(){ return null; } + public final String kmsKeyId(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Encryption.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Encryption.Builder encryptionType(ServerSideEncryption p0); + Encryption.Builder encryptionType(String p0); + Encryption.Builder kmsContext(String p0); + Encryption.Builder kmsKeyId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EncryptionConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EncryptionConfiguration.java new file mode 100644 index 000000000000..5984850ec6d5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EncryptionConfiguration.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.EncryptionConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class EncryptionConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected EncryptionConfiguration() {} + public EncryptionConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String replicaKmsKeyID(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static EncryptionConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + EncryptionConfiguration.Builder replicaKmsKeyID(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EndEvent.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EndEvent.java new file mode 100644 index 000000000000..0dfba27730b9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EndEvent.java @@ -0,0 +1,41 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.EndEvent for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream; +import software.amazon.awssdk.services.s3.model.SelectObjectContentResponseHandler; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class EndEvent implements SdkPojo, SelectObjectContentEventStream, Serializable, ToCopyableBuilder +{ + protected EndEvent() {} + protected EndEvent(EndEvent.BuilderImpl p0){} + public EndEvent.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final EndEvent copy(java.util.function.Consumer p0){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static EndEvent.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + public void accept(SelectObjectContentResponseHandler.Visitor p0){} + static class BuilderImpl implements EndEvent.Builder + { + protected BuilderImpl(){} + protected BuilderImpl(EndEvent p0){} + public EndEvent build(){ return null; } + public List> sdkFields(){ return null; } + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ErrorDocument.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ErrorDocument.java new file mode 100644 index 000000000000..5ce3f87ef9c5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ErrorDocument.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ErrorDocument for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ErrorDocument implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ErrorDocument() {} + public ErrorDocument.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String key(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ErrorDocument.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ErrorDocument.Builder key(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Event.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Event.java new file mode 100644 index 000000000000..c8f57311950d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Event.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Event for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum Event +{ + S3_INTELLIGENT_TIERING, S3_LIFECYCLE_EXPIRATION, S3_LIFECYCLE_EXPIRATION_DELETE, S3_LIFECYCLE_EXPIRATION_DELETE_MARKER_CREATED, S3_LIFECYCLE_TRANSITION, S3_OBJECT_ACL_PUT, S3_OBJECT_CREATED, S3_OBJECT_CREATED_COMPLETE_MULTIPART_UPLOAD, S3_OBJECT_CREATED_COPY, S3_OBJECT_CREATED_POST, S3_OBJECT_CREATED_PUT, S3_OBJECT_REMOVED, S3_OBJECT_REMOVED_DELETE, S3_OBJECT_REMOVED_DELETE_MARKER_CREATED, S3_OBJECT_RESTORE, S3_OBJECT_RESTORE_COMPLETED, S3_OBJECT_RESTORE_DELETE, S3_OBJECT_RESTORE_POST, S3_OBJECT_TAGGING, S3_OBJECT_TAGGING_DELETE, S3_OBJECT_TAGGING_PUT, S3_REDUCED_REDUNDANCY_LOST_OBJECT, S3_REPLICATION, S3_REPLICATION_OPERATION_FAILED_REPLICATION, S3_REPLICATION_OPERATION_MISSED_THRESHOLD, S3_REPLICATION_OPERATION_NOT_TRACKED, S3_REPLICATION_OPERATION_REPLICATED_AFTER_THRESHOLD, UNKNOWN_TO_SDK_VERSION; + private Event() {} + public String toString(){ return null; } + public static Event fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EventBridgeConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EventBridgeConfiguration.java new file mode 100644 index 000000000000..d9e4afa80657 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/EventBridgeConfiguration.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.EventBridgeConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class EventBridgeConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected EventBridgeConfiguration() {} + public EventBridgeConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static EventBridgeConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExistingObjectReplication.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExistingObjectReplication.java new file mode 100644 index 000000000000..1bebfbd29527 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExistingObjectReplication.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ExistingObjectReplication for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ExistingObjectReplicationStatus; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ExistingObjectReplication implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ExistingObjectReplication() {} + public ExistingObjectReplication.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ExistingObjectReplicationStatus status(){ return null; } + public final List> sdkFields(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ExistingObjectReplication.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ExistingObjectReplication.Builder status(ExistingObjectReplicationStatus p0); + ExistingObjectReplication.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExistingObjectReplicationStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExistingObjectReplicationStatus.java new file mode 100644 index 000000000000..e0e781d5eaef --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExistingObjectReplicationStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ExistingObjectReplicationStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ExistingObjectReplicationStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private ExistingObjectReplicationStatus() {} + public String toString(){ return null; } + public static ExistingObjectReplicationStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExpirationStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExpirationStatus.java new file mode 100644 index 000000000000..800f7bb55d19 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExpirationStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ExpirationStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ExpirationStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private ExpirationStatus() {} + public String toString(){ return null; } + public static ExpirationStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExpressionType.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExpressionType.java new file mode 100644 index 000000000000..876ae815a1db --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ExpressionType.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ExpressionType for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ExpressionType +{ + SQL, UNKNOWN_TO_SDK_VERSION; + private ExpressionType() {} + public String toString(){ return null; } + public static ExpressionType fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FileHeaderInfo.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FileHeaderInfo.java new file mode 100644 index 000000000000..121ec9c3b94a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FileHeaderInfo.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.FileHeaderInfo for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum FileHeaderInfo +{ + IGNORE, NONE, UNKNOWN_TO_SDK_VERSION, USE; + private FileHeaderInfo() {} + public String toString(){ return null; } + public static FileHeaderInfo fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FilterRule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FilterRule.java new file mode 100644 index 000000000000..237c8c3c094d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FilterRule.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.FilterRule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.FilterRuleName; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class FilterRule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected FilterRule() {} + public FilterRule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final FilterRuleName name(){ return null; } + public final List> sdkFields(){ return null; } + public final String nameAsString(){ return null; } + public final String toString(){ return null; } + public final String value(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static FilterRule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + FilterRule.Builder name(FilterRuleName p0); + FilterRule.Builder name(String p0); + FilterRule.Builder value(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FilterRuleName.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FilterRuleName.java new file mode 100644 index 000000000000..346ffa0fa496 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/FilterRuleName.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.FilterRuleName for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum FilterRuleName +{ + PREFIX, SUFFIX, UNKNOWN_TO_SDK_VERSION; + private FilterRuleName() {} + public String toString(){ return null; } + public static FilterRuleName fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAccelerateConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAccelerateConfigurationRequest.java new file mode 100644 index 000000000000..592912b6cdd9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAccelerateConfigurationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketAccelerateConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketAccelerateConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketAccelerateConfigurationRequest() {} + public GetBucketAccelerateConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketAccelerateConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketAccelerateConfigurationRequest.Builder bucket(String p0); + GetBucketAccelerateConfigurationRequest.Builder expectedBucketOwner(String p0); + GetBucketAccelerateConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketAccelerateConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAccelerateConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAccelerateConfigurationResponse.java new file mode 100644 index 000000000000..583baeada591 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAccelerateConfigurationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketAccelerateConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketAccelerateStatus; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketAccelerateConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketAccelerateConfigurationResponse() {} + public GetBucketAccelerateConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketAccelerateStatus status(){ return null; } + public final List> sdkFields(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketAccelerateConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketAccelerateConfigurationResponse.Builder status(BucketAccelerateStatus p0); + GetBucketAccelerateConfigurationResponse.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAclRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAclRequest.java new file mode 100644 index 000000000000..04e3980e7a9f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAclRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketAclRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketAclRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketAclRequest() {} + public GetBucketAclRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketAclRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketAclRequest.Builder bucket(String p0); + GetBucketAclRequest.Builder expectedBucketOwner(String p0); + GetBucketAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketAclRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAclResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAclResponse.java new file mode 100644 index 000000000000..f9df8779635b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAclResponse.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketAclResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Grant; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketAclResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketAclResponse() {} + public GetBucketAclResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List grants(){ return null; } + public final List> sdkFields(){ return null; } + public final Owner owner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasGrants(){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketAclResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketAclResponse.Builder grants(Collection p0); + GetBucketAclResponse.Builder grants(Grant... p0); + GetBucketAclResponse.Builder grants(java.util.function.Consumer... p0); + GetBucketAclResponse.Builder owner(Owner p0); + default GetBucketAclResponse.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAnalyticsConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAnalyticsConfigurationRequest.java new file mode 100644 index 000000000000..4710f1f05309 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAnalyticsConfigurationRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketAnalyticsConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketAnalyticsConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketAnalyticsConfigurationRequest() {} + public GetBucketAnalyticsConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketAnalyticsConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketAnalyticsConfigurationRequest.Builder bucket(String p0); + GetBucketAnalyticsConfigurationRequest.Builder expectedBucketOwner(String p0); + GetBucketAnalyticsConfigurationRequest.Builder id(String p0); + GetBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAnalyticsConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAnalyticsConfigurationResponse.java new file mode 100644 index 000000000000..0b2d07819b9a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketAnalyticsConfigurationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketAnalyticsConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AnalyticsConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketAnalyticsConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketAnalyticsConfigurationResponse() {} + public GetBucketAnalyticsConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AnalyticsConfiguration analyticsConfiguration(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketAnalyticsConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketAnalyticsConfigurationResponse.Builder analyticsConfiguration(AnalyticsConfiguration p0); + default GetBucketAnalyticsConfigurationResponse.Builder analyticsConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketCorsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketCorsRequest.java new file mode 100644 index 000000000000..3b5a7389cb64 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketCorsRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketCorsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketCorsRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketCorsRequest() {} + public GetBucketCorsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketCorsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketCorsRequest.Builder bucket(String p0); + GetBucketCorsRequest.Builder expectedBucketOwner(String p0); + GetBucketCorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketCorsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketCorsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketCorsResponse.java new file mode 100644 index 000000000000..639e543257a4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketCorsResponse.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketCorsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CORSRule; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketCorsResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketCorsResponse() {} + public GetBucketCorsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List corsRules(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasCorsRules(){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketCorsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketCorsResponse.Builder corsRules(CORSRule... p0); + GetBucketCorsResponse.Builder corsRules(Collection p0); + GetBucketCorsResponse.Builder corsRules(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketEncryptionRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketEncryptionRequest.java new file mode 100644 index 000000000000..fd6709647bb9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketEncryptionRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketEncryptionRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketEncryptionRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketEncryptionRequest() {} + public GetBucketEncryptionRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketEncryptionRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketEncryptionRequest.Builder bucket(String p0); + GetBucketEncryptionRequest.Builder expectedBucketOwner(String p0); + GetBucketEncryptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketEncryptionRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketEncryptionResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketEncryptionResponse.java new file mode 100644 index 000000000000..c6e513863adf --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketEncryptionResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketEncryptionResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryptionConfiguration; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketEncryptionResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketEncryptionResponse() {} + public GetBucketEncryptionResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ServerSideEncryptionConfiguration serverSideEncryptionConfiguration(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketEncryptionResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketEncryptionResponse.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration p0); + default GetBucketEncryptionResponse.Builder serverSideEncryptionConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketIntelligentTieringConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketIntelligentTieringConfigurationRequest.java new file mode 100644 index 000000000000..5ce456b41ee4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketIntelligentTieringConfigurationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketIntelligentTieringConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketIntelligentTieringConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketIntelligentTieringConfigurationRequest() {} + public GetBucketIntelligentTieringConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketIntelligentTieringConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketIntelligentTieringConfigurationRequest.Builder bucket(String p0); + GetBucketIntelligentTieringConfigurationRequest.Builder id(String p0); + GetBucketIntelligentTieringConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketIntelligentTieringConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketIntelligentTieringConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketIntelligentTieringConfigurationResponse.java new file mode 100644 index 000000000000..a5fadbd20758 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketIntelligentTieringConfigurationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketIntelligentTieringConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.IntelligentTieringConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketIntelligentTieringConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketIntelligentTieringConfigurationResponse() {} + public GetBucketIntelligentTieringConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final IntelligentTieringConfiguration intelligentTieringConfiguration(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketIntelligentTieringConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketIntelligentTieringConfigurationResponse.Builder intelligentTieringConfiguration(IntelligentTieringConfiguration p0); + default GetBucketIntelligentTieringConfigurationResponse.Builder intelligentTieringConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketInventoryConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketInventoryConfigurationRequest.java new file mode 100644 index 000000000000..65ac98f47f98 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketInventoryConfigurationRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketInventoryConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketInventoryConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketInventoryConfigurationRequest() {} + public GetBucketInventoryConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketInventoryConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketInventoryConfigurationRequest.Builder bucket(String p0); + GetBucketInventoryConfigurationRequest.Builder expectedBucketOwner(String p0); + GetBucketInventoryConfigurationRequest.Builder id(String p0); + GetBucketInventoryConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketInventoryConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketInventoryConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketInventoryConfigurationResponse.java new file mode 100644 index 000000000000..e0a6abbe3efe --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketInventoryConfigurationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketInventoryConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.InventoryConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketInventoryConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketInventoryConfigurationResponse() {} + public GetBucketInventoryConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final InventoryConfiguration inventoryConfiguration(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketInventoryConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketInventoryConfigurationResponse.Builder inventoryConfiguration(InventoryConfiguration p0); + default GetBucketInventoryConfigurationResponse.Builder inventoryConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLifecycleConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLifecycleConfigurationRequest.java new file mode 100644 index 000000000000..e668d48c1f8e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLifecycleConfigurationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketLifecycleConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketLifecycleConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketLifecycleConfigurationRequest() {} + public GetBucketLifecycleConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketLifecycleConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketLifecycleConfigurationRequest.Builder bucket(String p0); + GetBucketLifecycleConfigurationRequest.Builder expectedBucketOwner(String p0); + GetBucketLifecycleConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketLifecycleConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLifecycleConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLifecycleConfigurationResponse.java new file mode 100644 index 000000000000..ab488157a44c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLifecycleConfigurationResponse.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketLifecycleConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.LifecycleRule; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketLifecycleConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketLifecycleConfigurationResponse() {} + public GetBucketLifecycleConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List rules(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasRules(){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketLifecycleConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketLifecycleConfigurationResponse.Builder rules(Collection p0); + GetBucketLifecycleConfigurationResponse.Builder rules(LifecycleRule... p0); + GetBucketLifecycleConfigurationResponse.Builder rules(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLocationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLocationRequest.java new file mode 100644 index 000000000000..3abfeb268802 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLocationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketLocationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketLocationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketLocationRequest() {} + public GetBucketLocationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketLocationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketLocationRequest.Builder bucket(String p0); + GetBucketLocationRequest.Builder expectedBucketOwner(String p0); + GetBucketLocationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketLocationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLocationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLocationResponse.java new file mode 100644 index 000000000000..c488859ccaf4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLocationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketLocationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketLocationConstraint; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketLocationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketLocationResponse() {} + public GetBucketLocationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketLocationConstraint locationConstraint(){ return null; } + public final List> sdkFields(){ return null; } + public final String locationConstraintAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketLocationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketLocationResponse.Builder locationConstraint(BucketLocationConstraint p0); + GetBucketLocationResponse.Builder locationConstraint(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLoggingRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLoggingRequest.java new file mode 100644 index 000000000000..16bbab976181 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLoggingRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketLoggingRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketLoggingRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketLoggingRequest() {} + public GetBucketLoggingRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketLoggingRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketLoggingRequest.Builder bucket(String p0); + GetBucketLoggingRequest.Builder expectedBucketOwner(String p0); + GetBucketLoggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketLoggingRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLoggingResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLoggingResponse.java new file mode 100644 index 000000000000..008aba1f868b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketLoggingResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketLoggingResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.LoggingEnabled; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketLoggingResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketLoggingResponse() {} + public GetBucketLoggingResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final LoggingEnabled loggingEnabled(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketLoggingResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketLoggingResponse.Builder loggingEnabled(LoggingEnabled p0); + default GetBucketLoggingResponse.Builder loggingEnabled(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketMetricsConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketMetricsConfigurationRequest.java new file mode 100644 index 000000000000..d9b0eb4d78c9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketMetricsConfigurationRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketMetricsConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketMetricsConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketMetricsConfigurationRequest() {} + public GetBucketMetricsConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketMetricsConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketMetricsConfigurationRequest.Builder bucket(String p0); + GetBucketMetricsConfigurationRequest.Builder expectedBucketOwner(String p0); + GetBucketMetricsConfigurationRequest.Builder id(String p0); + GetBucketMetricsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketMetricsConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketMetricsConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketMetricsConfigurationResponse.java new file mode 100644 index 000000000000..b31680625ed5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketMetricsConfigurationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketMetricsConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.MetricsConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketMetricsConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketMetricsConfigurationResponse() {} + public GetBucketMetricsConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final MetricsConfiguration metricsConfiguration(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketMetricsConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketMetricsConfigurationResponse.Builder metricsConfiguration(MetricsConfiguration p0); + default GetBucketMetricsConfigurationResponse.Builder metricsConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketNotificationConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketNotificationConfigurationRequest.java new file mode 100644 index 000000000000..81ecdbd44e48 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketNotificationConfigurationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketNotificationConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketNotificationConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketNotificationConfigurationRequest() {} + public GetBucketNotificationConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketNotificationConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketNotificationConfigurationRequest.Builder bucket(String p0); + GetBucketNotificationConfigurationRequest.Builder expectedBucketOwner(String p0); + GetBucketNotificationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketNotificationConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketNotificationConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketNotificationConfigurationResponse.java new file mode 100644 index 000000000000..7a356e280b3c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketNotificationConfigurationResponse.java @@ -0,0 +1,52 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketNotificationConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.EventBridgeConfiguration; +import software.amazon.awssdk.services.s3.model.LambdaFunctionConfiguration; +import software.amazon.awssdk.services.s3.model.QueueConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.TopicConfiguration; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketNotificationConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketNotificationConfigurationResponse() {} + public GetBucketNotificationConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final EventBridgeConfiguration eventBridgeConfiguration(){ return null; } + public final List lambdaFunctionConfigurations(){ return null; } + public final List queueConfigurations(){ return null; } + public final List> sdkFields(){ return null; } + public final List topicConfigurations(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasLambdaFunctionConfigurations(){ return false; } + public final boolean hasQueueConfigurations(){ return false; } + public final boolean hasTopicConfigurations(){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketNotificationConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketNotificationConfigurationResponse.Builder eventBridgeConfiguration(EventBridgeConfiguration p0); + GetBucketNotificationConfigurationResponse.Builder lambdaFunctionConfigurations(Collection p0); + GetBucketNotificationConfigurationResponse.Builder lambdaFunctionConfigurations(LambdaFunctionConfiguration... p0); + GetBucketNotificationConfigurationResponse.Builder lambdaFunctionConfigurations(java.util.function.Consumer... p0); + GetBucketNotificationConfigurationResponse.Builder queueConfigurations(Collection p0); + GetBucketNotificationConfigurationResponse.Builder queueConfigurations(QueueConfiguration... p0); + GetBucketNotificationConfigurationResponse.Builder queueConfigurations(java.util.function.Consumer... p0); + GetBucketNotificationConfigurationResponse.Builder topicConfigurations(Collection p0); + GetBucketNotificationConfigurationResponse.Builder topicConfigurations(TopicConfiguration... p0); + GetBucketNotificationConfigurationResponse.Builder topicConfigurations(java.util.function.Consumer... p0); + default GetBucketNotificationConfigurationResponse.Builder eventBridgeConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketOwnershipControlsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketOwnershipControlsRequest.java new file mode 100644 index 000000000000..9596c24f2a5b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketOwnershipControlsRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketOwnershipControlsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketOwnershipControlsRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketOwnershipControlsRequest() {} + public GetBucketOwnershipControlsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketOwnershipControlsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketOwnershipControlsRequest.Builder bucket(String p0); + GetBucketOwnershipControlsRequest.Builder expectedBucketOwner(String p0); + GetBucketOwnershipControlsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketOwnershipControlsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketOwnershipControlsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketOwnershipControlsResponse.java new file mode 100644 index 000000000000..e4dbca3806bd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketOwnershipControlsResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketOwnershipControlsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.OwnershipControls; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketOwnershipControlsResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketOwnershipControlsResponse() {} + public GetBucketOwnershipControlsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final OwnershipControls ownershipControls(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketOwnershipControlsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketOwnershipControlsResponse.Builder ownershipControls(OwnershipControls p0); + default GetBucketOwnershipControlsResponse.Builder ownershipControls(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyRequest.java new file mode 100644 index 000000000000..56ccd135343c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketPolicyRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketPolicyRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketPolicyRequest() {} + public GetBucketPolicyRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketPolicyRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketPolicyRequest.Builder bucket(String p0); + GetBucketPolicyRequest.Builder expectedBucketOwner(String p0); + GetBucketPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketPolicyRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyResponse.java new file mode 100644 index 000000000000..4ead9dfc429c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyResponse.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketPolicyResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketPolicyResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketPolicyResponse() {} + public GetBucketPolicyResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String policy(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketPolicyResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketPolicyResponse.Builder policy(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyStatusRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyStatusRequest.java new file mode 100644 index 000000000000..c68770ee3ca4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyStatusRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketPolicyStatusRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketPolicyStatusRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketPolicyStatusRequest() {} + public GetBucketPolicyStatusRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketPolicyStatusRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketPolicyStatusRequest.Builder bucket(String p0); + GetBucketPolicyStatusRequest.Builder expectedBucketOwner(String p0); + GetBucketPolicyStatusRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketPolicyStatusRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyStatusResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyStatusResponse.java new file mode 100644 index 000000000000..c2176949a83e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketPolicyStatusResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketPolicyStatusResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.PolicyStatus; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketPolicyStatusResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketPolicyStatusResponse() {} + public GetBucketPolicyStatusResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final PolicyStatus policyStatus(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketPolicyStatusResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketPolicyStatusResponse.Builder policyStatus(PolicyStatus p0); + default GetBucketPolicyStatusResponse.Builder policyStatus(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketReplicationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketReplicationRequest.java new file mode 100644 index 000000000000..81219a3be2d7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketReplicationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketReplicationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketReplicationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketReplicationRequest() {} + public GetBucketReplicationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketReplicationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketReplicationRequest.Builder bucket(String p0); + GetBucketReplicationRequest.Builder expectedBucketOwner(String p0); + GetBucketReplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketReplicationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketReplicationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketReplicationResponse.java new file mode 100644 index 000000000000..1ca76a51a835 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketReplicationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketReplicationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ReplicationConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketReplicationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketReplicationResponse() {} + public GetBucketReplicationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ReplicationConfiguration replicationConfiguration(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketReplicationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketReplicationResponse.Builder replicationConfiguration(ReplicationConfiguration p0); + default GetBucketReplicationResponse.Builder replicationConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketRequestPaymentRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketRequestPaymentRequest.java new file mode 100644 index 000000000000..341f960bf703 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketRequestPaymentRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketRequestPaymentRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketRequestPaymentRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketRequestPaymentRequest() {} + public GetBucketRequestPaymentRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketRequestPaymentRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketRequestPaymentRequest.Builder bucket(String p0); + GetBucketRequestPaymentRequest.Builder expectedBucketOwner(String p0); + GetBucketRequestPaymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketRequestPaymentRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketRequestPaymentResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketRequestPaymentResponse.java new file mode 100644 index 000000000000..6f1e0245ef6d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketRequestPaymentResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketRequestPaymentResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Payer; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketRequestPaymentResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketRequestPaymentResponse() {} + public GetBucketRequestPaymentResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Payer payer(){ return null; } + public final String payerAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketRequestPaymentResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketRequestPaymentResponse.Builder payer(Payer p0); + GetBucketRequestPaymentResponse.Builder payer(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketTaggingRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketTaggingRequest.java new file mode 100644 index 000000000000..c06219d05a18 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketTaggingRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketTaggingRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketTaggingRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketTaggingRequest() {} + public GetBucketTaggingRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketTaggingRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketTaggingRequest.Builder bucket(String p0); + GetBucketTaggingRequest.Builder expectedBucketOwner(String p0); + GetBucketTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketTaggingRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketTaggingResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketTaggingResponse.java new file mode 100644 index 000000000000..1b74d1a7496d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketTaggingResponse.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketTaggingResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketTaggingResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketTaggingResponse() {} + public GetBucketTaggingResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List tagSet(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTagSet(){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketTaggingResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketTaggingResponse.Builder tagSet(Collection p0); + GetBucketTaggingResponse.Builder tagSet(Tag... p0); + GetBucketTaggingResponse.Builder tagSet(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketVersioningRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketVersioningRequest.java new file mode 100644 index 000000000000..7948f6f961c2 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketVersioningRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketVersioningRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketVersioningRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketVersioningRequest() {} + public GetBucketVersioningRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketVersioningRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketVersioningRequest.Builder bucket(String p0); + GetBucketVersioningRequest.Builder expectedBucketOwner(String p0); + GetBucketVersioningRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketVersioningRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketVersioningResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketVersioningResponse.java new file mode 100644 index 000000000000..225b25d82d40 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketVersioningResponse.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketVersioningResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketVersioningStatus; +import software.amazon.awssdk.services.s3.model.MFADeleteStatus; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketVersioningResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketVersioningResponse() {} + public GetBucketVersioningResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketVersioningStatus status(){ return null; } + public final List> sdkFields(){ return null; } + public final MFADeleteStatus mfaDelete(){ return null; } + public final String mfaDeleteAsString(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketVersioningResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketVersioningResponse.Builder mfaDelete(MFADeleteStatus p0); + GetBucketVersioningResponse.Builder mfaDelete(String p0); + GetBucketVersioningResponse.Builder status(BucketVersioningStatus p0); + GetBucketVersioningResponse.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketWebsiteRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketWebsiteRequest.java new file mode 100644 index 000000000000..3949c50a45de --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketWebsiteRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketWebsiteRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketWebsiteRequest extends S3Request implements ToCopyableBuilder +{ + protected GetBucketWebsiteRequest() {} + public GetBucketWebsiteRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketWebsiteRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetBucketWebsiteRequest.Builder bucket(String p0); + GetBucketWebsiteRequest.Builder expectedBucketOwner(String p0); + GetBucketWebsiteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetBucketWebsiteRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketWebsiteResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketWebsiteResponse.java new file mode 100644 index 000000000000..01465ec47a03 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetBucketWebsiteResponse.java @@ -0,0 +1,48 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetBucketWebsiteResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ErrorDocument; +import software.amazon.awssdk.services.s3.model.IndexDocument; +import software.amazon.awssdk.services.s3.model.RedirectAllRequestsTo; +import software.amazon.awssdk.services.s3.model.RoutingRule; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetBucketWebsiteResponse extends S3Response implements ToCopyableBuilder +{ + protected GetBucketWebsiteResponse() {} + public GetBucketWebsiteResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ErrorDocument errorDocument(){ return null; } + public final IndexDocument indexDocument(){ return null; } + public final List routingRules(){ return null; } + public final List> sdkFields(){ return null; } + public final RedirectAllRequestsTo redirectAllRequestsTo(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasRoutingRules(){ return false; } + public final int hashCode(){ return 0; } + public static GetBucketWebsiteResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetBucketWebsiteResponse.Builder errorDocument(ErrorDocument p0); + GetBucketWebsiteResponse.Builder indexDocument(IndexDocument p0); + GetBucketWebsiteResponse.Builder redirectAllRequestsTo(RedirectAllRequestsTo p0); + GetBucketWebsiteResponse.Builder routingRules(Collection p0); + GetBucketWebsiteResponse.Builder routingRules(RoutingRule... p0); + GetBucketWebsiteResponse.Builder routingRules(java.util.function.Consumer... p0); + default GetBucketWebsiteResponse.Builder errorDocument(java.util.function.Consumer p0){ return null; } + default GetBucketWebsiteResponse.Builder indexDocument(java.util.function.Consumer p0){ return null; } + default GetBucketWebsiteResponse.Builder redirectAllRequestsTo(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAclRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAclRequest.java new file mode 100644 index 000000000000..3f3721f3b412 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAclRequest.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectAclRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectAclRequest extends S3Request implements ToCopyableBuilder +{ + protected GetObjectAclRequest() {} + public GetObjectAclRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectAclRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetObjectAclRequest.Builder bucket(String p0); + GetObjectAclRequest.Builder expectedBucketOwner(String p0); + GetObjectAclRequest.Builder key(String p0); + GetObjectAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetObjectAclRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + GetObjectAclRequest.Builder requestPayer(RequestPayer p0); + GetObjectAclRequest.Builder requestPayer(String p0); + GetObjectAclRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAclResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAclResponse.java new file mode 100644 index 000000000000..aefd4184bcad --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAclResponse.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectAclResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Grant; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectAclResponse extends S3Response implements ToCopyableBuilder +{ + protected GetObjectAclResponse() {} + public GetObjectAclResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List grants(){ return null; } + public final List> sdkFields(){ return null; } + public final Owner owner(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasGrants(){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectAclResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetObjectAclResponse.Builder grants(Collection p0); + GetObjectAclResponse.Builder grants(Grant... p0); + GetObjectAclResponse.Builder grants(java.util.function.Consumer... p0); + GetObjectAclResponse.Builder owner(Owner p0); + GetObjectAclResponse.Builder requestCharged(RequestCharged p0); + GetObjectAclResponse.Builder requestCharged(String p0); + default GetObjectAclResponse.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesParts.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesParts.java new file mode 100644 index 000000000000..d182bc244789 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesParts.java @@ -0,0 +1,46 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectAttributesParts for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectPart; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectAttributesParts implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected GetObjectAttributesParts() {} + public GetObjectAttributesParts.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final Integer maxParts(){ return null; } + public final Integer nextPartNumberMarker(){ return null; } + public final Integer partNumberMarker(){ return null; } + public final Integer totalPartsCount(){ return null; } + public final List parts(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasParts(){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectAttributesParts.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + GetObjectAttributesParts.Builder isTruncated(Boolean p0); + GetObjectAttributesParts.Builder maxParts(Integer p0); + GetObjectAttributesParts.Builder nextPartNumberMarker(Integer p0); + GetObjectAttributesParts.Builder partNumberMarker(Integer p0); + GetObjectAttributesParts.Builder parts(Collection p0); + GetObjectAttributesParts.Builder parts(ObjectPart... p0); + GetObjectAttributesParts.Builder parts(java.util.function.Consumer... p0); + GetObjectAttributesParts.Builder totalPartsCount(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesRequest.java new file mode 100644 index 000000000000..e73986e0b656 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesRequest.java @@ -0,0 +1,64 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectAttributesRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectAttributes; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectAttributesRequest extends S3Request implements ToCopyableBuilder +{ + protected GetObjectAttributesRequest() {} + public GetObjectAttributesRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer maxParts(){ return null; } + public final Integer partNumberMarker(){ return null; } + public final List objectAttributes(){ return null; } + public final List> sdkFields(){ return null; } + public final List objectAttributesAsStrings(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasObjectAttributes(){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectAttributesRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetObjectAttributesRequest.Builder bucket(String p0); + GetObjectAttributesRequest.Builder expectedBucketOwner(String p0); + GetObjectAttributesRequest.Builder key(String p0); + GetObjectAttributesRequest.Builder maxParts(Integer p0); + GetObjectAttributesRequest.Builder objectAttributes(Collection p0); + GetObjectAttributesRequest.Builder objectAttributes(ObjectAttributes... p0); + GetObjectAttributesRequest.Builder objectAttributesWithStrings(Collection p0); + GetObjectAttributesRequest.Builder objectAttributesWithStrings(String... p0); + GetObjectAttributesRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetObjectAttributesRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + GetObjectAttributesRequest.Builder partNumberMarker(Integer p0); + GetObjectAttributesRequest.Builder requestPayer(RequestPayer p0); + GetObjectAttributesRequest.Builder requestPayer(String p0); + GetObjectAttributesRequest.Builder sseCustomerAlgorithm(String p0); + GetObjectAttributesRequest.Builder sseCustomerKey(String p0); + GetObjectAttributesRequest.Builder sseCustomerKeyMD5(String p0); + GetObjectAttributesRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesResponse.java new file mode 100644 index 000000000000..eb2fb07528ed --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectAttributesResponse.java @@ -0,0 +1,58 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectAttributesResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Checksum; +import software.amazon.awssdk.services.s3.model.GetObjectAttributesParts; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectAttributesResponse extends S3Response implements ToCopyableBuilder +{ + protected GetObjectAttributesResponse() {} + public GetObjectAttributesResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean deleteMarker(){ return null; } + public final Checksum checksum(){ return null; } + public final GetObjectAttributesParts objectParts(){ return null; } + public final Instant lastModified(){ return null; } + public final List> sdkFields(){ return null; } + public final Long objectSize(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String eTag(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectAttributesResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetObjectAttributesResponse.Builder checksum(Checksum p0); + GetObjectAttributesResponse.Builder deleteMarker(Boolean p0); + GetObjectAttributesResponse.Builder eTag(String p0); + GetObjectAttributesResponse.Builder lastModified(Instant p0); + GetObjectAttributesResponse.Builder objectParts(GetObjectAttributesParts p0); + GetObjectAttributesResponse.Builder objectSize(Long p0); + GetObjectAttributesResponse.Builder requestCharged(RequestCharged p0); + GetObjectAttributesResponse.Builder requestCharged(String p0); + GetObjectAttributesResponse.Builder storageClass(StorageClass p0); + GetObjectAttributesResponse.Builder storageClass(String p0); + GetObjectAttributesResponse.Builder versionId(String p0); + default GetObjectAttributesResponse.Builder checksum(java.util.function.Consumer p0){ return null; } + default GetObjectAttributesResponse.Builder objectParts(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLegalHoldRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLegalHoldRequest.java new file mode 100644 index 000000000000..60386a9286e6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLegalHoldRequest.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectLegalHoldRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectLegalHoldRequest extends S3Request implements ToCopyableBuilder +{ + protected GetObjectLegalHoldRequest() {} + public GetObjectLegalHoldRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectLegalHoldRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetObjectLegalHoldRequest.Builder bucket(String p0); + GetObjectLegalHoldRequest.Builder expectedBucketOwner(String p0); + GetObjectLegalHoldRequest.Builder key(String p0); + GetObjectLegalHoldRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetObjectLegalHoldRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + GetObjectLegalHoldRequest.Builder requestPayer(RequestPayer p0); + GetObjectLegalHoldRequest.Builder requestPayer(String p0); + GetObjectLegalHoldRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLegalHoldResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLegalHoldResponse.java new file mode 100644 index 000000000000..2278e6b5d920 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLegalHoldResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectLegalHoldResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHold; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectLegalHoldResponse extends S3Response implements ToCopyableBuilder +{ + protected GetObjectLegalHoldResponse() {} + public GetObjectLegalHoldResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockLegalHold legalHold(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectLegalHoldResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetObjectLegalHoldResponse.Builder legalHold(ObjectLockLegalHold p0); + default GetObjectLegalHoldResponse.Builder legalHold(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLockConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLockConfigurationRequest.java new file mode 100644 index 000000000000..c3d62c97645e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLockConfigurationRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectLockConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectLockConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected GetObjectLockConfigurationRequest() {} + public GetObjectLockConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectLockConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetObjectLockConfigurationRequest.Builder bucket(String p0); + GetObjectLockConfigurationRequest.Builder expectedBucketOwner(String p0); + GetObjectLockConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetObjectLockConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLockConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLockConfigurationResponse.java new file mode 100644 index 000000000000..1541d0b361b3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectLockConfigurationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectLockConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectLockConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected GetObjectLockConfigurationResponse() {} + public GetObjectLockConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockConfiguration objectLockConfiguration(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectLockConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetObjectLockConfigurationResponse.Builder objectLockConfiguration(ObjectLockConfiguration p0); + default GetObjectLockConfigurationResponse.Builder objectLockConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRequest.java new file mode 100644 index 000000000000..1eb1f4fd7c67 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRequest.java @@ -0,0 +1,81 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumMode; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectRequest extends S3Request implements ToCopyableBuilder +{ + protected GetObjectRequest() {} + public GetObjectRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumMode checksumMode(){ return null; } + public final Instant ifModifiedSince(){ return null; } + public final Instant ifUnmodifiedSince(){ return null; } + public final Instant responseExpires(){ return null; } + public final Integer partNumber(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumModeAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String ifMatch(){ return null; } + public final String ifNoneMatch(){ return null; } + public final String key(){ return null; } + public final String range(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String responseCacheControl(){ return null; } + public final String responseContentDisposition(){ return null; } + public final String responseContentEncoding(){ return null; } + public final String responseContentLanguage(){ return null; } + public final String responseContentType(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetObjectRequest.Builder bucket(String p0); + GetObjectRequest.Builder checksumMode(ChecksumMode p0); + GetObjectRequest.Builder checksumMode(String p0); + GetObjectRequest.Builder expectedBucketOwner(String p0); + GetObjectRequest.Builder ifMatch(String p0); + GetObjectRequest.Builder ifModifiedSince(Instant p0); + GetObjectRequest.Builder ifNoneMatch(String p0); + GetObjectRequest.Builder ifUnmodifiedSince(Instant p0); + GetObjectRequest.Builder key(String p0); + GetObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetObjectRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + GetObjectRequest.Builder partNumber(Integer p0); + GetObjectRequest.Builder range(String p0); + GetObjectRequest.Builder requestPayer(RequestPayer p0); + GetObjectRequest.Builder requestPayer(String p0); + GetObjectRequest.Builder responseCacheControl(String p0); + GetObjectRequest.Builder responseContentDisposition(String p0); + GetObjectRequest.Builder responseContentEncoding(String p0); + GetObjectRequest.Builder responseContentLanguage(String p0); + GetObjectRequest.Builder responseContentType(String p0); + GetObjectRequest.Builder responseExpires(Instant p0); + GetObjectRequest.Builder sseCustomerAlgorithm(String p0); + GetObjectRequest.Builder sseCustomerKey(String p0); + GetObjectRequest.Builder sseCustomerKeyMD5(String p0); + GetObjectRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectResponse.java new file mode 100644 index 000000000000..cda76afb1a69 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectResponse.java @@ -0,0 +1,119 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHoldStatus; +import software.amazon.awssdk.services.s3.model.ObjectLockMode; +import software.amazon.awssdk.services.s3.model.ReplicationStatus; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectResponse extends S3Response implements ToCopyableBuilder +{ + protected GetObjectResponse() {} + public GetObjectResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final Boolean deleteMarker(){ return null; } + public final Instant expires(){ return null; } + public final Instant lastModified(){ return null; } + public final Instant objectLockRetainUntilDate(){ return null; } + public final Integer missingMeta(){ return null; } + public final Integer partsCount(){ return null; } + public final Integer tagCount(){ return null; } + public final List> sdkFields(){ return null; } + public final Long contentLength(){ return null; } + public final Map metadata(){ return null; } + public final ObjectLockLegalHoldStatus objectLockLegalHoldStatus(){ return null; } + public final ObjectLockMode objectLockMode(){ return null; } + public final ReplicationStatus replicationStatus(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String acceptRanges(){ return null; } + public final String cacheControl(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String contentDisposition(){ return null; } + public final String contentEncoding(){ return null; } + public final String contentLanguage(){ return null; } + public final String contentRange(){ return null; } + public final String contentType(){ return null; } + public final String eTag(){ return null; } + public final String expiration(){ return null; } + public final String objectLockLegalHoldStatusAsString(){ return null; } + public final String objectLockModeAsString(){ return null; } + public final String replicationStatusAsString(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String restore(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final String websiteRedirectLocation(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasMetadata(){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetObjectResponse.Builder acceptRanges(String p0); + GetObjectResponse.Builder bucketKeyEnabled(Boolean p0); + GetObjectResponse.Builder cacheControl(String p0); + GetObjectResponse.Builder checksumCRC32(String p0); + GetObjectResponse.Builder checksumCRC32C(String p0); + GetObjectResponse.Builder checksumSHA1(String p0); + GetObjectResponse.Builder checksumSHA256(String p0); + GetObjectResponse.Builder contentDisposition(String p0); + GetObjectResponse.Builder contentEncoding(String p0); + GetObjectResponse.Builder contentLanguage(String p0); + GetObjectResponse.Builder contentLength(Long p0); + GetObjectResponse.Builder contentRange(String p0); + GetObjectResponse.Builder contentType(String p0); + GetObjectResponse.Builder deleteMarker(Boolean p0); + GetObjectResponse.Builder eTag(String p0); + GetObjectResponse.Builder expiration(String p0); + GetObjectResponse.Builder expires(Instant p0); + GetObjectResponse.Builder lastModified(Instant p0); + GetObjectResponse.Builder metadata(Map p0); + GetObjectResponse.Builder missingMeta(Integer p0); + GetObjectResponse.Builder objectLockLegalHoldStatus(ObjectLockLegalHoldStatus p0); + GetObjectResponse.Builder objectLockLegalHoldStatus(String p0); + GetObjectResponse.Builder objectLockMode(ObjectLockMode p0); + GetObjectResponse.Builder objectLockMode(String p0); + GetObjectResponse.Builder objectLockRetainUntilDate(Instant p0); + GetObjectResponse.Builder partsCount(Integer p0); + GetObjectResponse.Builder replicationStatus(ReplicationStatus p0); + GetObjectResponse.Builder replicationStatus(String p0); + GetObjectResponse.Builder requestCharged(RequestCharged p0); + GetObjectResponse.Builder requestCharged(String p0); + GetObjectResponse.Builder restore(String p0); + GetObjectResponse.Builder serverSideEncryption(ServerSideEncryption p0); + GetObjectResponse.Builder serverSideEncryption(String p0); + GetObjectResponse.Builder sseCustomerAlgorithm(String p0); + GetObjectResponse.Builder sseCustomerKeyMD5(String p0); + GetObjectResponse.Builder ssekmsKeyId(String p0); + GetObjectResponse.Builder storageClass(StorageClass p0); + GetObjectResponse.Builder storageClass(String p0); + GetObjectResponse.Builder tagCount(Integer p0); + GetObjectResponse.Builder versionId(String p0); + GetObjectResponse.Builder websiteRedirectLocation(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRetentionRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRetentionRequest.java new file mode 100644 index 000000000000..71b264b24109 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRetentionRequest.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectRetentionRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectRetentionRequest extends S3Request implements ToCopyableBuilder +{ + protected GetObjectRetentionRequest() {} + public GetObjectRetentionRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectRetentionRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetObjectRetentionRequest.Builder bucket(String p0); + GetObjectRetentionRequest.Builder expectedBucketOwner(String p0); + GetObjectRetentionRequest.Builder key(String p0); + GetObjectRetentionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetObjectRetentionRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + GetObjectRetentionRequest.Builder requestPayer(RequestPayer p0); + GetObjectRetentionRequest.Builder requestPayer(String p0); + GetObjectRetentionRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRetentionResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRetentionResponse.java new file mode 100644 index 000000000000..71d0cb460687 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectRetentionResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectRetentionResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockRetention; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectRetentionResponse extends S3Response implements ToCopyableBuilder +{ + protected GetObjectRetentionResponse() {} + public GetObjectRetentionResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockRetention retention(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectRetentionResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetObjectRetentionResponse.Builder retention(ObjectLockRetention p0); + default GetObjectRetentionResponse.Builder retention(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTaggingRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTaggingRequest.java new file mode 100644 index 000000000000..4599a0713abb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTaggingRequest.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectTaggingRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectTaggingRequest extends S3Request implements ToCopyableBuilder +{ + protected GetObjectTaggingRequest() {} + public GetObjectTaggingRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectTaggingRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetObjectTaggingRequest.Builder bucket(String p0); + GetObjectTaggingRequest.Builder expectedBucketOwner(String p0); + GetObjectTaggingRequest.Builder key(String p0); + GetObjectTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetObjectTaggingRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + GetObjectTaggingRequest.Builder requestPayer(RequestPayer p0); + GetObjectTaggingRequest.Builder requestPayer(String p0); + GetObjectTaggingRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTaggingResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTaggingResponse.java new file mode 100644 index 000000000000..f9e1574fdbf4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTaggingResponse.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectTaggingResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectTaggingResponse extends S3Response implements ToCopyableBuilder +{ + protected GetObjectTaggingResponse() {} + public GetObjectTaggingResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List tagSet(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTagSet(){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectTaggingResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetObjectTaggingResponse.Builder tagSet(Collection p0); + GetObjectTaggingResponse.Builder tagSet(Tag... p0); + GetObjectTaggingResponse.Builder tagSet(java.util.function.Consumer... p0); + GetObjectTaggingResponse.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTorrentRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTorrentRequest.java new file mode 100644 index 000000000000..b72085ecbf3c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTorrentRequest.java @@ -0,0 +1,43 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectTorrentRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectTorrentRequest extends S3Request implements ToCopyableBuilder +{ + protected GetObjectTorrentRequest() {} + public GetObjectTorrentRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectTorrentRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetObjectTorrentRequest.Builder bucket(String p0); + GetObjectTorrentRequest.Builder expectedBucketOwner(String p0); + GetObjectTorrentRequest.Builder key(String p0); + GetObjectTorrentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetObjectTorrentRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + GetObjectTorrentRequest.Builder requestPayer(RequestPayer p0); + GetObjectTorrentRequest.Builder requestPayer(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTorrentResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTorrentResponse.java new file mode 100644 index 000000000000..baaabf572009 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetObjectTorrentResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetObjectTorrentResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetObjectTorrentResponse extends S3Response implements ToCopyableBuilder +{ + protected GetObjectTorrentResponse() {} + public GetObjectTorrentResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetObjectTorrentResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetObjectTorrentResponse.Builder requestCharged(RequestCharged p0); + GetObjectTorrentResponse.Builder requestCharged(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetPublicAccessBlockRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetPublicAccessBlockRequest.java new file mode 100644 index 000000000000..0738f29e3ea5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetPublicAccessBlockRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetPublicAccessBlockRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetPublicAccessBlockRequest extends S3Request implements ToCopyableBuilder +{ + protected GetPublicAccessBlockRequest() {} + public GetPublicAccessBlockRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetPublicAccessBlockRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + GetPublicAccessBlockRequest.Builder bucket(String p0); + GetPublicAccessBlockRequest.Builder expectedBucketOwner(String p0); + GetPublicAccessBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + GetPublicAccessBlockRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetPublicAccessBlockResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetPublicAccessBlockResponse.java new file mode 100644 index 000000000000..fd59eb98cc8a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetPublicAccessBlockResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetPublicAccessBlockResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.PublicAccessBlockConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetPublicAccessBlockResponse extends S3Response implements ToCopyableBuilder +{ + protected GetPublicAccessBlockResponse() {} + public GetPublicAccessBlockResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final PublicAccessBlockConfiguration publicAccessBlockConfiguration(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GetPublicAccessBlockResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + GetPublicAccessBlockResponse.Builder publicAccessBlockConfiguration(PublicAccessBlockConfiguration p0); + default GetPublicAccessBlockResponse.Builder publicAccessBlockConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetUrlRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetUrlRequest.java new file mode 100644 index 000000000000..5f91d9012856 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GetUrlRequest.java @@ -0,0 +1,34 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GetUrlRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.net.URI; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.regions.Region; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GetUrlRequest implements SdkPojo, ToCopyableBuilder +{ + protected GetUrlRequest() {} + public java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public GetUrlRequest.Builder toBuilder(){ return null; } + public List> sdkFields(){ return null; } + public Region region(){ return null; } + public String bucket(){ return null; } + public String key(){ return null; } + public String versionId(){ return null; } + public URI endpoint(){ return null; } + public static GetUrlRequest.Builder builder(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + GetUrlRequest.Builder bucket(String p0); + GetUrlRequest.Builder endpoint(URI p0); + GetUrlRequest.Builder key(String p0); + GetUrlRequest.Builder region(Region p0); + GetUrlRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GlacierJobParameters.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GlacierJobParameters.java new file mode 100644 index 000000000000..85724f00f670 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/GlacierJobParameters.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.GlacierJobParameters for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Tier; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class GlacierJobParameters implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected GlacierJobParameters() {} + public GlacierJobParameters.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String tierAsString(){ return null; } + public final String toString(){ return null; } + public final Tier tier(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static GlacierJobParameters.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + GlacierJobParameters.Builder tier(String p0); + GlacierJobParameters.Builder tier(Tier p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Grant.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Grant.java new file mode 100644 index 000000000000..bc4c387b9e82 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Grant.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Grant for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Grantee; +import software.amazon.awssdk.services.s3.model.Permission; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Grant implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Grant() {} + public Grant.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Grantee grantee(){ return null; } + public final List> sdkFields(){ return null; } + public final Permission permission(){ return null; } + public final String permissionAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Grant.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Grant.Builder grantee(Grantee p0); + Grant.Builder permission(Permission p0); + Grant.Builder permission(String p0); + default Grant.Builder grantee(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Grantee.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Grantee.java new file mode 100644 index 000000000000..9011aa687a00 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Grantee.java @@ -0,0 +1,41 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Grantee for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Type; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Grantee implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Grantee() {} + public Grantee.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String displayName(){ return null; } + public final String emailAddress(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final String typeAsString(){ return null; } + public final String uri(){ return null; } + public final Type type(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Grantee.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Grantee.Builder displayName(String p0); + Grantee.Builder emailAddress(String p0); + Grantee.Builder id(String p0); + Grantee.Builder type(String p0); + Grantee.Builder type(Type p0); + Grantee.Builder uri(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadBucketRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadBucketRequest.java new file mode 100644 index 000000000000..8eb55ad88cb1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadBucketRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.HeadBucketRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class HeadBucketRequest extends S3Request implements ToCopyableBuilder +{ + protected HeadBucketRequest() {} + public HeadBucketRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static HeadBucketRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + HeadBucketRequest.Builder bucket(String p0); + HeadBucketRequest.Builder expectedBucketOwner(String p0); + HeadBucketRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + HeadBucketRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadBucketResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadBucketResponse.java new file mode 100644 index 000000000000..707dc3bd18ba --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadBucketResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.HeadBucketResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class HeadBucketResponse extends S3Response implements ToCopyableBuilder +{ + protected HeadBucketResponse() {} + public HeadBucketResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static HeadBucketResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadObjectRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadObjectRequest.java new file mode 100644 index 000000000000..acb561141c91 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadObjectRequest.java @@ -0,0 +1,69 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.HeadObjectRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumMode; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class HeadObjectRequest extends S3Request implements ToCopyableBuilder +{ + protected HeadObjectRequest() {} + public HeadObjectRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumMode checksumMode(){ return null; } + public final Instant ifModifiedSince(){ return null; } + public final Instant ifUnmodifiedSince(){ return null; } + public final Integer partNumber(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumModeAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String ifMatch(){ return null; } + public final String ifNoneMatch(){ return null; } + public final String key(){ return null; } + public final String range(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static HeadObjectRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + HeadObjectRequest.Builder bucket(String p0); + HeadObjectRequest.Builder checksumMode(ChecksumMode p0); + HeadObjectRequest.Builder checksumMode(String p0); + HeadObjectRequest.Builder expectedBucketOwner(String p0); + HeadObjectRequest.Builder ifMatch(String p0); + HeadObjectRequest.Builder ifModifiedSince(Instant p0); + HeadObjectRequest.Builder ifNoneMatch(String p0); + HeadObjectRequest.Builder ifUnmodifiedSince(Instant p0); + HeadObjectRequest.Builder key(String p0); + HeadObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + HeadObjectRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + HeadObjectRequest.Builder partNumber(Integer p0); + HeadObjectRequest.Builder range(String p0); + HeadObjectRequest.Builder requestPayer(RequestPayer p0); + HeadObjectRequest.Builder requestPayer(String p0); + HeadObjectRequest.Builder sseCustomerAlgorithm(String p0); + HeadObjectRequest.Builder sseCustomerKey(String p0); + HeadObjectRequest.Builder sseCustomerKeyMD5(String p0); + HeadObjectRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadObjectResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadObjectResponse.java new file mode 100644 index 000000000000..257dd9ad6dd7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/HeadObjectResponse.java @@ -0,0 +1,120 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.HeadObjectResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ArchiveStatus; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHoldStatus; +import software.amazon.awssdk.services.s3.model.ObjectLockMode; +import software.amazon.awssdk.services.s3.model.ReplicationStatus; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class HeadObjectResponse extends S3Response implements ToCopyableBuilder +{ + protected HeadObjectResponse() {} + public HeadObjectResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ArchiveStatus archiveStatus(){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final Boolean deleteMarker(){ return null; } + public final Instant expires(){ return null; } + public final Instant lastModified(){ return null; } + public final Instant objectLockRetainUntilDate(){ return null; } + public final Integer missingMeta(){ return null; } + public final Integer partsCount(){ return null; } + public final List> sdkFields(){ return null; } + public final Long contentLength(){ return null; } + public final Map metadata(){ return null; } + public final ObjectLockLegalHoldStatus objectLockLegalHoldStatus(){ return null; } + public final ObjectLockMode objectLockMode(){ return null; } + public final ReplicationStatus replicationStatus(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String acceptRanges(){ return null; } + public final String archiveStatusAsString(){ return null; } + public final String cacheControl(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String contentDisposition(){ return null; } + public final String contentEncoding(){ return null; } + public final String contentLanguage(){ return null; } + public final String contentType(){ return null; } + public final String eTag(){ return null; } + public final String expiration(){ return null; } + public final String objectLockLegalHoldStatusAsString(){ return null; } + public final String objectLockModeAsString(){ return null; } + public final String replicationStatusAsString(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String restore(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final String websiteRedirectLocation(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasMetadata(){ return false; } + public final int hashCode(){ return 0; } + public static HeadObjectResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + HeadObjectResponse.Builder acceptRanges(String p0); + HeadObjectResponse.Builder archiveStatus(ArchiveStatus p0); + HeadObjectResponse.Builder archiveStatus(String p0); + HeadObjectResponse.Builder bucketKeyEnabled(Boolean p0); + HeadObjectResponse.Builder cacheControl(String p0); + HeadObjectResponse.Builder checksumCRC32(String p0); + HeadObjectResponse.Builder checksumCRC32C(String p0); + HeadObjectResponse.Builder checksumSHA1(String p0); + HeadObjectResponse.Builder checksumSHA256(String p0); + HeadObjectResponse.Builder contentDisposition(String p0); + HeadObjectResponse.Builder contentEncoding(String p0); + HeadObjectResponse.Builder contentLanguage(String p0); + HeadObjectResponse.Builder contentLength(Long p0); + HeadObjectResponse.Builder contentType(String p0); + HeadObjectResponse.Builder deleteMarker(Boolean p0); + HeadObjectResponse.Builder eTag(String p0); + HeadObjectResponse.Builder expiration(String p0); + HeadObjectResponse.Builder expires(Instant p0); + HeadObjectResponse.Builder lastModified(Instant p0); + HeadObjectResponse.Builder metadata(Map p0); + HeadObjectResponse.Builder missingMeta(Integer p0); + HeadObjectResponse.Builder objectLockLegalHoldStatus(ObjectLockLegalHoldStatus p0); + HeadObjectResponse.Builder objectLockLegalHoldStatus(String p0); + HeadObjectResponse.Builder objectLockMode(ObjectLockMode p0); + HeadObjectResponse.Builder objectLockMode(String p0); + HeadObjectResponse.Builder objectLockRetainUntilDate(Instant p0); + HeadObjectResponse.Builder partsCount(Integer p0); + HeadObjectResponse.Builder replicationStatus(ReplicationStatus p0); + HeadObjectResponse.Builder replicationStatus(String p0); + HeadObjectResponse.Builder requestCharged(RequestCharged p0); + HeadObjectResponse.Builder requestCharged(String p0); + HeadObjectResponse.Builder restore(String p0); + HeadObjectResponse.Builder serverSideEncryption(ServerSideEncryption p0); + HeadObjectResponse.Builder serverSideEncryption(String p0); + HeadObjectResponse.Builder sseCustomerAlgorithm(String p0); + HeadObjectResponse.Builder sseCustomerKeyMD5(String p0); + HeadObjectResponse.Builder ssekmsKeyId(String p0); + HeadObjectResponse.Builder storageClass(StorageClass p0); + HeadObjectResponse.Builder storageClass(String p0); + HeadObjectResponse.Builder versionId(String p0); + HeadObjectResponse.Builder websiteRedirectLocation(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IndexDocument.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IndexDocument.java new file mode 100644 index 000000000000..7938988a573a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IndexDocument.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.IndexDocument for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class IndexDocument implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected IndexDocument() {} + public IndexDocument.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String suffix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static IndexDocument.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + IndexDocument.Builder suffix(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Initiator.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Initiator.java new file mode 100644 index 000000000000..fa12bff77ae0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Initiator.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Initiator for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Initiator implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Initiator() {} + public Initiator.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String displayName(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Initiator.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Initiator.Builder displayName(String p0); + Initiator.Builder id(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InputSerialization.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InputSerialization.java new file mode 100644 index 000000000000..33caa893f4c5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InputSerialization.java @@ -0,0 +1,46 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InputSerialization for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CSVInput; +import software.amazon.awssdk.services.s3.model.CompressionType; +import software.amazon.awssdk.services.s3.model.JSONInput; +import software.amazon.awssdk.services.s3.model.ParquetInput; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class InputSerialization implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected InputSerialization() {} + public InputSerialization.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final CSVInput csv(){ return null; } + public final CompressionType compressionType(){ return null; } + public final JSONInput json(){ return null; } + public final List> sdkFields(){ return null; } + public final ParquetInput parquet(){ return null; } + public final String compressionTypeAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static InputSerialization.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + InputSerialization.Builder compressionType(CompressionType p0); + InputSerialization.Builder compressionType(String p0); + InputSerialization.Builder csv(CSVInput p0); + InputSerialization.Builder json(JSONInput p0); + InputSerialization.Builder parquet(ParquetInput p0); + default InputSerialization.Builder csv(java.util.function.Consumer p0){ return null; } + default InputSerialization.Builder json(java.util.function.Consumer p0){ return null; } + default InputSerialization.Builder parquet(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringAccessTier.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringAccessTier.java new file mode 100644 index 000000000000..92ec7841b8cb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringAccessTier.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.IntelligentTieringAccessTier for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum IntelligentTieringAccessTier +{ + ARCHIVE_ACCESS, DEEP_ARCHIVE_ACCESS, UNKNOWN_TO_SDK_VERSION; + private IntelligentTieringAccessTier() {} + public String toString(){ return null; } + public static IntelligentTieringAccessTier fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringAndOperator.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringAndOperator.java new file mode 100644 index 000000000000..2b906bd39218 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringAndOperator.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.IntelligentTieringAndOperator for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class IntelligentTieringAndOperator implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected IntelligentTieringAndOperator() {} + public IntelligentTieringAndOperator.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List tags(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTags(){ return false; } + public final int hashCode(){ return 0; } + public static IntelligentTieringAndOperator.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + IntelligentTieringAndOperator.Builder prefix(String p0); + IntelligentTieringAndOperator.Builder tags(Collection p0); + IntelligentTieringAndOperator.Builder tags(Tag... p0); + IntelligentTieringAndOperator.Builder tags(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringConfiguration.java new file mode 100644 index 000000000000..ee94e134f27f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringConfiguration.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.IntelligentTieringConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.IntelligentTieringFilter; +import software.amazon.awssdk.services.s3.model.IntelligentTieringStatus; +import software.amazon.awssdk.services.s3.model.Tiering; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class IntelligentTieringConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected IntelligentTieringConfiguration() {} + public IntelligentTieringConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final IntelligentTieringFilter filter(){ return null; } + public final IntelligentTieringStatus status(){ return null; } + public final List> sdkFields(){ return null; } + public final List tierings(){ return null; } + public final String id(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTierings(){ return false; } + public final int hashCode(){ return 0; } + public static IntelligentTieringConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + IntelligentTieringConfiguration.Builder filter(IntelligentTieringFilter p0); + IntelligentTieringConfiguration.Builder id(String p0); + IntelligentTieringConfiguration.Builder status(IntelligentTieringStatus p0); + IntelligentTieringConfiguration.Builder status(String p0); + IntelligentTieringConfiguration.Builder tierings(Collection p0); + IntelligentTieringConfiguration.Builder tierings(Tiering... p0); + IntelligentTieringConfiguration.Builder tierings(java.util.function.Consumer... p0); + default IntelligentTieringConfiguration.Builder filter(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringFilter.java new file mode 100644 index 000000000000..ade1f1179e95 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringFilter.java @@ -0,0 +1,39 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.IntelligentTieringFilter for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.IntelligentTieringAndOperator; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class IntelligentTieringFilter implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected IntelligentTieringFilter() {} + public IntelligentTieringFilter.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final IntelligentTieringAndOperator and(){ return null; } + public final List> sdkFields(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final Tag tag(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static IntelligentTieringFilter.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + IntelligentTieringFilter.Builder and(IntelligentTieringAndOperator p0); + IntelligentTieringFilter.Builder prefix(String p0); + IntelligentTieringFilter.Builder tag(Tag p0); + default IntelligentTieringFilter.Builder and(java.util.function.Consumer p0){ return null; } + default IntelligentTieringFilter.Builder tag(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringStatus.java new file mode 100644 index 000000000000..bd5f4e8fd340 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/IntelligentTieringStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.IntelligentTieringStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum IntelligentTieringStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private IntelligentTieringStatus() {} + public String toString(){ return null; } + public static IntelligentTieringStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryConfiguration.java new file mode 100644 index 000000000000..07b8afae8484 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryConfiguration.java @@ -0,0 +1,59 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.InventoryDestination; +import software.amazon.awssdk.services.s3.model.InventoryFilter; +import software.amazon.awssdk.services.s3.model.InventoryIncludedObjectVersions; +import software.amazon.awssdk.services.s3.model.InventoryOptionalField; +import software.amazon.awssdk.services.s3.model.InventorySchedule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class InventoryConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected InventoryConfiguration() {} + public InventoryConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isEnabled(){ return null; } + public final InventoryDestination destination(){ return null; } + public final InventoryFilter filter(){ return null; } + public final InventoryIncludedObjectVersions includedObjectVersions(){ return null; } + public final InventorySchedule schedule(){ return null; } + public final List optionalFields(){ return null; } + public final List> sdkFields(){ return null; } + public final List optionalFieldsAsStrings(){ return null; } + public final String id(){ return null; } + public final String includedObjectVersionsAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasOptionalFields(){ return false; } + public final int hashCode(){ return 0; } + public static InventoryConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + InventoryConfiguration.Builder destination(InventoryDestination p0); + InventoryConfiguration.Builder filter(InventoryFilter p0); + InventoryConfiguration.Builder id(String p0); + InventoryConfiguration.Builder includedObjectVersions(InventoryIncludedObjectVersions p0); + InventoryConfiguration.Builder includedObjectVersions(String p0); + InventoryConfiguration.Builder isEnabled(Boolean p0); + InventoryConfiguration.Builder optionalFields(Collection p0); + InventoryConfiguration.Builder optionalFields(InventoryOptionalField... p0); + InventoryConfiguration.Builder optionalFieldsWithStrings(Collection p0); + InventoryConfiguration.Builder optionalFieldsWithStrings(String... p0); + InventoryConfiguration.Builder schedule(InventorySchedule p0); + default InventoryConfiguration.Builder destination(java.util.function.Consumer p0){ return null; } + default InventoryConfiguration.Builder filter(java.util.function.Consumer p0){ return null; } + default InventoryConfiguration.Builder schedule(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryDestination.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryDestination.java new file mode 100644 index 000000000000..ba6dfc466ec0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryDestination.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryDestination for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.InventoryS3BucketDestination; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class InventoryDestination implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected InventoryDestination() {} + public InventoryDestination.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final InventoryS3BucketDestination s3BucketDestination(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static InventoryDestination.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + InventoryDestination.Builder s3BucketDestination(InventoryS3BucketDestination p0); + default InventoryDestination.Builder s3BucketDestination(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryEncryption.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryEncryption.java new file mode 100644 index 000000000000..af68ee0bf933 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryEncryption.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryEncryption for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.SSEKMS; +import software.amazon.awssdk.services.s3.model.SSES3; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class InventoryEncryption implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected InventoryEncryption() {} + public InventoryEncryption.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final SSEKMS ssekms(){ return null; } + public final SSES3 sses3(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static InventoryEncryption.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + InventoryEncryption.Builder ssekms(SSEKMS p0); + InventoryEncryption.Builder sses3(SSES3 p0); + default InventoryEncryption.Builder ssekms(java.util.function.Consumer p0){ return null; } + default InventoryEncryption.Builder sses3(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFilter.java new file mode 100644 index 000000000000..913fdb2d2f31 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFilter.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryFilter for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class InventoryFilter implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected InventoryFilter() {} + public InventoryFilter.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static InventoryFilter.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + InventoryFilter.Builder prefix(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFormat.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFormat.java new file mode 100644 index 000000000000..c3c6ee71e74d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFormat.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryFormat for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum InventoryFormat +{ + CSV, ORC, PARQUET, UNKNOWN_TO_SDK_VERSION; + private InventoryFormat() {} + public String toString(){ return null; } + public static InventoryFormat fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFrequency.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFrequency.java new file mode 100644 index 000000000000..deda7e92e27d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryFrequency.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryFrequency for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum InventoryFrequency +{ + DAILY, UNKNOWN_TO_SDK_VERSION, WEEKLY; + private InventoryFrequency() {} + public String toString(){ return null; } + public static InventoryFrequency fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryIncludedObjectVersions.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryIncludedObjectVersions.java new file mode 100644 index 000000000000..cfc6c6a8cf35 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryIncludedObjectVersions.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryIncludedObjectVersions for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum InventoryIncludedObjectVersions +{ + ALL, CURRENT, UNKNOWN_TO_SDK_VERSION; + private InventoryIncludedObjectVersions() {} + public String toString(){ return null; } + public static InventoryIncludedObjectVersions fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryOptionalField.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryOptionalField.java new file mode 100644 index 000000000000..ddf5e1a45b65 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryOptionalField.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryOptionalField for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum InventoryOptionalField +{ + BUCKET_KEY_STATUS, CHECKSUM_ALGORITHM, ENCRYPTION_STATUS, E_TAG, INTELLIGENT_TIERING_ACCESS_TIER, IS_MULTIPART_UPLOADED, LAST_MODIFIED_DATE, OBJECT_LOCK_LEGAL_HOLD_STATUS, OBJECT_LOCK_MODE, OBJECT_LOCK_RETAIN_UNTIL_DATE, REPLICATION_STATUS, SIZE, STORAGE_CLASS, UNKNOWN_TO_SDK_VERSION; + private InventoryOptionalField() {} + public String toString(){ return null; } + public static InventoryOptionalField fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryS3BucketDestination.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryS3BucketDestination.java new file mode 100644 index 000000000000..a0e74d5497bf --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventoryS3BucketDestination.java @@ -0,0 +1,44 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventoryS3BucketDestination for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.InventoryEncryption; +import software.amazon.awssdk.services.s3.model.InventoryFormat; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class InventoryS3BucketDestination implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected InventoryS3BucketDestination() {} + public InventoryS3BucketDestination.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final InventoryEncryption encryption(){ return null; } + public final InventoryFormat format(){ return null; } + public final List> sdkFields(){ return null; } + public final String accountId(){ return null; } + public final String bucket(){ return null; } + public final String formatAsString(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static InventoryS3BucketDestination.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + InventoryS3BucketDestination.Builder accountId(String p0); + InventoryS3BucketDestination.Builder bucket(String p0); + InventoryS3BucketDestination.Builder encryption(InventoryEncryption p0); + InventoryS3BucketDestination.Builder format(InventoryFormat p0); + InventoryS3BucketDestination.Builder format(String p0); + InventoryS3BucketDestination.Builder prefix(String p0); + default InventoryS3BucketDestination.Builder encryption(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventorySchedule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventorySchedule.java new file mode 100644 index 000000000000..eb738c70bf6b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/InventorySchedule.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.InventorySchedule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.InventoryFrequency; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class InventorySchedule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected InventorySchedule() {} + public InventorySchedule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final InventoryFrequency frequency(){ return null; } + public final List> sdkFields(){ return null; } + public final String frequencyAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static InventorySchedule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + InventorySchedule.Builder frequency(InventoryFrequency p0); + InventorySchedule.Builder frequency(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONInput.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONInput.java new file mode 100644 index 000000000000..2f03d2c77a1e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONInput.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.JSONInput for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.JSONType; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class JSONInput implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected JSONInput() {} + public JSONInput.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final JSONType type(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final String typeAsString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static JSONInput.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + JSONInput.Builder type(JSONType p0); + JSONInput.Builder type(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONOutput.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONOutput.java new file mode 100644 index 000000000000..6dfb161a9ea1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONOutput.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.JSONOutput for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class JSONOutput implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected JSONOutput() {} + public JSONOutput.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String recordDelimiter(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static JSONOutput.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + JSONOutput.Builder recordDelimiter(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONType.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONType.java new file mode 100644 index 000000000000..1bff69326be3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/JSONType.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.JSONType for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum JSONType +{ + DOCUMENT, LINES, UNKNOWN_TO_SDK_VERSION; + private JSONType() {} + public String toString(){ return null; } + public static JSONType fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LambdaFunctionConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LambdaFunctionConfiguration.java new file mode 100644 index 000000000000..81b010699cbd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LambdaFunctionConfiguration.java @@ -0,0 +1,46 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.LambdaFunctionConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Event; +import software.amazon.awssdk.services.s3.model.NotificationConfigurationFilter; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class LambdaFunctionConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected LambdaFunctionConfiguration() {} + public LambdaFunctionConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List events(){ return null; } + public final List> sdkFields(){ return null; } + public final List eventsAsStrings(){ return null; } + public final NotificationConfigurationFilter filter(){ return null; } + public final String id(){ return null; } + public final String lambdaFunctionArn(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasEvents(){ return false; } + public final int hashCode(){ return 0; } + public static LambdaFunctionConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + LambdaFunctionConfiguration.Builder events(Collection p0); + LambdaFunctionConfiguration.Builder events(Event... p0); + LambdaFunctionConfiguration.Builder eventsWithStrings(Collection p0); + LambdaFunctionConfiguration.Builder eventsWithStrings(String... p0); + LambdaFunctionConfiguration.Builder filter(NotificationConfigurationFilter p0); + LambdaFunctionConfiguration.Builder id(String p0); + LambdaFunctionConfiguration.Builder lambdaFunctionArn(String p0); + default LambdaFunctionConfiguration.Builder filter(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleExpiration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleExpiration.java new file mode 100644 index 000000000000..f32852e69f12 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleExpiration.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.LifecycleExpiration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class LifecycleExpiration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected LifecycleExpiration() {} + public LifecycleExpiration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean expiredObjectDeleteMarker(){ return null; } + public final Instant date(){ return null; } + public final Integer days(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static LifecycleExpiration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + LifecycleExpiration.Builder date(Instant p0); + LifecycleExpiration.Builder days(Integer p0); + LifecycleExpiration.Builder expiredObjectDeleteMarker(Boolean p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRule.java new file mode 100644 index 000000000000..b043e032ee36 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRule.java @@ -0,0 +1,67 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.LifecycleRule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AbortIncompleteMultipartUpload; +import software.amazon.awssdk.services.s3.model.ExpirationStatus; +import software.amazon.awssdk.services.s3.model.LifecycleExpiration; +import software.amazon.awssdk.services.s3.model.LifecycleRuleFilter; +import software.amazon.awssdk.services.s3.model.NoncurrentVersionExpiration; +import software.amazon.awssdk.services.s3.model.NoncurrentVersionTransition; +import software.amazon.awssdk.services.s3.model.Transition; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class LifecycleRule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected LifecycleRule() {} + public LifecycleRule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AbortIncompleteMultipartUpload abortIncompleteMultipartUpload(){ return null; } + public final ExpirationStatus status(){ return null; } + public final LifecycleExpiration expiration(){ return null; } + public final LifecycleRuleFilter filter(){ return null; } + public final List noncurrentVersionTransitions(){ return null; } + public final List> sdkFields(){ return null; } + public final List transitions(){ return null; } + public final NoncurrentVersionExpiration noncurrentVersionExpiration(){ return null; } + public final String id(){ return null; } + public final String prefix(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasNoncurrentVersionTransitions(){ return false; } + public final boolean hasTransitions(){ return false; } + public final int hashCode(){ return 0; } + public static LifecycleRule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + LifecycleRule.Builder abortIncompleteMultipartUpload(AbortIncompleteMultipartUpload p0); + LifecycleRule.Builder expiration(LifecycleExpiration p0); + LifecycleRule.Builder filter(LifecycleRuleFilter p0); + LifecycleRule.Builder id(String p0); + LifecycleRule.Builder noncurrentVersionExpiration(NoncurrentVersionExpiration p0); + LifecycleRule.Builder noncurrentVersionTransitions(Collection p0); + LifecycleRule.Builder noncurrentVersionTransitions(NoncurrentVersionTransition... p0); + LifecycleRule.Builder noncurrentVersionTransitions(java.util.function.Consumer... p0); + LifecycleRule.Builder prefix(String p0); + LifecycleRule.Builder status(ExpirationStatus p0); + LifecycleRule.Builder status(String p0); + LifecycleRule.Builder transitions(Collection p0); + LifecycleRule.Builder transitions(Transition... p0); + LifecycleRule.Builder transitions(java.util.function.Consumer... p0); + default LifecycleRule.Builder abortIncompleteMultipartUpload(java.util.function.Consumer p0){ return null; } + default LifecycleRule.Builder expiration(java.util.function.Consumer p0){ return null; } + default LifecycleRule.Builder filter(java.util.function.Consumer p0){ return null; } + default LifecycleRule.Builder noncurrentVersionExpiration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRuleAndOperator.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRuleAndOperator.java new file mode 100644 index 000000000000..76c563698f18 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRuleAndOperator.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.LifecycleRuleAndOperator for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class LifecycleRuleAndOperator implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected LifecycleRuleAndOperator() {} + public LifecycleRuleAndOperator.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List tags(){ return null; } + public final Long objectSizeGreaterThan(){ return null; } + public final Long objectSizeLessThan(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTags(){ return false; } + public final int hashCode(){ return 0; } + public static LifecycleRuleAndOperator.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + LifecycleRuleAndOperator.Builder objectSizeGreaterThan(Long p0); + LifecycleRuleAndOperator.Builder objectSizeLessThan(Long p0); + LifecycleRuleAndOperator.Builder prefix(String p0); + LifecycleRuleAndOperator.Builder tags(Collection p0); + LifecycleRuleAndOperator.Builder tags(Tag... p0); + LifecycleRuleAndOperator.Builder tags(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRuleFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRuleFilter.java new file mode 100644 index 000000000000..5bc80b791ddf --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LifecycleRuleFilter.java @@ -0,0 +1,56 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.LifecycleRuleFilter for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.LifecycleRuleAndOperator; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class LifecycleRuleFilter implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected LifecycleRuleFilter() {} + public LifecycleRuleFilter.Builder toBuilder(){ return null; } + public LifecycleRuleFilter.Type type(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final LifecycleRuleAndOperator and(){ return null; } + public final List> sdkFields(){ return null; } + public final Long objectSizeGreaterThan(){ return null; } + public final Long objectSizeLessThan(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final Tag tag(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static LifecycleRuleFilter fromAnd(LifecycleRuleAndOperator p0){ return null; } + public static LifecycleRuleFilter fromAnd(java.util.function.Consumer p0){ return null; } + public static LifecycleRuleFilter fromObjectSizeGreaterThan(Long p0){ return null; } + public static LifecycleRuleFilter fromObjectSizeLessThan(Long p0){ return null; } + public static LifecycleRuleFilter fromPrefix(String p0){ return null; } + public static LifecycleRuleFilter fromTag(Tag p0){ return null; } + public static LifecycleRuleFilter fromTag(java.util.function.Consumer p0){ return null; } + public static LifecycleRuleFilter.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public enum Type + { + AND, OBJECT_SIZE_GREATER_THAN, OBJECT_SIZE_LESS_THAN, PREFIX, TAG, UNKNOWN_TO_SDK_VERSION; + private Type() {} + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + LifecycleRuleFilter.Builder and(LifecycleRuleAndOperator p0); + LifecycleRuleFilter.Builder objectSizeGreaterThan(Long p0); + LifecycleRuleFilter.Builder objectSizeLessThan(Long p0); + LifecycleRuleFilter.Builder prefix(String p0); + LifecycleRuleFilter.Builder tag(Tag p0); + default LifecycleRuleFilter.Builder and(java.util.function.Consumer p0){ return null; } + default LifecycleRuleFilter.Builder tag(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketAnalyticsConfigurationsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketAnalyticsConfigurationsRequest.java new file mode 100644 index 000000000000..32ed0769ae92 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketAnalyticsConfigurationsRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketAnalyticsConfigurationsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketAnalyticsConfigurationsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListBucketAnalyticsConfigurationsRequest() {} + public ListBucketAnalyticsConfigurationsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String continuationToken(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketAnalyticsConfigurationsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListBucketAnalyticsConfigurationsRequest.Builder bucket(String p0); + ListBucketAnalyticsConfigurationsRequest.Builder continuationToken(String p0); + ListBucketAnalyticsConfigurationsRequest.Builder expectedBucketOwner(String p0); + ListBucketAnalyticsConfigurationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListBucketAnalyticsConfigurationsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketAnalyticsConfigurationsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketAnalyticsConfigurationsResponse.java new file mode 100644 index 000000000000..8f9f64a1bb5e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketAnalyticsConfigurationsResponse.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketAnalyticsConfigurationsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AnalyticsConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketAnalyticsConfigurationsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListBucketAnalyticsConfigurationsResponse() {} + public ListBucketAnalyticsConfigurationsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final List analyticsConfigurationList(){ return null; } + public final List> sdkFields(){ return null; } + public final String continuationToken(){ return null; } + public final String nextContinuationToken(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasAnalyticsConfigurationList(){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketAnalyticsConfigurationsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListBucketAnalyticsConfigurationsResponse.Builder analyticsConfigurationList(AnalyticsConfiguration... p0); + ListBucketAnalyticsConfigurationsResponse.Builder analyticsConfigurationList(Collection p0); + ListBucketAnalyticsConfigurationsResponse.Builder analyticsConfigurationList(java.util.function.Consumer... p0); + ListBucketAnalyticsConfigurationsResponse.Builder continuationToken(String p0); + ListBucketAnalyticsConfigurationsResponse.Builder isTruncated(Boolean p0); + ListBucketAnalyticsConfigurationsResponse.Builder nextContinuationToken(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketIntelligentTieringConfigurationsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketIntelligentTieringConfigurationsRequest.java new file mode 100644 index 000000000000..e2bb36f69f76 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketIntelligentTieringConfigurationsRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketIntelligentTieringConfigurationsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketIntelligentTieringConfigurationsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListBucketIntelligentTieringConfigurationsRequest() {} + public ListBucketIntelligentTieringConfigurationsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String continuationToken(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketIntelligentTieringConfigurationsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListBucketIntelligentTieringConfigurationsRequest.Builder bucket(String p0); + ListBucketIntelligentTieringConfigurationsRequest.Builder continuationToken(String p0); + ListBucketIntelligentTieringConfigurationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListBucketIntelligentTieringConfigurationsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketIntelligentTieringConfigurationsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketIntelligentTieringConfigurationsResponse.java new file mode 100644 index 000000000000..7854b16e9d41 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketIntelligentTieringConfigurationsResponse.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketIntelligentTieringConfigurationsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.IntelligentTieringConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketIntelligentTieringConfigurationsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListBucketIntelligentTieringConfigurationsResponse() {} + public ListBucketIntelligentTieringConfigurationsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final List intelligentTieringConfigurationList(){ return null; } + public final List> sdkFields(){ return null; } + public final String continuationToken(){ return null; } + public final String nextContinuationToken(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasIntelligentTieringConfigurationList(){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketIntelligentTieringConfigurationsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListBucketIntelligentTieringConfigurationsResponse.Builder continuationToken(String p0); + ListBucketIntelligentTieringConfigurationsResponse.Builder intelligentTieringConfigurationList(Collection p0); + ListBucketIntelligentTieringConfigurationsResponse.Builder intelligentTieringConfigurationList(IntelligentTieringConfiguration... p0); + ListBucketIntelligentTieringConfigurationsResponse.Builder intelligentTieringConfigurationList(java.util.function.Consumer... p0); + ListBucketIntelligentTieringConfigurationsResponse.Builder isTruncated(Boolean p0); + ListBucketIntelligentTieringConfigurationsResponse.Builder nextContinuationToken(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketInventoryConfigurationsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketInventoryConfigurationsRequest.java new file mode 100644 index 000000000000..46eb70182289 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketInventoryConfigurationsRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketInventoryConfigurationsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketInventoryConfigurationsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListBucketInventoryConfigurationsRequest() {} + public ListBucketInventoryConfigurationsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String continuationToken(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketInventoryConfigurationsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListBucketInventoryConfigurationsRequest.Builder bucket(String p0); + ListBucketInventoryConfigurationsRequest.Builder continuationToken(String p0); + ListBucketInventoryConfigurationsRequest.Builder expectedBucketOwner(String p0); + ListBucketInventoryConfigurationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListBucketInventoryConfigurationsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketInventoryConfigurationsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketInventoryConfigurationsResponse.java new file mode 100644 index 000000000000..43be93c79d5b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketInventoryConfigurationsResponse.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketInventoryConfigurationsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.InventoryConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketInventoryConfigurationsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListBucketInventoryConfigurationsResponse() {} + public ListBucketInventoryConfigurationsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final List inventoryConfigurationList(){ return null; } + public final List> sdkFields(){ return null; } + public final String continuationToken(){ return null; } + public final String nextContinuationToken(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasInventoryConfigurationList(){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketInventoryConfigurationsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListBucketInventoryConfigurationsResponse.Builder continuationToken(String p0); + ListBucketInventoryConfigurationsResponse.Builder inventoryConfigurationList(Collection p0); + ListBucketInventoryConfigurationsResponse.Builder inventoryConfigurationList(InventoryConfiguration... p0); + ListBucketInventoryConfigurationsResponse.Builder inventoryConfigurationList(java.util.function.Consumer... p0); + ListBucketInventoryConfigurationsResponse.Builder isTruncated(Boolean p0); + ListBucketInventoryConfigurationsResponse.Builder nextContinuationToken(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketMetricsConfigurationsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketMetricsConfigurationsRequest.java new file mode 100644 index 000000000000..0a008d11547d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketMetricsConfigurationsRequest.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketMetricsConfigurationsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketMetricsConfigurationsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListBucketMetricsConfigurationsRequest() {} + public ListBucketMetricsConfigurationsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String continuationToken(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketMetricsConfigurationsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListBucketMetricsConfigurationsRequest.Builder bucket(String p0); + ListBucketMetricsConfigurationsRequest.Builder continuationToken(String p0); + ListBucketMetricsConfigurationsRequest.Builder expectedBucketOwner(String p0); + ListBucketMetricsConfigurationsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListBucketMetricsConfigurationsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketMetricsConfigurationsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketMetricsConfigurationsResponse.java new file mode 100644 index 000000000000..a5c765154b11 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketMetricsConfigurationsResponse.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketMetricsConfigurationsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.MetricsConfiguration; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketMetricsConfigurationsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListBucketMetricsConfigurationsResponse() {} + public ListBucketMetricsConfigurationsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final List metricsConfigurationList(){ return null; } + public final List> sdkFields(){ return null; } + public final String continuationToken(){ return null; } + public final String nextContinuationToken(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasMetricsConfigurationList(){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketMetricsConfigurationsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListBucketMetricsConfigurationsResponse.Builder continuationToken(String p0); + ListBucketMetricsConfigurationsResponse.Builder isTruncated(Boolean p0); + ListBucketMetricsConfigurationsResponse.Builder metricsConfigurationList(Collection p0); + ListBucketMetricsConfigurationsResponse.Builder metricsConfigurationList(MetricsConfiguration... p0); + ListBucketMetricsConfigurationsResponse.Builder metricsConfigurationList(java.util.function.Consumer... p0); + ListBucketMetricsConfigurationsResponse.Builder nextContinuationToken(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketsRequest.java new file mode 100644 index 000000000000..58b38a769397 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketsRequest.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListBucketsRequest() {} + public ListBucketsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListBucketsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListBucketsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketsResponse.java new file mode 100644 index 000000000000..b7db4cfd3b63 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListBucketsResponse.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListBucketsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Bucket; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListBucketsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListBucketsResponse() {} + public ListBucketsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List buckets(){ return null; } + public final List> sdkFields(){ return null; } + public final Owner owner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasBuckets(){ return false; } + public final int hashCode(){ return 0; } + public static ListBucketsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListBucketsResponse.Builder buckets(Bucket... p0); + ListBucketsResponse.Builder buckets(Collection p0); + ListBucketsResponse.Builder buckets(java.util.function.Consumer... p0); + ListBucketsResponse.Builder owner(Owner p0); + default ListBucketsResponse.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListMultipartUploadsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListMultipartUploadsRequest.java new file mode 100644 index 000000000000..ad2ba50eef98 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListMultipartUploadsRequest.java @@ -0,0 +1,51 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListMultipartUploadsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.EncodingType; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListMultipartUploadsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListMultipartUploadsRequest() {} + public ListMultipartUploadsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final EncodingType encodingType(){ return null; } + public final Integer maxUploads(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String delimiter(){ return null; } + public final String encodingTypeAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String keyMarker(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final String uploadIdMarker(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListMultipartUploadsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListMultipartUploadsRequest.Builder bucket(String p0); + ListMultipartUploadsRequest.Builder delimiter(String p0); + ListMultipartUploadsRequest.Builder encodingType(EncodingType p0); + ListMultipartUploadsRequest.Builder encodingType(String p0); + ListMultipartUploadsRequest.Builder expectedBucketOwner(String p0); + ListMultipartUploadsRequest.Builder keyMarker(String p0); + ListMultipartUploadsRequest.Builder maxUploads(Integer p0); + ListMultipartUploadsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListMultipartUploadsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + ListMultipartUploadsRequest.Builder prefix(String p0); + ListMultipartUploadsRequest.Builder uploadIdMarker(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListMultipartUploadsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListMultipartUploadsResponse.java new file mode 100644 index 000000000000..2b606c179ac3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListMultipartUploadsResponse.java @@ -0,0 +1,65 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListMultipartUploadsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CommonPrefix; +import software.amazon.awssdk.services.s3.model.EncodingType; +import software.amazon.awssdk.services.s3.model.MultipartUpload; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListMultipartUploadsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListMultipartUploadsResponse() {} + public ListMultipartUploadsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final EncodingType encodingType(){ return null; } + public final Integer maxUploads(){ return null; } + public final List commonPrefixes(){ return null; } + public final List uploads(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String delimiter(){ return null; } + public final String encodingTypeAsString(){ return null; } + public final String keyMarker(){ return null; } + public final String nextKeyMarker(){ return null; } + public final String nextUploadIdMarker(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final String uploadIdMarker(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasCommonPrefixes(){ return false; } + public final boolean hasUploads(){ return false; } + public final int hashCode(){ return 0; } + public static ListMultipartUploadsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListMultipartUploadsResponse.Builder bucket(String p0); + ListMultipartUploadsResponse.Builder commonPrefixes(Collection p0); + ListMultipartUploadsResponse.Builder commonPrefixes(CommonPrefix... p0); + ListMultipartUploadsResponse.Builder commonPrefixes(java.util.function.Consumer... p0); + ListMultipartUploadsResponse.Builder delimiter(String p0); + ListMultipartUploadsResponse.Builder encodingType(EncodingType p0); + ListMultipartUploadsResponse.Builder encodingType(String p0); + ListMultipartUploadsResponse.Builder isTruncated(Boolean p0); + ListMultipartUploadsResponse.Builder keyMarker(String p0); + ListMultipartUploadsResponse.Builder maxUploads(Integer p0); + ListMultipartUploadsResponse.Builder nextKeyMarker(String p0); + ListMultipartUploadsResponse.Builder nextUploadIdMarker(String p0); + ListMultipartUploadsResponse.Builder prefix(String p0); + ListMultipartUploadsResponse.Builder uploadIdMarker(String p0); + ListMultipartUploadsResponse.Builder uploads(Collection p0); + ListMultipartUploadsResponse.Builder uploads(MultipartUpload... p0); + ListMultipartUploadsResponse.Builder uploads(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectVersionsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectVersionsRequest.java new file mode 100644 index 000000000000..906cff8e2f2f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectVersionsRequest.java @@ -0,0 +1,51 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListObjectVersionsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.EncodingType; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListObjectVersionsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListObjectVersionsRequest() {} + public ListObjectVersionsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final EncodingType encodingType(){ return null; } + public final Integer maxKeys(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String delimiter(){ return null; } + public final String encodingTypeAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String keyMarker(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final String versionIdMarker(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListObjectVersionsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListObjectVersionsRequest.Builder bucket(String p0); + ListObjectVersionsRequest.Builder delimiter(String p0); + ListObjectVersionsRequest.Builder encodingType(EncodingType p0); + ListObjectVersionsRequest.Builder encodingType(String p0); + ListObjectVersionsRequest.Builder expectedBucketOwner(String p0); + ListObjectVersionsRequest.Builder keyMarker(String p0); + ListObjectVersionsRequest.Builder maxKeys(Integer p0); + ListObjectVersionsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListObjectVersionsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + ListObjectVersionsRequest.Builder prefix(String p0); + ListObjectVersionsRequest.Builder versionIdMarker(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectVersionsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectVersionsResponse.java new file mode 100644 index 000000000000..6897bbd60b36 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectVersionsResponse.java @@ -0,0 +1,71 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListObjectVersionsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CommonPrefix; +import software.amazon.awssdk.services.s3.model.DeleteMarkerEntry; +import software.amazon.awssdk.services.s3.model.EncodingType; +import software.amazon.awssdk.services.s3.model.ObjectVersion; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListObjectVersionsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListObjectVersionsResponse() {} + public ListObjectVersionsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final EncodingType encodingType(){ return null; } + public final Integer maxKeys(){ return null; } + public final List commonPrefixes(){ return null; } + public final List deleteMarkers(){ return null; } + public final List versions(){ return null; } + public final List> sdkFields(){ return null; } + public final String delimiter(){ return null; } + public final String encodingTypeAsString(){ return null; } + public final String keyMarker(){ return null; } + public final String name(){ return null; } + public final String nextKeyMarker(){ return null; } + public final String nextVersionIdMarker(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final String versionIdMarker(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasCommonPrefixes(){ return false; } + public final boolean hasDeleteMarkers(){ return false; } + public final boolean hasVersions(){ return false; } + public final int hashCode(){ return 0; } + public static ListObjectVersionsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListObjectVersionsResponse.Builder commonPrefixes(Collection p0); + ListObjectVersionsResponse.Builder commonPrefixes(CommonPrefix... p0); + ListObjectVersionsResponse.Builder commonPrefixes(java.util.function.Consumer... p0); + ListObjectVersionsResponse.Builder deleteMarkers(Collection p0); + ListObjectVersionsResponse.Builder deleteMarkers(DeleteMarkerEntry... p0); + ListObjectVersionsResponse.Builder deleteMarkers(java.util.function.Consumer... p0); + ListObjectVersionsResponse.Builder delimiter(String p0); + ListObjectVersionsResponse.Builder encodingType(EncodingType p0); + ListObjectVersionsResponse.Builder encodingType(String p0); + ListObjectVersionsResponse.Builder isTruncated(Boolean p0); + ListObjectVersionsResponse.Builder keyMarker(String p0); + ListObjectVersionsResponse.Builder maxKeys(Integer p0); + ListObjectVersionsResponse.Builder name(String p0); + ListObjectVersionsResponse.Builder nextKeyMarker(String p0); + ListObjectVersionsResponse.Builder nextVersionIdMarker(String p0); + ListObjectVersionsResponse.Builder prefix(String p0); + ListObjectVersionsResponse.Builder versionIdMarker(String p0); + ListObjectVersionsResponse.Builder versions(Collection p0); + ListObjectVersionsResponse.Builder versions(ObjectVersion... p0); + ListObjectVersionsResponse.Builder versions(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsRequest.java new file mode 100644 index 000000000000..aec38b457c47 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsRequest.java @@ -0,0 +1,54 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListObjectsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.EncodingType; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListObjectsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListObjectsRequest() {} + public ListObjectsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final EncodingType encodingType(){ return null; } + public final Integer maxKeys(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String delimiter(){ return null; } + public final String encodingTypeAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String marker(){ return null; } + public final String prefix(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListObjectsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListObjectsRequest.Builder bucket(String p0); + ListObjectsRequest.Builder delimiter(String p0); + ListObjectsRequest.Builder encodingType(EncodingType p0); + ListObjectsRequest.Builder encodingType(String p0); + ListObjectsRequest.Builder expectedBucketOwner(String p0); + ListObjectsRequest.Builder marker(String p0); + ListObjectsRequest.Builder maxKeys(Integer p0); + ListObjectsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListObjectsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + ListObjectsRequest.Builder prefix(String p0); + ListObjectsRequest.Builder requestPayer(RequestPayer p0); + ListObjectsRequest.Builder requestPayer(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsResponse.java new file mode 100644 index 000000000000..bd4d2504e951 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsResponse.java @@ -0,0 +1,61 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListObjectsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CommonPrefix; +import software.amazon.awssdk.services.s3.model.EncodingType; +import software.amazon.awssdk.services.s3.model.S3Object; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListObjectsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListObjectsResponse() {} + public ListObjectsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final EncodingType encodingType(){ return null; } + public final Integer maxKeys(){ return null; } + public final List commonPrefixes(){ return null; } + public final List contents(){ return null; } + public final List> sdkFields(){ return null; } + public final String delimiter(){ return null; } + public final String encodingTypeAsString(){ return null; } + public final String marker(){ return null; } + public final String name(){ return null; } + public final String nextMarker(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasCommonPrefixes(){ return false; } + public final boolean hasContents(){ return false; } + public final int hashCode(){ return 0; } + public static ListObjectsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListObjectsResponse.Builder commonPrefixes(Collection p0); + ListObjectsResponse.Builder commonPrefixes(CommonPrefix... p0); + ListObjectsResponse.Builder commonPrefixes(java.util.function.Consumer... p0); + ListObjectsResponse.Builder contents(Collection p0); + ListObjectsResponse.Builder contents(S3Object... p0); + ListObjectsResponse.Builder contents(java.util.function.Consumer... p0); + ListObjectsResponse.Builder delimiter(String p0); + ListObjectsResponse.Builder encodingType(EncodingType p0); + ListObjectsResponse.Builder encodingType(String p0); + ListObjectsResponse.Builder isTruncated(Boolean p0); + ListObjectsResponse.Builder marker(String p0); + ListObjectsResponse.Builder maxKeys(Integer p0); + ListObjectsResponse.Builder name(String p0); + ListObjectsResponse.Builder nextMarker(String p0); + ListObjectsResponse.Builder prefix(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsV2Request.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsV2Request.java new file mode 100644 index 000000000000..56a499f567f4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsV2Request.java @@ -0,0 +1,58 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListObjectsV2Request for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.EncodingType; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListObjectsV2Request extends S3Request implements ToCopyableBuilder +{ + protected ListObjectsV2Request() {} + public ListObjectsV2Request.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean fetchOwner(){ return null; } + public final EncodingType encodingType(){ return null; } + public final Integer maxKeys(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String continuationToken(){ return null; } + public final String delimiter(){ return null; } + public final String encodingTypeAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String prefix(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String startAfter(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListObjectsV2Request.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListObjectsV2Request.Builder bucket(String p0); + ListObjectsV2Request.Builder continuationToken(String p0); + ListObjectsV2Request.Builder delimiter(String p0); + ListObjectsV2Request.Builder encodingType(EncodingType p0); + ListObjectsV2Request.Builder encodingType(String p0); + ListObjectsV2Request.Builder expectedBucketOwner(String p0); + ListObjectsV2Request.Builder fetchOwner(Boolean p0); + ListObjectsV2Request.Builder maxKeys(Integer p0); + ListObjectsV2Request.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListObjectsV2Request.Builder overrideConfiguration(java.util.function.Consumer p0); + ListObjectsV2Request.Builder prefix(String p0); + ListObjectsV2Request.Builder requestPayer(RequestPayer p0); + ListObjectsV2Request.Builder requestPayer(String p0); + ListObjectsV2Request.Builder startAfter(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsV2Response.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsV2Response.java new file mode 100644 index 000000000000..56851d8b2070 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListObjectsV2Response.java @@ -0,0 +1,65 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListObjectsV2Response for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CommonPrefix; +import software.amazon.awssdk.services.s3.model.EncodingType; +import software.amazon.awssdk.services.s3.model.S3Object; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListObjectsV2Response extends S3Response implements ToCopyableBuilder +{ + protected ListObjectsV2Response() {} + public ListObjectsV2Response.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final EncodingType encodingType(){ return null; } + public final Integer keyCount(){ return null; } + public final Integer maxKeys(){ return null; } + public final List commonPrefixes(){ return null; } + public final List contents(){ return null; } + public final List> sdkFields(){ return null; } + public final String continuationToken(){ return null; } + public final String delimiter(){ return null; } + public final String encodingTypeAsString(){ return null; } + public final String name(){ return null; } + public final String nextContinuationToken(){ return null; } + public final String prefix(){ return null; } + public final String startAfter(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasCommonPrefixes(){ return false; } + public final boolean hasContents(){ return false; } + public final int hashCode(){ return 0; } + public static ListObjectsV2Response.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListObjectsV2Response.Builder commonPrefixes(Collection p0); + ListObjectsV2Response.Builder commonPrefixes(CommonPrefix... p0); + ListObjectsV2Response.Builder commonPrefixes(java.util.function.Consumer... p0); + ListObjectsV2Response.Builder contents(Collection p0); + ListObjectsV2Response.Builder contents(S3Object... p0); + ListObjectsV2Response.Builder contents(java.util.function.Consumer... p0); + ListObjectsV2Response.Builder continuationToken(String p0); + ListObjectsV2Response.Builder delimiter(String p0); + ListObjectsV2Response.Builder encodingType(EncodingType p0); + ListObjectsV2Response.Builder encodingType(String p0); + ListObjectsV2Response.Builder isTruncated(Boolean p0); + ListObjectsV2Response.Builder keyCount(Integer p0); + ListObjectsV2Response.Builder maxKeys(Integer p0); + ListObjectsV2Response.Builder name(String p0); + ListObjectsV2Response.Builder nextContinuationToken(String p0); + ListObjectsV2Response.Builder prefix(String p0); + ListObjectsV2Response.Builder startAfter(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListPartsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListPartsRequest.java new file mode 100644 index 000000000000..0ef325a2c51f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListPartsRequest.java @@ -0,0 +1,55 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListPartsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListPartsRequest extends S3Request implements ToCopyableBuilder +{ + protected ListPartsRequest() {} + public ListPartsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer maxParts(){ return null; } + public final Integer partNumberMarker(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String toString(){ return null; } + public final String uploadId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ListPartsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + ListPartsRequest.Builder bucket(String p0); + ListPartsRequest.Builder expectedBucketOwner(String p0); + ListPartsRequest.Builder key(String p0); + ListPartsRequest.Builder maxParts(Integer p0); + ListPartsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + ListPartsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + ListPartsRequest.Builder partNumberMarker(Integer p0); + ListPartsRequest.Builder requestPayer(RequestPayer p0); + ListPartsRequest.Builder requestPayer(String p0); + ListPartsRequest.Builder sseCustomerAlgorithm(String p0); + ListPartsRequest.Builder sseCustomerKey(String p0); + ListPartsRequest.Builder sseCustomerKeyMD5(String p0); + ListPartsRequest.Builder uploadId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListPartsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListPartsResponse.java new file mode 100644 index 000000000000..617413010598 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ListPartsResponse.java @@ -0,0 +1,78 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ListPartsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.Initiator; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.services.s3.model.Part; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ListPartsResponse extends S3Response implements ToCopyableBuilder +{ + protected ListPartsResponse() {} + public ListPartsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isTruncated(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final Initiator initiator(){ return null; } + public final Instant abortDate(){ return null; } + public final Integer maxParts(){ return null; } + public final Integer nextPartNumberMarker(){ return null; } + public final Integer partNumberMarker(){ return null; } + public final List parts(){ return null; } + public final List> sdkFields(){ return null; } + public final Owner owner(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String abortRuleId(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String key(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final String uploadId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasParts(){ return false; } + public final int hashCode(){ return 0; } + public static ListPartsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + ListPartsResponse.Builder abortDate(Instant p0); + ListPartsResponse.Builder abortRuleId(String p0); + ListPartsResponse.Builder bucket(String p0); + ListPartsResponse.Builder checksumAlgorithm(ChecksumAlgorithm p0); + ListPartsResponse.Builder checksumAlgorithm(String p0); + ListPartsResponse.Builder initiator(Initiator p0); + ListPartsResponse.Builder isTruncated(Boolean p0); + ListPartsResponse.Builder key(String p0); + ListPartsResponse.Builder maxParts(Integer p0); + ListPartsResponse.Builder nextPartNumberMarker(Integer p0); + ListPartsResponse.Builder owner(Owner p0); + ListPartsResponse.Builder partNumberMarker(Integer p0); + ListPartsResponse.Builder parts(Collection p0); + ListPartsResponse.Builder parts(Part... p0); + ListPartsResponse.Builder parts(java.util.function.Consumer... p0); + ListPartsResponse.Builder requestCharged(RequestCharged p0); + ListPartsResponse.Builder requestCharged(String p0); + ListPartsResponse.Builder storageClass(StorageClass p0); + ListPartsResponse.Builder storageClass(String p0); + ListPartsResponse.Builder uploadId(String p0); + default ListPartsResponse.Builder initiator(java.util.function.Consumer p0){ return null; } + default ListPartsResponse.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LoggingEnabled.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LoggingEnabled.java new file mode 100644 index 000000000000..1fb4758aa5cf --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/LoggingEnabled.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.LoggingEnabled for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.TargetGrant; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class LoggingEnabled implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected LoggingEnabled() {} + public LoggingEnabled.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List targetGrants(){ return null; } + public final String targetBucket(){ return null; } + public final String targetPrefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTargetGrants(){ return false; } + public final int hashCode(){ return 0; } + public static LoggingEnabled.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + LoggingEnabled.Builder targetBucket(String p0); + LoggingEnabled.Builder targetGrants(Collection p0); + LoggingEnabled.Builder targetGrants(TargetGrant... p0); + LoggingEnabled.Builder targetGrants(java.util.function.Consumer... p0); + LoggingEnabled.Builder targetPrefix(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MFADelete.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MFADelete.java new file mode 100644 index 000000000000..ea018e6df8cf --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MFADelete.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MFADelete for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum MFADelete +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private MFADelete() {} + public String toString(){ return null; } + public static MFADelete fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MFADeleteStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MFADeleteStatus.java new file mode 100644 index 000000000000..08902dfd601d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MFADeleteStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MFADeleteStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum MFADeleteStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private MFADeleteStatus() {} + public String toString(){ return null; } + public static MFADeleteStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetadataDirective.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetadataDirective.java new file mode 100644 index 000000000000..d05fbb8c805e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetadataDirective.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MetadataDirective for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum MetadataDirective +{ + COPY, REPLACE, UNKNOWN_TO_SDK_VERSION; + private MetadataDirective() {} + public String toString(){ return null; } + public static MetadataDirective fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetadataEntry.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetadataEntry.java new file mode 100644 index 000000000000..0ad420943198 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetadataEntry.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MetadataEntry for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class MetadataEntry implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected MetadataEntry() {} + public MetadataEntry.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String name(){ return null; } + public final String toString(){ return null; } + public final String value(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static MetadataEntry.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + MetadataEntry.Builder name(String p0); + MetadataEntry.Builder value(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Metrics.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Metrics.java new file mode 100644 index 000000000000..75a6edb0396e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Metrics.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Metrics for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.MetricsStatus; +import software.amazon.awssdk.services.s3.model.ReplicationTimeValue; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Metrics implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Metrics() {} + public Metrics.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final MetricsStatus status(){ return null; } + public final ReplicationTimeValue eventThreshold(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Metrics.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Metrics.Builder eventThreshold(ReplicationTimeValue p0); + Metrics.Builder status(MetricsStatus p0); + Metrics.Builder status(String p0); + default Metrics.Builder eventThreshold(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsAndOperator.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsAndOperator.java new file mode 100644 index 000000000000..e1c239447ce7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsAndOperator.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MetricsAndOperator for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class MetricsAndOperator implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected MetricsAndOperator() {} + public MetricsAndOperator.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List tags(){ return null; } + public final String accessPointArn(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTags(){ return false; } + public final int hashCode(){ return 0; } + public static MetricsAndOperator.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + MetricsAndOperator.Builder accessPointArn(String p0); + MetricsAndOperator.Builder prefix(String p0); + MetricsAndOperator.Builder tags(Collection p0); + MetricsAndOperator.Builder tags(Tag... p0); + MetricsAndOperator.Builder tags(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsConfiguration.java new file mode 100644 index 000000000000..f2372cc377e9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsConfiguration.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MetricsConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.MetricsFilter; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class MetricsConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected MetricsConfiguration() {} + public MetricsConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final MetricsFilter filter(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static MetricsConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + MetricsConfiguration.Builder filter(MetricsFilter p0); + MetricsConfiguration.Builder id(String p0); + default MetricsConfiguration.Builder filter(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsFilter.java new file mode 100644 index 000000000000..dac5e878b181 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsFilter.java @@ -0,0 +1,53 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MetricsFilter for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.MetricsAndOperator; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class MetricsFilter implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected MetricsFilter() {} + public MetricsFilter.Builder toBuilder(){ return null; } + public MetricsFilter.Type type(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final MetricsAndOperator and(){ return null; } + public final String accessPointArn(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final Tag tag(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static MetricsFilter fromAccessPointArn(String p0){ return null; } + public static MetricsFilter fromAnd(MetricsAndOperator p0){ return null; } + public static MetricsFilter fromAnd(java.util.function.Consumer p0){ return null; } + public static MetricsFilter fromPrefix(String p0){ return null; } + public static MetricsFilter fromTag(Tag p0){ return null; } + public static MetricsFilter fromTag(java.util.function.Consumer p0){ return null; } + public static MetricsFilter.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public enum Type + { + ACCESS_POINT_ARN, AND, PREFIX, TAG, UNKNOWN_TO_SDK_VERSION; + private Type() {} + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + MetricsFilter.Builder accessPointArn(String p0); + MetricsFilter.Builder and(MetricsAndOperator p0); + MetricsFilter.Builder prefix(String p0); + MetricsFilter.Builder tag(Tag p0); + default MetricsFilter.Builder and(java.util.function.Consumer p0){ return null; } + default MetricsFilter.Builder tag(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsStatus.java new file mode 100644 index 000000000000..6674e0ae7000 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MetricsStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MetricsStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum MetricsStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private MetricsStatus() {} + public String toString(){ return null; } + public static MetricsStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MultipartUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MultipartUpload.java new file mode 100644 index 000000000000..b3e8c76824ca --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/MultipartUpload.java @@ -0,0 +1,54 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.MultipartUpload for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.Initiator; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class MultipartUpload implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected MultipartUpload() {} + public MultipartUpload.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final Initiator initiator(){ return null; } + public final Instant initiated(){ return null; } + public final List> sdkFields(){ return null; } + public final Owner owner(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String key(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final String uploadId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static MultipartUpload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + MultipartUpload.Builder checksumAlgorithm(ChecksumAlgorithm p0); + MultipartUpload.Builder checksumAlgorithm(String p0); + MultipartUpload.Builder initiated(Instant p0); + MultipartUpload.Builder initiator(Initiator p0); + MultipartUpload.Builder key(String p0); + MultipartUpload.Builder owner(Owner p0); + MultipartUpload.Builder storageClass(StorageClass p0); + MultipartUpload.Builder storageClass(String p0); + MultipartUpload.Builder uploadId(String p0); + default MultipartUpload.Builder initiator(java.util.function.Consumer p0){ return null; } + default MultipartUpload.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NoncurrentVersionExpiration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NoncurrentVersionExpiration.java new file mode 100644 index 000000000000..ab47157df4d8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NoncurrentVersionExpiration.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.NoncurrentVersionExpiration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class NoncurrentVersionExpiration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected NoncurrentVersionExpiration() {} + public NoncurrentVersionExpiration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer newerNoncurrentVersions(){ return null; } + public final Integer noncurrentDays(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static NoncurrentVersionExpiration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + NoncurrentVersionExpiration.Builder newerNoncurrentVersions(Integer p0); + NoncurrentVersionExpiration.Builder noncurrentDays(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NoncurrentVersionTransition.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NoncurrentVersionTransition.java new file mode 100644 index 000000000000..a9a505f2bd22 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NoncurrentVersionTransition.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.NoncurrentVersionTransition for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.TransitionStorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class NoncurrentVersionTransition implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected NoncurrentVersionTransition() {} + public NoncurrentVersionTransition.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer newerNoncurrentVersions(){ return null; } + public final Integer noncurrentDays(){ return null; } + public final List> sdkFields(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final TransitionStorageClass storageClass(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static NoncurrentVersionTransition.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + NoncurrentVersionTransition.Builder newerNoncurrentVersions(Integer p0); + NoncurrentVersionTransition.Builder noncurrentDays(Integer p0); + NoncurrentVersionTransition.Builder storageClass(String p0); + NoncurrentVersionTransition.Builder storageClass(TransitionStorageClass p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NotificationConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NotificationConfiguration.java new file mode 100644 index 000000000000..71e11e1654a7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NotificationConfiguration.java @@ -0,0 +1,52 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.NotificationConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.EventBridgeConfiguration; +import software.amazon.awssdk.services.s3.model.LambdaFunctionConfiguration; +import software.amazon.awssdk.services.s3.model.QueueConfiguration; +import software.amazon.awssdk.services.s3.model.TopicConfiguration; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class NotificationConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected NotificationConfiguration() {} + public NotificationConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final EventBridgeConfiguration eventBridgeConfiguration(){ return null; } + public final List lambdaFunctionConfigurations(){ return null; } + public final List queueConfigurations(){ return null; } + public final List> sdkFields(){ return null; } + public final List topicConfigurations(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasLambdaFunctionConfigurations(){ return false; } + public final boolean hasQueueConfigurations(){ return false; } + public final boolean hasTopicConfigurations(){ return false; } + public final int hashCode(){ return 0; } + public static NotificationConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + NotificationConfiguration.Builder eventBridgeConfiguration(EventBridgeConfiguration p0); + NotificationConfiguration.Builder lambdaFunctionConfigurations(Collection p0); + NotificationConfiguration.Builder lambdaFunctionConfigurations(LambdaFunctionConfiguration... p0); + NotificationConfiguration.Builder lambdaFunctionConfigurations(java.util.function.Consumer... p0); + NotificationConfiguration.Builder queueConfigurations(Collection p0); + NotificationConfiguration.Builder queueConfigurations(QueueConfiguration... p0); + NotificationConfiguration.Builder queueConfigurations(java.util.function.Consumer... p0); + NotificationConfiguration.Builder topicConfigurations(Collection p0); + NotificationConfiguration.Builder topicConfigurations(TopicConfiguration... p0); + NotificationConfiguration.Builder topicConfigurations(java.util.function.Consumer... p0); + default NotificationConfiguration.Builder eventBridgeConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NotificationConfigurationFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NotificationConfigurationFilter.java new file mode 100644 index 000000000000..e918d86309c6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/NotificationConfigurationFilter.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.NotificationConfigurationFilter for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3KeyFilter; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class NotificationConfigurationFilter implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected NotificationConfigurationFilter() {} + public NotificationConfigurationFilter.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final S3KeyFilter key(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static NotificationConfigurationFilter.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + NotificationConfigurationFilter.Builder key(S3KeyFilter p0); + default NotificationConfigurationFilter.Builder key(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectAttributes.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectAttributes.java new file mode 100644 index 000000000000..7b92e7453413 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectAttributes.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectAttributes for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectAttributes +{ + CHECKSUM, E_TAG, OBJECT_PARTS, OBJECT_SIZE, STORAGE_CLASS, UNKNOWN_TO_SDK_VERSION; + private ObjectAttributes() {} + public String toString(){ return null; } + public static ObjectAttributes fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectCannedACL.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectCannedACL.java new file mode 100644 index 000000000000..56f7873754b4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectCannedACL.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectCannedACL for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectCannedACL +{ + AUTHENTICATED_READ, AWS_EXEC_READ, BUCKET_OWNER_FULL_CONTROL, BUCKET_OWNER_READ, PRIVATE, PUBLIC_READ, PUBLIC_READ_WRITE, UNKNOWN_TO_SDK_VERSION; + private ObjectCannedACL() {} + public String toString(){ return null; } + public static ObjectCannedACL fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectIdentifier.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectIdentifier.java new file mode 100644 index 000000000000..0777c2b54369 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectIdentifier.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectIdentifier for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ObjectIdentifier implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ObjectIdentifier() {} + public ObjectIdentifier.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String key(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ObjectIdentifier.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ObjectIdentifier.Builder key(String p0); + ObjectIdentifier.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockConfiguration.java new file mode 100644 index 000000000000..c93a94533866 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockConfiguration.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectLockConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockEnabled; +import software.amazon.awssdk.services.s3.model.ObjectLockRule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ObjectLockConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ObjectLockConfiguration() {} + public ObjectLockConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockEnabled objectLockEnabled(){ return null; } + public final ObjectLockRule rule(){ return null; } + public final String objectLockEnabledAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ObjectLockConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ObjectLockConfiguration.Builder objectLockEnabled(ObjectLockEnabled p0); + ObjectLockConfiguration.Builder objectLockEnabled(String p0); + ObjectLockConfiguration.Builder rule(ObjectLockRule p0); + default ObjectLockConfiguration.Builder rule(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockEnabled.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockEnabled.java new file mode 100644 index 000000000000..dc59d7ad001f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockEnabled.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectLockEnabled for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectLockEnabled +{ + ENABLED, UNKNOWN_TO_SDK_VERSION; + private ObjectLockEnabled() {} + public String toString(){ return null; } + public static ObjectLockEnabled fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockLegalHold.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockLegalHold.java new file mode 100644 index 000000000000..570cece05836 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockLegalHold.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectLockLegalHold for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHoldStatus; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ObjectLockLegalHold implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ObjectLockLegalHold() {} + public ObjectLockLegalHold.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockLegalHoldStatus status(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ObjectLockLegalHold.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ObjectLockLegalHold.Builder status(ObjectLockLegalHoldStatus p0); + ObjectLockLegalHold.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockLegalHoldStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockLegalHoldStatus.java new file mode 100644 index 000000000000..90fd2f1ed3c1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockLegalHoldStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectLockLegalHoldStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectLockLegalHoldStatus +{ + OFF, ON, UNKNOWN_TO_SDK_VERSION; + private ObjectLockLegalHoldStatus() {} + public String toString(){ return null; } + public static ObjectLockLegalHoldStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockMode.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockMode.java new file mode 100644 index 000000000000..e670e4822e8b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockMode.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectLockMode for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectLockMode +{ + COMPLIANCE, GOVERNANCE, UNKNOWN_TO_SDK_VERSION; + private ObjectLockMode() {} + public String toString(){ return null; } + public static ObjectLockMode fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRetention.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRetention.java new file mode 100644 index 000000000000..02ad98c7ab7e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRetention.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectLockRetention for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockRetentionMode; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ObjectLockRetention implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ObjectLockRetention() {} + public ObjectLockRetention.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Instant retainUntilDate(){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockRetentionMode mode(){ return null; } + public final String modeAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ObjectLockRetention.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ObjectLockRetention.Builder mode(ObjectLockRetentionMode p0); + ObjectLockRetention.Builder mode(String p0); + ObjectLockRetention.Builder retainUntilDate(Instant p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRetentionMode.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRetentionMode.java new file mode 100644 index 000000000000..78f387bab909 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRetentionMode.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectLockRetentionMode for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectLockRetentionMode +{ + COMPLIANCE, GOVERNANCE, UNKNOWN_TO_SDK_VERSION; + private ObjectLockRetentionMode() {} + public String toString(){ return null; } + public static ObjectLockRetentionMode fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRule.java new file mode 100644 index 000000000000..a68688d63718 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectLockRule.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectLockRule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.DefaultRetention; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ObjectLockRule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ObjectLockRule() {} + public ObjectLockRule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final DefaultRetention defaultRetention(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ObjectLockRule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ObjectLockRule.Builder defaultRetention(DefaultRetention p0); + default ObjectLockRule.Builder defaultRetention(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectOwnership.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectOwnership.java new file mode 100644 index 000000000000..536c75c4e891 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectOwnership.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectOwnership for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectOwnership +{ + BUCKET_OWNER_ENFORCED, BUCKET_OWNER_PREFERRED, OBJECT_WRITER, UNKNOWN_TO_SDK_VERSION; + private ObjectOwnership() {} + public String toString(){ return null; } + public static ObjectOwnership fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectPart.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectPart.java new file mode 100644 index 000000000000..e9021ec96f20 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectPart.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectPart for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ObjectPart implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ObjectPart() {} + public ObjectPart.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer partNumber(){ return null; } + public final Integer size(){ return null; } + public final List> sdkFields(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ObjectPart.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ObjectPart.Builder checksumCRC32(String p0); + ObjectPart.Builder checksumCRC32C(String p0); + ObjectPart.Builder checksumSHA1(String p0); + ObjectPart.Builder checksumSHA256(String p0); + ObjectPart.Builder partNumber(Integer p0); + ObjectPart.Builder size(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectStorageClass.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectStorageClass.java new file mode 100644 index 000000000000..a6b3064c4ba1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectStorageClass.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectStorageClass for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectStorageClass +{ + DEEP_ARCHIVE, GLACIER, GLACIER_IR, INTELLIGENT_TIERING, ONEZONE_IA, OUTPOSTS, REDUCED_REDUNDANCY, STANDARD, STANDARD_IA, UNKNOWN_TO_SDK_VERSION; + private ObjectStorageClass() {} + public String toString(){ return null; } + public static ObjectStorageClass fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectVersion.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectVersion.java new file mode 100644 index 000000000000..3ff84098b0c1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectVersion.java @@ -0,0 +1,60 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectVersion for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ObjectVersionStorageClass; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ObjectVersion implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ObjectVersion() {} + public ObjectVersion.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isLatest(){ return null; } + public final Instant lastModified(){ return null; } + public final List checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final List checksumAlgorithmAsStrings(){ return null; } + public final Long size(){ return null; } + public final ObjectVersionStorageClass storageClass(){ return null; } + public final Owner owner(){ return null; } + public final String eTag(){ return null; } + public final String key(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasChecksumAlgorithm(){ return false; } + public final int hashCode(){ return 0; } + public static ObjectVersion.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ObjectVersion.Builder checksumAlgorithm(ChecksumAlgorithm... p0); + ObjectVersion.Builder checksumAlgorithm(Collection p0); + ObjectVersion.Builder checksumAlgorithmWithStrings(Collection p0); + ObjectVersion.Builder checksumAlgorithmWithStrings(String... p0); + ObjectVersion.Builder eTag(String p0); + ObjectVersion.Builder isLatest(Boolean p0); + ObjectVersion.Builder key(String p0); + ObjectVersion.Builder lastModified(Instant p0); + ObjectVersion.Builder owner(Owner p0); + ObjectVersion.Builder size(Long p0); + ObjectVersion.Builder storageClass(ObjectVersionStorageClass p0); + ObjectVersion.Builder storageClass(String p0); + ObjectVersion.Builder versionId(String p0); + default ObjectVersion.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectVersionStorageClass.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectVersionStorageClass.java new file mode 100644 index 000000000000..999d0a057358 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ObjectVersionStorageClass.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ObjectVersionStorageClass for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ObjectVersionStorageClass +{ + STANDARD, UNKNOWN_TO_SDK_VERSION; + private ObjectVersionStorageClass() {} + public String toString(){ return null; } + public static ObjectVersionStorageClass fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OutputLocation.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OutputLocation.java new file mode 100644 index 000000000000..311eafe45550 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OutputLocation.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.OutputLocation for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Location; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class OutputLocation implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected OutputLocation() {} + public OutputLocation.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final S3Location s3(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static OutputLocation.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + OutputLocation.Builder s3(S3Location p0); + default OutputLocation.Builder s3(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OutputSerialization.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OutputSerialization.java new file mode 100644 index 000000000000..345af7b5d68e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OutputSerialization.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.OutputSerialization for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CSVOutput; +import software.amazon.awssdk.services.s3.model.JSONOutput; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class OutputSerialization implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected OutputSerialization() {} + public OutputSerialization.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final CSVOutput csv(){ return null; } + public final JSONOutput json(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static OutputSerialization.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + OutputSerialization.Builder csv(CSVOutput p0); + OutputSerialization.Builder json(JSONOutput p0); + default OutputSerialization.Builder csv(java.util.function.Consumer p0){ return null; } + default OutputSerialization.Builder json(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Owner.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Owner.java new file mode 100644 index 000000000000..7368e29bb8d2 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Owner.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Owner for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Owner implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Owner() {} + public Owner.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String displayName(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Owner.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Owner.Builder displayName(String p0); + Owner.Builder id(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnerOverride.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnerOverride.java new file mode 100644 index 000000000000..7671066cc9f8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnerOverride.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.OwnerOverride for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum OwnerOverride +{ + DESTINATION, UNKNOWN_TO_SDK_VERSION; + private OwnerOverride() {} + public String toString(){ return null; } + public static OwnerOverride fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnershipControls.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnershipControls.java new file mode 100644 index 000000000000..711f7d744bbf --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnershipControls.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.OwnershipControls for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.OwnershipControlsRule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class OwnershipControls implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected OwnershipControls() {} + public OwnershipControls.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List rules(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasRules(){ return false; } + public final int hashCode(){ return 0; } + public static OwnershipControls.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + OwnershipControls.Builder rules(Collection p0); + OwnershipControls.Builder rules(OwnershipControlsRule... p0); + OwnershipControls.Builder rules(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnershipControlsRule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnershipControlsRule.java new file mode 100644 index 000000000000..483e96a34f16 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/OwnershipControlsRule.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.OwnershipControlsRule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectOwnership; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class OwnershipControlsRule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected OwnershipControlsRule() {} + public OwnershipControlsRule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectOwnership objectOwnership(){ return null; } + public final String objectOwnershipAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static OwnershipControlsRule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + OwnershipControlsRule.Builder objectOwnership(ObjectOwnership p0); + OwnershipControlsRule.Builder objectOwnership(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ParquetInput.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ParquetInput.java new file mode 100644 index 000000000000..f68795ae8003 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ParquetInput.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ParquetInput for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ParquetInput implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ParquetInput() {} + public ParquetInput.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ParquetInput.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Part.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Part.java new file mode 100644 index 000000000000..bb4e512de661 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Part.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Part for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Part implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Part() {} + public Part.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Instant lastModified(){ return null; } + public final Integer partNumber(){ return null; } + public final List> sdkFields(){ return null; } + public final Long size(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String eTag(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Part.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Part.Builder checksumCRC32(String p0); + Part.Builder checksumCRC32C(String p0); + Part.Builder checksumSHA1(String p0); + Part.Builder checksumSHA256(String p0); + Part.Builder eTag(String p0); + Part.Builder lastModified(Instant p0); + Part.Builder partNumber(Integer p0); + Part.Builder size(Long p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Payer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Payer.java new file mode 100644 index 000000000000..23438fe15480 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Payer.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Payer for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum Payer +{ + BUCKET_OWNER, REQUESTER, UNKNOWN_TO_SDK_VERSION; + private Payer() {} + public String toString(){ return null; } + public static Payer fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Permission.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Permission.java new file mode 100644 index 000000000000..f5ffc137506f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Permission.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Permission for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum Permission +{ + FULL_CONTROL, READ, READ_ACP, UNKNOWN_TO_SDK_VERSION, WRITE, WRITE_ACP; + private Permission() {} + public String toString(){ return null; } + public static Permission fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PolicyStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PolicyStatus.java new file mode 100644 index 000000000000..6722d512531c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PolicyStatus.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PolicyStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PolicyStatus implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected PolicyStatus() {} + public PolicyStatus.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean isPublic(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PolicyStatus.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + PolicyStatus.Builder isPublic(Boolean p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Progress.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Progress.java new file mode 100644 index 000000000000..da1129bc1215 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Progress.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Progress for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Progress implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Progress() {} + public Progress.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Long bytesProcessed(){ return null; } + public final Long bytesReturned(){ return null; } + public final Long bytesScanned(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Progress.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Progress.Builder bytesProcessed(Long p0); + Progress.Builder bytesReturned(Long p0); + Progress.Builder bytesScanned(Long p0); + } + + public class BuilderImpl { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ProgressEvent.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ProgressEvent.java new file mode 100644 index 000000000000..420f99be1c2f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ProgressEvent.java @@ -0,0 +1,48 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ProgressEvent for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Progress; +import software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream; +import software.amazon.awssdk.services.s3.model.SelectObjectContentResponseHandler; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ProgressEvent implements SdkPojo, SelectObjectContentEventStream, Serializable, ToCopyableBuilder +{ + protected ProgressEvent() {} + protected ProgressEvent(ProgressEvent.BuilderImpl p0){} + public ProgressEvent.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Progress details(){ return null; } + public final ProgressEvent copy(java.util.function.Consumer p0){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ProgressEvent.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + public void accept(SelectObjectContentResponseHandler.Visitor p0){} + static class BuilderImpl implements ProgressEvent.Builder + { + protected BuilderImpl(){} + protected BuilderImpl(ProgressEvent p0){} + public List> sdkFields(){ return null; } + public ProgressEvent build(){ return null; } + public final Progress.Builder getDetails(){ return null; } + public final ProgressEvent.Builder details(Progress p0){ return null; } + public final void setDetails(Progress.BuilderImpl p0){} + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ProgressEvent.Builder details(Progress p0); + default ProgressEvent.Builder details(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Protocol.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Protocol.java new file mode 100644 index 000000000000..031d583d39e5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Protocol.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Protocol for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum Protocol +{ + HTTP, HTTPS, UNKNOWN_TO_SDK_VERSION; + private Protocol() {} + public String toString(){ return null; } + public static Protocol fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PublicAccessBlockConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PublicAccessBlockConfiguration.java new file mode 100644 index 000000000000..94a5f8616397 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PublicAccessBlockConfiguration.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PublicAccessBlockConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PublicAccessBlockConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected PublicAccessBlockConfiguration() {} + public PublicAccessBlockConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean blockPublicAcls(){ return null; } + public final Boolean blockPublicPolicy(){ return null; } + public final Boolean ignorePublicAcls(){ return null; } + public final Boolean restrictPublicBuckets(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PublicAccessBlockConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + PublicAccessBlockConfiguration.Builder blockPublicAcls(Boolean p0); + PublicAccessBlockConfiguration.Builder blockPublicPolicy(Boolean p0); + PublicAccessBlockConfiguration.Builder ignorePublicAcls(Boolean p0); + PublicAccessBlockConfiguration.Builder restrictPublicBuckets(Boolean p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAccelerateConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAccelerateConfigurationRequest.java new file mode 100644 index 000000000000..2174b6e0498d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAccelerateConfigurationRequest.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketAccelerateConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AccelerateConfiguration; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketAccelerateConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketAccelerateConfigurationRequest() {} + public PutBucketAccelerateConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AccelerateConfiguration accelerateConfiguration(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketAccelerateConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketAccelerateConfigurationRequest.Builder accelerateConfiguration(AccelerateConfiguration p0); + PutBucketAccelerateConfigurationRequest.Builder bucket(String p0); + PutBucketAccelerateConfigurationRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketAccelerateConfigurationRequest.Builder checksumAlgorithm(String p0); + PutBucketAccelerateConfigurationRequest.Builder expectedBucketOwner(String p0); + PutBucketAccelerateConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketAccelerateConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketAccelerateConfigurationRequest.Builder accelerateConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAccelerateConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAccelerateConfigurationResponse.java new file mode 100644 index 000000000000..21fb998d605b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAccelerateConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketAccelerateConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketAccelerateConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketAccelerateConfigurationResponse() {} + public PutBucketAccelerateConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketAccelerateConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAclRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAclRequest.java new file mode 100644 index 000000000000..fad24b15f430 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAclRequest.java @@ -0,0 +1,62 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketAclRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AccessControlPolicy; +import software.amazon.awssdk.services.s3.model.BucketCannedACL; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketAclRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketAclRequest() {} + public PutBucketAclRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AccessControlPolicy accessControlPolicy(){ return null; } + public final BucketCannedACL acl(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String aclAsString(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String grantFullControl(){ return null; } + public final String grantRead(){ return null; } + public final String grantReadACP(){ return null; } + public final String grantWrite(){ return null; } + public final String grantWriteACP(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketAclRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketAclRequest.Builder accessControlPolicy(AccessControlPolicy p0); + PutBucketAclRequest.Builder acl(BucketCannedACL p0); + PutBucketAclRequest.Builder acl(String p0); + PutBucketAclRequest.Builder bucket(String p0); + PutBucketAclRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketAclRequest.Builder checksumAlgorithm(String p0); + PutBucketAclRequest.Builder contentMD5(String p0); + PutBucketAclRequest.Builder expectedBucketOwner(String p0); + PutBucketAclRequest.Builder grantFullControl(String p0); + PutBucketAclRequest.Builder grantRead(String p0); + PutBucketAclRequest.Builder grantReadACP(String p0); + PutBucketAclRequest.Builder grantWrite(String p0); + PutBucketAclRequest.Builder grantWriteACP(String p0); + PutBucketAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketAclRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketAclRequest.Builder accessControlPolicy(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAclResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAclResponse.java new file mode 100644 index 000000000000..ebd09798c077 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAclResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketAclResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketAclResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketAclResponse() {} + public PutBucketAclResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketAclResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAnalyticsConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAnalyticsConfigurationRequest.java new file mode 100644 index 000000000000..3da887ba76d0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAnalyticsConfigurationRequest.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketAnalyticsConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AnalyticsConfiguration; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketAnalyticsConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketAnalyticsConfigurationRequest() {} + public PutBucketAnalyticsConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AnalyticsConfiguration analyticsConfiguration(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketAnalyticsConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketAnalyticsConfigurationRequest.Builder analyticsConfiguration(AnalyticsConfiguration p0); + PutBucketAnalyticsConfigurationRequest.Builder bucket(String p0); + PutBucketAnalyticsConfigurationRequest.Builder expectedBucketOwner(String p0); + PutBucketAnalyticsConfigurationRequest.Builder id(String p0); + PutBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketAnalyticsConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketAnalyticsConfigurationRequest.Builder analyticsConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAnalyticsConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAnalyticsConfigurationResponse.java new file mode 100644 index 000000000000..7c7f7ccf94c5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketAnalyticsConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketAnalyticsConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketAnalyticsConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketAnalyticsConfigurationResponse() {} + public PutBucketAnalyticsConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketAnalyticsConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketCorsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketCorsRequest.java new file mode 100644 index 000000000000..23177a886943 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketCorsRequest.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketCorsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CORSConfiguration; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketCorsRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketCorsRequest() {} + public PutBucketCorsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final CORSConfiguration corsConfiguration(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketCorsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketCorsRequest.Builder bucket(String p0); + PutBucketCorsRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketCorsRequest.Builder checksumAlgorithm(String p0); + PutBucketCorsRequest.Builder contentMD5(String p0); + PutBucketCorsRequest.Builder corsConfiguration(CORSConfiguration p0); + PutBucketCorsRequest.Builder expectedBucketOwner(String p0); + PutBucketCorsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketCorsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketCorsRequest.Builder corsConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketCorsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketCorsResponse.java new file mode 100644 index 000000000000..3450d3f0ca35 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketCorsResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketCorsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketCorsResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketCorsResponse() {} + public PutBucketCorsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketCorsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketEncryptionRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketEncryptionRequest.java new file mode 100644 index 000000000000..3b6e53b2bc24 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketEncryptionRequest.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketEncryptionRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.ServerSideEncryptionConfiguration; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketEncryptionRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketEncryptionRequest() {} + public PutBucketEncryptionRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final ServerSideEncryptionConfiguration serverSideEncryptionConfiguration(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketEncryptionRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketEncryptionRequest.Builder bucket(String p0); + PutBucketEncryptionRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketEncryptionRequest.Builder checksumAlgorithm(String p0); + PutBucketEncryptionRequest.Builder contentMD5(String p0); + PutBucketEncryptionRequest.Builder expectedBucketOwner(String p0); + PutBucketEncryptionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketEncryptionRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketEncryptionRequest.Builder serverSideEncryptionConfiguration(ServerSideEncryptionConfiguration p0); + default PutBucketEncryptionRequest.Builder serverSideEncryptionConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketEncryptionResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketEncryptionResponse.java new file mode 100644 index 000000000000..5cb418d39e2b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketEncryptionResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketEncryptionResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketEncryptionResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketEncryptionResponse() {} + public PutBucketEncryptionResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketEncryptionResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketIntelligentTieringConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketIntelligentTieringConfigurationRequest.java new file mode 100644 index 000000000000..05e76d6f1d9f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketIntelligentTieringConfigurationRequest.java @@ -0,0 +1,40 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketIntelligentTieringConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.IntelligentTieringConfiguration; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketIntelligentTieringConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketIntelligentTieringConfigurationRequest() {} + public PutBucketIntelligentTieringConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final IntelligentTieringConfiguration intelligentTieringConfiguration(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketIntelligentTieringConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketIntelligentTieringConfigurationRequest.Builder bucket(String p0); + PutBucketIntelligentTieringConfigurationRequest.Builder id(String p0); + PutBucketIntelligentTieringConfigurationRequest.Builder intelligentTieringConfiguration(IntelligentTieringConfiguration p0); + PutBucketIntelligentTieringConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketIntelligentTieringConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketIntelligentTieringConfigurationRequest.Builder intelligentTieringConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketIntelligentTieringConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketIntelligentTieringConfigurationResponse.java new file mode 100644 index 000000000000..d479b8e30ea4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketIntelligentTieringConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketIntelligentTieringConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketIntelligentTieringConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketIntelligentTieringConfigurationResponse() {} + public PutBucketIntelligentTieringConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketIntelligentTieringConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketInventoryConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketInventoryConfigurationRequest.java new file mode 100644 index 000000000000..3c66fce1bd8f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketInventoryConfigurationRequest.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketInventoryConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.InventoryConfiguration; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketInventoryConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketInventoryConfigurationRequest() {} + public PutBucketInventoryConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final InventoryConfiguration inventoryConfiguration(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketInventoryConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketInventoryConfigurationRequest.Builder bucket(String p0); + PutBucketInventoryConfigurationRequest.Builder expectedBucketOwner(String p0); + PutBucketInventoryConfigurationRequest.Builder id(String p0); + PutBucketInventoryConfigurationRequest.Builder inventoryConfiguration(InventoryConfiguration p0); + PutBucketInventoryConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketInventoryConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketInventoryConfigurationRequest.Builder inventoryConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketInventoryConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketInventoryConfigurationResponse.java new file mode 100644 index 000000000000..d5c584332a0d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketInventoryConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketInventoryConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketInventoryConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketInventoryConfigurationResponse() {} + public PutBucketInventoryConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketInventoryConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLifecycleConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLifecycleConfigurationRequest.java new file mode 100644 index 000000000000..9cbbc69ee242 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLifecycleConfigurationRequest.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketLifecycleConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketLifecycleConfiguration; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketLifecycleConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketLifecycleConfigurationRequest() {} + public PutBucketLifecycleConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketLifecycleConfiguration lifecycleConfiguration(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketLifecycleConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketLifecycleConfigurationRequest.Builder bucket(String p0); + PutBucketLifecycleConfigurationRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketLifecycleConfigurationRequest.Builder checksumAlgorithm(String p0); + PutBucketLifecycleConfigurationRequest.Builder expectedBucketOwner(String p0); + PutBucketLifecycleConfigurationRequest.Builder lifecycleConfiguration(BucketLifecycleConfiguration p0); + PutBucketLifecycleConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketLifecycleConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketLifecycleConfigurationRequest.Builder lifecycleConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLifecycleConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLifecycleConfigurationResponse.java new file mode 100644 index 000000000000..7283a33e87c5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLifecycleConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketLifecycleConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketLifecycleConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketLifecycleConfigurationResponse() {} + public PutBucketLifecycleConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketLifecycleConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLoggingRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLoggingRequest.java new file mode 100644 index 000000000000..f147e8533480 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLoggingRequest.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketLoggingRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketLoggingStatus; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketLoggingRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketLoggingRequest() {} + public PutBucketLoggingRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketLoggingStatus bucketLoggingStatus(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketLoggingRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketLoggingRequest.Builder bucket(String p0); + PutBucketLoggingRequest.Builder bucketLoggingStatus(BucketLoggingStatus p0); + PutBucketLoggingRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketLoggingRequest.Builder checksumAlgorithm(String p0); + PutBucketLoggingRequest.Builder contentMD5(String p0); + PutBucketLoggingRequest.Builder expectedBucketOwner(String p0); + PutBucketLoggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketLoggingRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketLoggingRequest.Builder bucketLoggingStatus(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLoggingResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLoggingResponse.java new file mode 100644 index 000000000000..7522d7b6e4dc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketLoggingResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketLoggingResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketLoggingResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketLoggingResponse() {} + public PutBucketLoggingResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketLoggingResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketMetricsConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketMetricsConfigurationRequest.java new file mode 100644 index 000000000000..a2d667397636 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketMetricsConfigurationRequest.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketMetricsConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.MetricsConfiguration; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketMetricsConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketMetricsConfigurationRequest() {} + public PutBucketMetricsConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final MetricsConfiguration metricsConfiguration(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketMetricsConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketMetricsConfigurationRequest.Builder bucket(String p0); + PutBucketMetricsConfigurationRequest.Builder expectedBucketOwner(String p0); + PutBucketMetricsConfigurationRequest.Builder id(String p0); + PutBucketMetricsConfigurationRequest.Builder metricsConfiguration(MetricsConfiguration p0); + PutBucketMetricsConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketMetricsConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + default PutBucketMetricsConfigurationRequest.Builder metricsConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketMetricsConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketMetricsConfigurationResponse.java new file mode 100644 index 000000000000..47cdd9d90127 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketMetricsConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketMetricsConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketMetricsConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketMetricsConfigurationResponse() {} + public PutBucketMetricsConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketMetricsConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketNotificationConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketNotificationConfigurationRequest.java new file mode 100644 index 000000000000..4ba23d84779c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketNotificationConfigurationRequest.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketNotificationConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.NotificationConfiguration; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketNotificationConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketNotificationConfigurationRequest() {} + public PutBucketNotificationConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean skipDestinationValidation(){ return null; } + public final List> sdkFields(){ return null; } + public final NotificationConfiguration notificationConfiguration(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketNotificationConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketNotificationConfigurationRequest.Builder bucket(String p0); + PutBucketNotificationConfigurationRequest.Builder expectedBucketOwner(String p0); + PutBucketNotificationConfigurationRequest.Builder notificationConfiguration(NotificationConfiguration p0); + PutBucketNotificationConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketNotificationConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketNotificationConfigurationRequest.Builder skipDestinationValidation(Boolean p0); + default PutBucketNotificationConfigurationRequest.Builder notificationConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketNotificationConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketNotificationConfigurationResponse.java new file mode 100644 index 000000000000..37021ec7b0ed --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketNotificationConfigurationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketNotificationConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketNotificationConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketNotificationConfigurationResponse() {} + public PutBucketNotificationConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketNotificationConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketOwnershipControlsRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketOwnershipControlsRequest.java new file mode 100644 index 000000000000..717eec50626a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketOwnershipControlsRequest.java @@ -0,0 +1,42 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketOwnershipControlsRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.OwnershipControls; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketOwnershipControlsRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketOwnershipControlsRequest() {} + public PutBucketOwnershipControlsRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final OwnershipControls ownershipControls(){ return null; } + public final String bucket(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketOwnershipControlsRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketOwnershipControlsRequest.Builder bucket(String p0); + PutBucketOwnershipControlsRequest.Builder contentMD5(String p0); + PutBucketOwnershipControlsRequest.Builder expectedBucketOwner(String p0); + PutBucketOwnershipControlsRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketOwnershipControlsRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketOwnershipControlsRequest.Builder ownershipControls(OwnershipControls p0); + default PutBucketOwnershipControlsRequest.Builder ownershipControls(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketOwnershipControlsResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketOwnershipControlsResponse.java new file mode 100644 index 000000000000..60d9d0f396ef --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketOwnershipControlsResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketOwnershipControlsResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketOwnershipControlsResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketOwnershipControlsResponse() {} + public PutBucketOwnershipControlsResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketOwnershipControlsResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketPolicyRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketPolicyRequest.java new file mode 100644 index 000000000000..161306b131b7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketPolicyRequest.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketPolicyRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketPolicyRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketPolicyRequest() {} + public PutBucketPolicyRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean confirmRemoveSelfBucketAccess(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String policy(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketPolicyRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketPolicyRequest.Builder bucket(String p0); + PutBucketPolicyRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketPolicyRequest.Builder checksumAlgorithm(String p0); + PutBucketPolicyRequest.Builder confirmRemoveSelfBucketAccess(Boolean p0); + PutBucketPolicyRequest.Builder contentMD5(String p0); + PutBucketPolicyRequest.Builder expectedBucketOwner(String p0); + PutBucketPolicyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketPolicyRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketPolicyRequest.Builder policy(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketPolicyResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketPolicyResponse.java new file mode 100644 index 000000000000..87e314381a09 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketPolicyResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketPolicyResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketPolicyResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketPolicyResponse() {} + public PutBucketPolicyResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketPolicyResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketReplicationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketReplicationRequest.java new file mode 100644 index 000000000000..a4ee5f64fa40 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketReplicationRequest.java @@ -0,0 +1,49 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketReplicationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ReplicationConfiguration; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketReplicationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketReplicationRequest() {} + public PutBucketReplicationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final ReplicationConfiguration replicationConfiguration(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final String token(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketReplicationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketReplicationRequest.Builder bucket(String p0); + PutBucketReplicationRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketReplicationRequest.Builder checksumAlgorithm(String p0); + PutBucketReplicationRequest.Builder contentMD5(String p0); + PutBucketReplicationRequest.Builder expectedBucketOwner(String p0); + PutBucketReplicationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketReplicationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketReplicationRequest.Builder replicationConfiguration(ReplicationConfiguration p0); + PutBucketReplicationRequest.Builder token(String p0); + default PutBucketReplicationRequest.Builder replicationConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketReplicationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketReplicationResponse.java new file mode 100644 index 000000000000..209bcf462072 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketReplicationResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketReplicationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketReplicationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketReplicationResponse() {} + public PutBucketReplicationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketReplicationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketRequestPaymentRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketRequestPaymentRequest.java new file mode 100644 index 000000000000..b0d052c8b2a6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketRequestPaymentRequest.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketRequestPaymentRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.RequestPaymentConfiguration; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketRequestPaymentRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketRequestPaymentRequest() {} + public PutBucketRequestPaymentRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPaymentConfiguration requestPaymentConfiguration(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketRequestPaymentRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketRequestPaymentRequest.Builder bucket(String p0); + PutBucketRequestPaymentRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketRequestPaymentRequest.Builder checksumAlgorithm(String p0); + PutBucketRequestPaymentRequest.Builder contentMD5(String p0); + PutBucketRequestPaymentRequest.Builder expectedBucketOwner(String p0); + PutBucketRequestPaymentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketRequestPaymentRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketRequestPaymentRequest.Builder requestPaymentConfiguration(RequestPaymentConfiguration p0); + default PutBucketRequestPaymentRequest.Builder requestPaymentConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketRequestPaymentResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketRequestPaymentResponse.java new file mode 100644 index 000000000000..70d84659a9b4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketRequestPaymentResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketRequestPaymentResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketRequestPaymentResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketRequestPaymentResponse() {} + public PutBucketRequestPaymentResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketRequestPaymentResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketTaggingRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketTaggingRequest.java new file mode 100644 index 000000000000..be08b8b60507 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketTaggingRequest.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketTaggingRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.Tagging; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketTaggingRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketTaggingRequest() {} + public PutBucketTaggingRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final Tagging tagging(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketTaggingRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketTaggingRequest.Builder bucket(String p0); + PutBucketTaggingRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketTaggingRequest.Builder checksumAlgorithm(String p0); + PutBucketTaggingRequest.Builder contentMD5(String p0); + PutBucketTaggingRequest.Builder expectedBucketOwner(String p0); + PutBucketTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketTaggingRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketTaggingRequest.Builder tagging(Tagging p0); + default PutBucketTaggingRequest.Builder tagging(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketTaggingResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketTaggingResponse.java new file mode 100644 index 000000000000..9d8a2c98def0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketTaggingResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketTaggingResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketTaggingResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketTaggingResponse() {} + public PutBucketTaggingResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketTaggingResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketVersioningRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketVersioningRequest.java new file mode 100644 index 000000000000..d7142f735997 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketVersioningRequest.java @@ -0,0 +1,49 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketVersioningRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.VersioningConfiguration; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketVersioningRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketVersioningRequest() {} + public PutBucketVersioningRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String mfa(){ return null; } + public final String toString(){ return null; } + public final VersioningConfiguration versioningConfiguration(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketVersioningRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketVersioningRequest.Builder bucket(String p0); + PutBucketVersioningRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketVersioningRequest.Builder checksumAlgorithm(String p0); + PutBucketVersioningRequest.Builder contentMD5(String p0); + PutBucketVersioningRequest.Builder expectedBucketOwner(String p0); + PutBucketVersioningRequest.Builder mfa(String p0); + PutBucketVersioningRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketVersioningRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketVersioningRequest.Builder versioningConfiguration(VersioningConfiguration p0); + default PutBucketVersioningRequest.Builder versioningConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketVersioningResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketVersioningResponse.java new file mode 100644 index 000000000000..43692da25379 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketVersioningResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketVersioningResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketVersioningResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketVersioningResponse() {} + public PutBucketVersioningResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketVersioningResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketWebsiteRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketWebsiteRequest.java new file mode 100644 index 000000000000..ef1591d0843b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketWebsiteRequest.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketWebsiteRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.WebsiteConfiguration; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketWebsiteRequest extends S3Request implements ToCopyableBuilder +{ + protected PutBucketWebsiteRequest() {} + public PutBucketWebsiteRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final WebsiteConfiguration websiteConfiguration(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketWebsiteRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutBucketWebsiteRequest.Builder bucket(String p0); + PutBucketWebsiteRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutBucketWebsiteRequest.Builder checksumAlgorithm(String p0); + PutBucketWebsiteRequest.Builder contentMD5(String p0); + PutBucketWebsiteRequest.Builder expectedBucketOwner(String p0); + PutBucketWebsiteRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutBucketWebsiteRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutBucketWebsiteRequest.Builder websiteConfiguration(WebsiteConfiguration p0); + default PutBucketWebsiteRequest.Builder websiteConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketWebsiteResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketWebsiteResponse.java new file mode 100644 index 000000000000..7878e4fa2f04 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutBucketWebsiteResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutBucketWebsiteResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutBucketWebsiteResponse extends S3Response implements ToCopyableBuilder +{ + protected PutBucketWebsiteResponse() {} + public PutBucketWebsiteResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutBucketWebsiteResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectAclRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectAclRequest.java new file mode 100644 index 000000000000..eccb4fd2d081 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectAclRequest.java @@ -0,0 +1,71 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectAclRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AccessControlPolicy; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ObjectCannedACL; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectAclRequest extends S3Request implements ToCopyableBuilder +{ + protected PutObjectAclRequest() {} + public PutObjectAclRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AccessControlPolicy accessControlPolicy(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectCannedACL acl(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String aclAsString(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String grantFullControl(){ return null; } + public final String grantRead(){ return null; } + public final String grantReadACP(){ return null; } + public final String grantWrite(){ return null; } + public final String grantWriteACP(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectAclRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutObjectAclRequest.Builder accessControlPolicy(AccessControlPolicy p0); + PutObjectAclRequest.Builder acl(ObjectCannedACL p0); + PutObjectAclRequest.Builder acl(String p0); + PutObjectAclRequest.Builder bucket(String p0); + PutObjectAclRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutObjectAclRequest.Builder checksumAlgorithm(String p0); + PutObjectAclRequest.Builder contentMD5(String p0); + PutObjectAclRequest.Builder expectedBucketOwner(String p0); + PutObjectAclRequest.Builder grantFullControl(String p0); + PutObjectAclRequest.Builder grantRead(String p0); + PutObjectAclRequest.Builder grantReadACP(String p0); + PutObjectAclRequest.Builder grantWrite(String p0); + PutObjectAclRequest.Builder grantWriteACP(String p0); + PutObjectAclRequest.Builder key(String p0); + PutObjectAclRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutObjectAclRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutObjectAclRequest.Builder requestPayer(RequestPayer p0); + PutObjectAclRequest.Builder requestPayer(String p0); + PutObjectAclRequest.Builder versionId(String p0); + default PutObjectAclRequest.Builder accessControlPolicy(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectAclResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectAclResponse.java new file mode 100644 index 000000000000..290a12487bc4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectAclResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectAclResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectAclResponse extends S3Response implements ToCopyableBuilder +{ + protected PutObjectAclResponse() {} + public PutObjectAclResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectAclResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + PutObjectAclResponse.Builder requestCharged(RequestCharged p0); + PutObjectAclResponse.Builder requestCharged(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLegalHoldRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLegalHoldRequest.java new file mode 100644 index 000000000000..5e62512d19d7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLegalHoldRequest.java @@ -0,0 +1,56 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectLegalHoldRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHold; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectLegalHoldRequest extends S3Request implements ToCopyableBuilder +{ + protected PutObjectLegalHoldRequest() {} + public PutObjectLegalHoldRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockLegalHold legalHold(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectLegalHoldRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutObjectLegalHoldRequest.Builder bucket(String p0); + PutObjectLegalHoldRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutObjectLegalHoldRequest.Builder checksumAlgorithm(String p0); + PutObjectLegalHoldRequest.Builder contentMD5(String p0); + PutObjectLegalHoldRequest.Builder expectedBucketOwner(String p0); + PutObjectLegalHoldRequest.Builder key(String p0); + PutObjectLegalHoldRequest.Builder legalHold(ObjectLockLegalHold p0); + PutObjectLegalHoldRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutObjectLegalHoldRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutObjectLegalHoldRequest.Builder requestPayer(RequestPayer p0); + PutObjectLegalHoldRequest.Builder requestPayer(String p0); + PutObjectLegalHoldRequest.Builder versionId(String p0); + default PutObjectLegalHoldRequest.Builder legalHold(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLegalHoldResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLegalHoldResponse.java new file mode 100644 index 000000000000..0993a82e7a56 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLegalHoldResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectLegalHoldResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectLegalHoldResponse extends S3Response implements ToCopyableBuilder +{ + protected PutObjectLegalHoldResponse() {} + public PutObjectLegalHoldResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectLegalHoldResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + PutObjectLegalHoldResponse.Builder requestCharged(RequestCharged p0); + PutObjectLegalHoldResponse.Builder requestCharged(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLockConfigurationRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLockConfigurationRequest.java new file mode 100644 index 000000000000..202260eef1a0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLockConfigurationRequest.java @@ -0,0 +1,54 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectLockConfigurationRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ObjectLockConfiguration; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectLockConfigurationRequest extends S3Request implements ToCopyableBuilder +{ + protected PutObjectLockConfigurationRequest() {} + public PutObjectLockConfigurationRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockConfiguration objectLockConfiguration(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String token(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectLockConfigurationRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutObjectLockConfigurationRequest.Builder bucket(String p0); + PutObjectLockConfigurationRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutObjectLockConfigurationRequest.Builder checksumAlgorithm(String p0); + PutObjectLockConfigurationRequest.Builder contentMD5(String p0); + PutObjectLockConfigurationRequest.Builder expectedBucketOwner(String p0); + PutObjectLockConfigurationRequest.Builder objectLockConfiguration(ObjectLockConfiguration p0); + PutObjectLockConfigurationRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutObjectLockConfigurationRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutObjectLockConfigurationRequest.Builder requestPayer(RequestPayer p0); + PutObjectLockConfigurationRequest.Builder requestPayer(String p0); + PutObjectLockConfigurationRequest.Builder token(String p0); + default PutObjectLockConfigurationRequest.Builder objectLockConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLockConfigurationResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLockConfigurationResponse.java new file mode 100644 index 000000000000..726dd4f8ebcb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectLockConfigurationResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectLockConfigurationResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectLockConfigurationResponse extends S3Response implements ToCopyableBuilder +{ + protected PutObjectLockConfigurationResponse() {} + public PutObjectLockConfigurationResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectLockConfigurationResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + PutObjectLockConfigurationResponse.Builder requestCharged(RequestCharged p0); + PutObjectLockConfigurationResponse.Builder requestCharged(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRequest.java new file mode 100644 index 000000000000..9c4c62e3e749 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRequest.java @@ -0,0 +1,130 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ObjectCannedACL; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHoldStatus; +import software.amazon.awssdk.services.s3.model.ObjectLockMode; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.services.s3.model.Tagging; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectRequest extends S3Request implements ToCopyableBuilder +{ + protected PutObjectRequest() {} + public PutObjectRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final Instant expires(){ return null; } + public final Instant objectLockRetainUntilDate(){ return null; } + public final List> sdkFields(){ return null; } + public final Long contentLength(){ return null; } + public final Map metadata(){ return null; } + public final ObjectCannedACL acl(){ return null; } + public final ObjectLockLegalHoldStatus objectLockLegalHoldStatus(){ return null; } + public final ObjectLockMode objectLockMode(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String aclAsString(){ return null; } + public final String bucket(){ return null; } + public final String cacheControl(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String contentDisposition(){ return null; } + public final String contentEncoding(){ return null; } + public final String contentLanguage(){ return null; } + public final String contentMD5(){ return null; } + public final String contentType(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String grantFullControl(){ return null; } + public final String grantRead(){ return null; } + public final String grantReadACP(){ return null; } + public final String grantWriteACP(){ return null; } + public final String key(){ return null; } + public final String objectLockLegalHoldStatusAsString(){ return null; } + public final String objectLockModeAsString(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsEncryptionContext(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String storageClassAsString(){ return null; } + public final String tagging(){ return null; } + public final String toString(){ return null; } + public final String websiteRedirectLocation(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasMetadata(){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutObjectRequest.Builder acl(ObjectCannedACL p0); + PutObjectRequest.Builder acl(String p0); + PutObjectRequest.Builder bucket(String p0); + PutObjectRequest.Builder bucketKeyEnabled(Boolean p0); + PutObjectRequest.Builder cacheControl(String p0); + PutObjectRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutObjectRequest.Builder checksumAlgorithm(String p0); + PutObjectRequest.Builder checksumCRC32(String p0); + PutObjectRequest.Builder checksumCRC32C(String p0); + PutObjectRequest.Builder checksumSHA1(String p0); + PutObjectRequest.Builder checksumSHA256(String p0); + PutObjectRequest.Builder contentDisposition(String p0); + PutObjectRequest.Builder contentEncoding(String p0); + PutObjectRequest.Builder contentLanguage(String p0); + PutObjectRequest.Builder contentLength(Long p0); + PutObjectRequest.Builder contentMD5(String p0); + PutObjectRequest.Builder contentType(String p0); + PutObjectRequest.Builder expectedBucketOwner(String p0); + PutObjectRequest.Builder expires(Instant p0); + PutObjectRequest.Builder grantFullControl(String p0); + PutObjectRequest.Builder grantRead(String p0); + PutObjectRequest.Builder grantReadACP(String p0); + PutObjectRequest.Builder grantWriteACP(String p0); + PutObjectRequest.Builder key(String p0); + PutObjectRequest.Builder metadata(Map p0); + PutObjectRequest.Builder objectLockLegalHoldStatus(ObjectLockLegalHoldStatus p0); + PutObjectRequest.Builder objectLockLegalHoldStatus(String p0); + PutObjectRequest.Builder objectLockMode(ObjectLockMode p0); + PutObjectRequest.Builder objectLockMode(String p0); + PutObjectRequest.Builder objectLockRetainUntilDate(Instant p0); + PutObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutObjectRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutObjectRequest.Builder requestPayer(RequestPayer p0); + PutObjectRequest.Builder requestPayer(String p0); + PutObjectRequest.Builder serverSideEncryption(ServerSideEncryption p0); + PutObjectRequest.Builder serverSideEncryption(String p0); + PutObjectRequest.Builder sseCustomerAlgorithm(String p0); + PutObjectRequest.Builder sseCustomerKey(String p0); + PutObjectRequest.Builder sseCustomerKeyMD5(String p0); + PutObjectRequest.Builder ssekmsEncryptionContext(String p0); + PutObjectRequest.Builder ssekmsKeyId(String p0); + PutObjectRequest.Builder storageClass(StorageClass p0); + PutObjectRequest.Builder storageClass(String p0); + PutObjectRequest.Builder tagging(String p0); + PutObjectRequest.Builder tagging(Tagging p0); + PutObjectRequest.Builder websiteRedirectLocation(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectResponse.java new file mode 100644 index 000000000000..6aa165ffd377 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectResponse.java @@ -0,0 +1,62 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectResponse extends S3Response implements ToCopyableBuilder +{ + protected PutObjectResponse() {} + public PutObjectResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String eTag(){ return null; } + public final String expiration(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsEncryptionContext(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + PutObjectResponse.Builder bucketKeyEnabled(Boolean p0); + PutObjectResponse.Builder checksumCRC32(String p0); + PutObjectResponse.Builder checksumCRC32C(String p0); + PutObjectResponse.Builder checksumSHA1(String p0); + PutObjectResponse.Builder checksumSHA256(String p0); + PutObjectResponse.Builder eTag(String p0); + PutObjectResponse.Builder expiration(String p0); + PutObjectResponse.Builder requestCharged(RequestCharged p0); + PutObjectResponse.Builder requestCharged(String p0); + PutObjectResponse.Builder serverSideEncryption(ServerSideEncryption p0); + PutObjectResponse.Builder serverSideEncryption(String p0); + PutObjectResponse.Builder sseCustomerAlgorithm(String p0); + PutObjectResponse.Builder sseCustomerKeyMD5(String p0); + PutObjectResponse.Builder ssekmsEncryptionContext(String p0); + PutObjectResponse.Builder ssekmsKeyId(String p0); + PutObjectResponse.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRetentionRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRetentionRequest.java new file mode 100644 index 000000000000..37c363c3c1bf --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRetentionRequest.java @@ -0,0 +1,58 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectRetentionRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ObjectLockRetention; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectRetentionRequest extends S3Request implements ToCopyableBuilder +{ + protected PutObjectRetentionRequest() {} + public PutObjectRetentionRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bypassGovernanceRetention(){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectLockRetention retention(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectRetentionRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutObjectRetentionRequest.Builder bucket(String p0); + PutObjectRetentionRequest.Builder bypassGovernanceRetention(Boolean p0); + PutObjectRetentionRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutObjectRetentionRequest.Builder checksumAlgorithm(String p0); + PutObjectRetentionRequest.Builder contentMD5(String p0); + PutObjectRetentionRequest.Builder expectedBucketOwner(String p0); + PutObjectRetentionRequest.Builder key(String p0); + PutObjectRetentionRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutObjectRetentionRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutObjectRetentionRequest.Builder requestPayer(RequestPayer p0); + PutObjectRetentionRequest.Builder requestPayer(String p0); + PutObjectRetentionRequest.Builder retention(ObjectLockRetention p0); + PutObjectRetentionRequest.Builder versionId(String p0); + default PutObjectRetentionRequest.Builder retention(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRetentionResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRetentionResponse.java new file mode 100644 index 000000000000..abe0ab1a9a3c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectRetentionResponse.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectRetentionResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectRetentionResponse extends S3Response implements ToCopyableBuilder +{ + protected PutObjectRetentionResponse() {} + public PutObjectRetentionResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectRetentionResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + PutObjectRetentionResponse.Builder requestCharged(RequestCharged p0); + PutObjectRetentionResponse.Builder requestCharged(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectTaggingRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectTaggingRequest.java new file mode 100644 index 000000000000..92dabb80f786 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectTaggingRequest.java @@ -0,0 +1,56 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectTaggingRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.Tagging; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectTaggingRequest extends S3Request implements ToCopyableBuilder +{ + protected PutObjectTaggingRequest() {} + public PutObjectTaggingRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final Tagging tagging(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectTaggingRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutObjectTaggingRequest.Builder bucket(String p0); + PutObjectTaggingRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutObjectTaggingRequest.Builder checksumAlgorithm(String p0); + PutObjectTaggingRequest.Builder contentMD5(String p0); + PutObjectTaggingRequest.Builder expectedBucketOwner(String p0); + PutObjectTaggingRequest.Builder key(String p0); + PutObjectTaggingRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutObjectTaggingRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutObjectTaggingRequest.Builder requestPayer(RequestPayer p0); + PutObjectTaggingRequest.Builder requestPayer(String p0); + PutObjectTaggingRequest.Builder tagging(Tagging p0); + PutObjectTaggingRequest.Builder versionId(String p0); + default PutObjectTaggingRequest.Builder tagging(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectTaggingResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectTaggingResponse.java new file mode 100644 index 000000000000..a3c012376e30 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutObjectTaggingResponse.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutObjectTaggingResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutObjectTaggingResponse extends S3Response implements ToCopyableBuilder +{ + protected PutObjectTaggingResponse() {} + public PutObjectTaggingResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutObjectTaggingResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + PutObjectTaggingResponse.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutPublicAccessBlockRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutPublicAccessBlockRequest.java new file mode 100644 index 000000000000..da378a05f5aa --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutPublicAccessBlockRequest.java @@ -0,0 +1,47 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutPublicAccessBlockRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.PublicAccessBlockConfiguration; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutPublicAccessBlockRequest extends S3Request implements ToCopyableBuilder +{ + protected PutPublicAccessBlockRequest() {} + public PutPublicAccessBlockRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final PublicAccessBlockConfiguration publicAccessBlockConfiguration(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutPublicAccessBlockRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + PutPublicAccessBlockRequest.Builder bucket(String p0); + PutPublicAccessBlockRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + PutPublicAccessBlockRequest.Builder checksumAlgorithm(String p0); + PutPublicAccessBlockRequest.Builder contentMD5(String p0); + PutPublicAccessBlockRequest.Builder expectedBucketOwner(String p0); + PutPublicAccessBlockRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + PutPublicAccessBlockRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + PutPublicAccessBlockRequest.Builder publicAccessBlockConfiguration(PublicAccessBlockConfiguration p0); + default PutPublicAccessBlockRequest.Builder publicAccessBlockConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutPublicAccessBlockResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutPublicAccessBlockResponse.java new file mode 100644 index 000000000000..0e4955864571 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/PutPublicAccessBlockResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.PutPublicAccessBlockResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class PutPublicAccessBlockResponse extends S3Response implements ToCopyableBuilder +{ + protected PutPublicAccessBlockResponse() {} + public PutPublicAccessBlockResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static PutPublicAccessBlockResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/QueueConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/QueueConfiguration.java new file mode 100644 index 000000000000..c3b03ab4563b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/QueueConfiguration.java @@ -0,0 +1,46 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.QueueConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Event; +import software.amazon.awssdk.services.s3.model.NotificationConfigurationFilter; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class QueueConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected QueueConfiguration() {} + public QueueConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List events(){ return null; } + public final List> sdkFields(){ return null; } + public final List eventsAsStrings(){ return null; } + public final NotificationConfigurationFilter filter(){ return null; } + public final String id(){ return null; } + public final String queueArn(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasEvents(){ return false; } + public final int hashCode(){ return 0; } + public static QueueConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + QueueConfiguration.Builder events(Collection p0); + QueueConfiguration.Builder events(Event... p0); + QueueConfiguration.Builder eventsWithStrings(Collection p0); + QueueConfiguration.Builder eventsWithStrings(String... p0); + QueueConfiguration.Builder filter(NotificationConfigurationFilter p0); + QueueConfiguration.Builder id(String p0); + QueueConfiguration.Builder queueArn(String p0); + default QueueConfiguration.Builder filter(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/QuoteFields.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/QuoteFields.java new file mode 100644 index 000000000000..117b83a84f57 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/QuoteFields.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.QuoteFields for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum QuoteFields +{ + ALWAYS, ASNEEDED, UNKNOWN_TO_SDK_VERSION; + private QuoteFields() {} + public String toString(){ return null; } + public static QuoteFields fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RecordsEvent.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RecordsEvent.java new file mode 100644 index 000000000000..f1097cae4cb6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RecordsEvent.java @@ -0,0 +1,48 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RecordsEvent for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.nio.ByteBuffer; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkBytes; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream; +import software.amazon.awssdk.services.s3.model.SelectObjectContentResponseHandler; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RecordsEvent implements SdkPojo, SelectObjectContentEventStream, Serializable, ToCopyableBuilder +{ + protected RecordsEvent() {} + protected RecordsEvent(RecordsEvent.BuilderImpl p0){} + public RecordsEvent.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RecordsEvent copy(java.util.function.Consumer p0){ return null; } + public final SdkBytes payload(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static RecordsEvent.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + public void accept(SelectObjectContentResponseHandler.Visitor p0){} + static class BuilderImpl implements RecordsEvent.Builder + { + protected BuilderImpl(){} + protected BuilderImpl(RecordsEvent p0){} + public List> sdkFields(){ return null; } + public RecordsEvent build(){ return null; } + public final ByteBuffer getPayload(){ return null; } + public final RecordsEvent.Builder payload(SdkBytes p0){ return null; } + public final void setPayload(ByteBuffer p0){} + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + RecordsEvent.Builder payload(SdkBytes p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Redirect.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Redirect.java new file mode 100644 index 000000000000..71675a33bcb6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Redirect.java @@ -0,0 +1,41 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Redirect for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Protocol; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Redirect implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Redirect() {} + public Redirect.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Protocol protocol(){ return null; } + public final String hostName(){ return null; } + public final String httpRedirectCode(){ return null; } + public final String protocolAsString(){ return null; } + public final String replaceKeyPrefixWith(){ return null; } + public final String replaceKeyWith(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Redirect.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Redirect.Builder hostName(String p0); + Redirect.Builder httpRedirectCode(String p0); + Redirect.Builder protocol(Protocol p0); + Redirect.Builder protocol(String p0); + Redirect.Builder replaceKeyPrefixWith(String p0); + Redirect.Builder replaceKeyWith(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RedirectAllRequestsTo.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RedirectAllRequestsTo.java new file mode 100644 index 000000000000..627a914a704b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RedirectAllRequestsTo.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RedirectAllRequestsTo for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Protocol; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RedirectAllRequestsTo implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected RedirectAllRequestsTo() {} + public RedirectAllRequestsTo.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Protocol protocol(){ return null; } + public final String hostName(){ return null; } + public final String protocolAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static RedirectAllRequestsTo.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + RedirectAllRequestsTo.Builder hostName(String p0); + RedirectAllRequestsTo.Builder protocol(Protocol p0); + RedirectAllRequestsTo.Builder protocol(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicaModifications.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicaModifications.java new file mode 100644 index 000000000000..d6b3d18d2705 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicaModifications.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicaModifications for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ReplicaModificationsStatus; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ReplicaModifications implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ReplicaModifications() {} + public ReplicaModifications.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ReplicaModificationsStatus status(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ReplicaModifications.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ReplicaModifications.Builder status(ReplicaModificationsStatus p0); + ReplicaModifications.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicaModificationsStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicaModificationsStatus.java new file mode 100644 index 000000000000..9cfd1e3658a7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicaModificationsStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicaModificationsStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ReplicaModificationsStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private ReplicaModificationsStatus() {} + public String toString(){ return null; } + public static ReplicaModificationsStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationConfiguration.java new file mode 100644 index 000000000000..8fab2b62df4b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationConfiguration.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ReplicationRule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ReplicationConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ReplicationConfiguration() {} + public ReplicationConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List rules(){ return null; } + public final List> sdkFields(){ return null; } + public final String role(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasRules(){ return false; } + public final int hashCode(){ return 0; } + public static ReplicationConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ReplicationConfiguration.Builder role(String p0); + ReplicationConfiguration.Builder rules(Collection p0); + ReplicationConfiguration.Builder rules(ReplicationRule... p0); + ReplicationConfiguration.Builder rules(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRule.java new file mode 100644 index 000000000000..81e6a651f8d3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRule.java @@ -0,0 +1,60 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationRule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.DeleteMarkerReplication; +import software.amazon.awssdk.services.s3.model.Destination; +import software.amazon.awssdk.services.s3.model.ExistingObjectReplication; +import software.amazon.awssdk.services.s3.model.ReplicationRuleFilter; +import software.amazon.awssdk.services.s3.model.ReplicationRuleStatus; +import software.amazon.awssdk.services.s3.model.SourceSelectionCriteria; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ReplicationRule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ReplicationRule() {} + public ReplicationRule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final DeleteMarkerReplication deleteMarkerReplication(){ return null; } + public final Destination destination(){ return null; } + public final ExistingObjectReplication existingObjectReplication(){ return null; } + public final Integer priority(){ return null; } + public final List> sdkFields(){ return null; } + public final ReplicationRuleFilter filter(){ return null; } + public final ReplicationRuleStatus status(){ return null; } + public final SourceSelectionCriteria sourceSelectionCriteria(){ return null; } + public final String id(){ return null; } + public final String prefix(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ReplicationRule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ReplicationRule.Builder deleteMarkerReplication(DeleteMarkerReplication p0); + ReplicationRule.Builder destination(Destination p0); + ReplicationRule.Builder existingObjectReplication(ExistingObjectReplication p0); + ReplicationRule.Builder filter(ReplicationRuleFilter p0); + ReplicationRule.Builder id(String p0); + ReplicationRule.Builder prefix(String p0); + ReplicationRule.Builder priority(Integer p0); + ReplicationRule.Builder sourceSelectionCriteria(SourceSelectionCriteria p0); + ReplicationRule.Builder status(ReplicationRuleStatus p0); + ReplicationRule.Builder status(String p0); + default ReplicationRule.Builder deleteMarkerReplication(java.util.function.Consumer p0){ return null; } + default ReplicationRule.Builder destination(java.util.function.Consumer p0){ return null; } + default ReplicationRule.Builder existingObjectReplication(java.util.function.Consumer p0){ return null; } + default ReplicationRule.Builder filter(java.util.function.Consumer p0){ return null; } + default ReplicationRule.Builder sourceSelectionCriteria(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleAndOperator.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleAndOperator.java new file mode 100644 index 000000000000..24a06acf9569 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleAndOperator.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationRuleAndOperator for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ReplicationRuleAndOperator implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ReplicationRuleAndOperator() {} + public ReplicationRuleAndOperator.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List tags(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTags(){ return false; } + public final int hashCode(){ return 0; } + public static ReplicationRuleAndOperator.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ReplicationRuleAndOperator.Builder prefix(String p0); + ReplicationRuleAndOperator.Builder tags(Collection p0); + ReplicationRuleAndOperator.Builder tags(Tag... p0); + ReplicationRuleAndOperator.Builder tags(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleFilter.java new file mode 100644 index 000000000000..485510160b62 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleFilter.java @@ -0,0 +1,50 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationRuleFilter for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ReplicationRuleAndOperator; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ReplicationRuleFilter implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ReplicationRuleFilter() {} + public ReplicationRuleFilter.Builder toBuilder(){ return null; } + public ReplicationRuleFilter.Type type(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ReplicationRuleAndOperator and(){ return null; } + public final String prefix(){ return null; } + public final String toString(){ return null; } + public final Tag tag(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ReplicationRuleFilter fromAnd(ReplicationRuleAndOperator p0){ return null; } + public static ReplicationRuleFilter fromAnd(java.util.function.Consumer p0){ return null; } + public static ReplicationRuleFilter fromPrefix(String p0){ return null; } + public static ReplicationRuleFilter fromTag(Tag p0){ return null; } + public static ReplicationRuleFilter fromTag(java.util.function.Consumer p0){ return null; } + public static ReplicationRuleFilter.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public enum Type + { + AND, PREFIX, TAG, UNKNOWN_TO_SDK_VERSION; + private Type() {} + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ReplicationRuleFilter.Builder and(ReplicationRuleAndOperator p0); + ReplicationRuleFilter.Builder prefix(String p0); + ReplicationRuleFilter.Builder tag(Tag p0); + default ReplicationRuleFilter.Builder and(java.util.function.Consumer p0){ return null; } + default ReplicationRuleFilter.Builder tag(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleStatus.java new file mode 100644 index 000000000000..8fdd81e2259c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationRuleStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationRuleStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ReplicationRuleStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private ReplicationRuleStatus() {} + public String toString(){ return null; } + public static ReplicationRuleStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationStatus.java new file mode 100644 index 000000000000..009951b68652 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ReplicationStatus +{ + COMPLETE, FAILED, PENDING, REPLICA, UNKNOWN_TO_SDK_VERSION; + private ReplicationStatus() {} + public String toString(){ return null; } + public static ReplicationStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTime.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTime.java new file mode 100644 index 000000000000..35407af41a17 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTime.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationTime for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ReplicationTimeStatus; +import software.amazon.awssdk.services.s3.model.ReplicationTimeValue; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ReplicationTime implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ReplicationTime() {} + public ReplicationTime.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ReplicationTimeStatus status(){ return null; } + public final ReplicationTimeValue time(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ReplicationTime.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ReplicationTime.Builder status(ReplicationTimeStatus p0); + ReplicationTime.Builder status(String p0); + ReplicationTime.Builder time(ReplicationTimeValue p0); + default ReplicationTime.Builder time(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTimeStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTimeStatus.java new file mode 100644 index 000000000000..0540e63b231b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTimeStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationTimeStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ReplicationTimeStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private ReplicationTimeStatus() {} + public String toString(){ return null; } + public static ReplicationTimeStatus fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTimeValue.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTimeValue.java new file mode 100644 index 000000000000..45bfb4032d0f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ReplicationTimeValue.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ReplicationTimeValue for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ReplicationTimeValue implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ReplicationTimeValue() {} + public ReplicationTimeValue.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer minutes(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ReplicationTimeValue.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ReplicationTimeValue.Builder minutes(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestCharged.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestCharged.java new file mode 100644 index 000000000000..727e4179ddb3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestCharged.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RequestCharged for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum RequestCharged +{ + REQUESTER, UNKNOWN_TO_SDK_VERSION; + private RequestCharged() {} + public String toString(){ return null; } + public static RequestCharged fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestPayer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestPayer.java new file mode 100644 index 000000000000..00a81efc13a1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestPayer.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RequestPayer for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum RequestPayer +{ + REQUESTER, UNKNOWN_TO_SDK_VERSION; + private RequestPayer() {} + public String toString(){ return null; } + public static RequestPayer fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestPaymentConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestPaymentConfiguration.java new file mode 100644 index 000000000000..1b56dd17be12 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestPaymentConfiguration.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RequestPaymentConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Payer; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RequestPaymentConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected RequestPaymentConfiguration() {} + public RequestPaymentConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Payer payer(){ return null; } + public final String payerAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static RequestPaymentConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + RequestPaymentConfiguration.Builder payer(Payer p0); + RequestPaymentConfiguration.Builder payer(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestProgress.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestProgress.java new file mode 100644 index 000000000000..53d19ac4e638 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RequestProgress.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RequestProgress for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RequestProgress implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected RequestProgress() {} + public RequestProgress.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean enabled(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static RequestProgress.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + RequestProgress.Builder enabled(Boolean p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreObjectRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreObjectRequest.java new file mode 100644 index 000000000000..5b5b1cda102c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreObjectRequest.java @@ -0,0 +1,54 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RestoreObjectRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.RestoreRequest; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RestoreObjectRequest extends S3Request implements ToCopyableBuilder +{ + protected RestoreObjectRequest() {} + public RestoreObjectRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final RestoreRequest restoreRequest(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static RestoreObjectRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + RestoreObjectRequest.Builder bucket(String p0); + RestoreObjectRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + RestoreObjectRequest.Builder checksumAlgorithm(String p0); + RestoreObjectRequest.Builder expectedBucketOwner(String p0); + RestoreObjectRequest.Builder key(String p0); + RestoreObjectRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + RestoreObjectRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + RestoreObjectRequest.Builder requestPayer(RequestPayer p0); + RestoreObjectRequest.Builder requestPayer(String p0); + RestoreObjectRequest.Builder restoreRequest(RestoreRequest p0); + RestoreObjectRequest.Builder versionId(String p0); + default RestoreObjectRequest.Builder restoreRequest(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreObjectResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreObjectResponse.java new file mode 100644 index 000000000000..af240697a1c8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreObjectResponse.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RestoreObjectResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RestoreObjectResponse extends S3Response implements ToCopyableBuilder +{ + protected RestoreObjectResponse() {} + public RestoreObjectResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String restoreOutputPath(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static RestoreObjectResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + RestoreObjectResponse.Builder requestCharged(RequestCharged p0); + RestoreObjectResponse.Builder requestCharged(String p0); + RestoreObjectResponse.Builder restoreOutputPath(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreRequest.java new file mode 100644 index 000000000000..86ac05d89736 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreRequest.java @@ -0,0 +1,55 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RestoreRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.GlacierJobParameters; +import software.amazon.awssdk.services.s3.model.OutputLocation; +import software.amazon.awssdk.services.s3.model.RestoreRequestType; +import software.amazon.awssdk.services.s3.model.SelectParameters; +import software.amazon.awssdk.services.s3.model.Tier; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RestoreRequest implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected RestoreRequest() {} + public RestoreRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final GlacierJobParameters glacierJobParameters(){ return null; } + public final Integer days(){ return null; } + public final List> sdkFields(){ return null; } + public final OutputLocation outputLocation(){ return null; } + public final RestoreRequestType type(){ return null; } + public final SelectParameters selectParameters(){ return null; } + public final String description(){ return null; } + public final String tierAsString(){ return null; } + public final String toString(){ return null; } + public final String typeAsString(){ return null; } + public final Tier tier(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static RestoreRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + RestoreRequest.Builder days(Integer p0); + RestoreRequest.Builder description(String p0); + RestoreRequest.Builder glacierJobParameters(GlacierJobParameters p0); + RestoreRequest.Builder outputLocation(OutputLocation p0); + RestoreRequest.Builder selectParameters(SelectParameters p0); + RestoreRequest.Builder tier(String p0); + RestoreRequest.Builder tier(Tier p0); + RestoreRequest.Builder type(RestoreRequestType p0); + RestoreRequest.Builder type(String p0); + default RestoreRequest.Builder glacierJobParameters(java.util.function.Consumer p0){ return null; } + default RestoreRequest.Builder outputLocation(java.util.function.Consumer p0){ return null; } + default RestoreRequest.Builder selectParameters(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreRequestType.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreRequestType.java new file mode 100644 index 000000000000..6539b07dea80 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RestoreRequestType.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RestoreRequestType for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum RestoreRequestType +{ + SELECT, UNKNOWN_TO_SDK_VERSION; + private RestoreRequestType() {} + public String toString(){ return null; } + public static RestoreRequestType fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RoutingRule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RoutingRule.java new file mode 100644 index 000000000000..5a65354935fe --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/RoutingRule.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.RoutingRule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Condition; +import software.amazon.awssdk.services.s3.model.Redirect; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class RoutingRule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected RoutingRule() {} + public RoutingRule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Condition condition(){ return null; } + public final List> sdkFields(){ return null; } + public final Redirect redirect(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static RoutingRule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + RoutingRule.Builder condition(Condition p0); + RoutingRule.Builder redirect(Redirect p0); + default RoutingRule.Builder condition(java.util.function.Consumer p0){ return null; } + default RoutingRule.Builder redirect(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Error.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Error.java new file mode 100644 index 000000000000..87d25aef0961 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Error.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.S3Error for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class S3Error implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected S3Error() {} + public S3Error.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String code(){ return null; } + public final String key(){ return null; } + public final String message(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static S3Error.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + S3Error.Builder code(String p0); + S3Error.Builder key(String p0); + S3Error.Builder message(String p0); + S3Error.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3KeyFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3KeyFilter.java new file mode 100644 index 000000000000..8e0919dd4b52 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3KeyFilter.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.S3KeyFilter for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.FilterRule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class S3KeyFilter implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected S3KeyFilter() {} + public S3KeyFilter.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List filterRules(){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasFilterRules(){ return false; } + public final int hashCode(){ return 0; } + public static S3KeyFilter.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + S3KeyFilter.Builder filterRules(Collection p0); + S3KeyFilter.Builder filterRules(FilterRule... p0); + S3KeyFilter.Builder filterRules(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Location.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Location.java new file mode 100644 index 000000000000..0d599376d79b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Location.java @@ -0,0 +1,64 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.S3Location for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Encryption; +import software.amazon.awssdk.services.s3.model.Grant; +import software.amazon.awssdk.services.s3.model.MetadataEntry; +import software.amazon.awssdk.services.s3.model.ObjectCannedACL; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.services.s3.model.Tagging; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class S3Location implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected S3Location() {} + public S3Location.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Encryption encryption(){ return null; } + public final List accessControlList(){ return null; } + public final List userMetadata(){ return null; } + public final List> sdkFields(){ return null; } + public final ObjectCannedACL cannedACL(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String bucketName(){ return null; } + public final String cannedACLAsString(){ return null; } + public final String prefix(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final Tagging tagging(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasAccessControlList(){ return false; } + public final boolean hasUserMetadata(){ return false; } + public final int hashCode(){ return 0; } + public static S3Location.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + S3Location.Builder accessControlList(Collection p0); + S3Location.Builder accessControlList(Grant... p0); + S3Location.Builder accessControlList(java.util.function.Consumer... p0); + S3Location.Builder bucketName(String p0); + S3Location.Builder cannedACL(ObjectCannedACL p0); + S3Location.Builder cannedACL(String p0); + S3Location.Builder encryption(Encryption p0); + S3Location.Builder prefix(String p0); + S3Location.Builder storageClass(StorageClass p0); + S3Location.Builder storageClass(String p0); + S3Location.Builder tagging(Tagging p0); + S3Location.Builder userMetadata(Collection p0); + S3Location.Builder userMetadata(MetadataEntry... p0); + S3Location.Builder userMetadata(java.util.function.Consumer... p0); + default S3Location.Builder encryption(java.util.function.Consumer p0){ return null; } + default S3Location.Builder tagging(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Object.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Object.java new file mode 100644 index 000000000000..5b803a66a1fc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Object.java @@ -0,0 +1,56 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.S3Object for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.ObjectStorageClass; +import software.amazon.awssdk.services.s3.model.Owner; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class S3Object implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected S3Object() {} + public S3Object.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Instant lastModified(){ return null; } + public final List checksumAlgorithm(){ return null; } + public final List> sdkFields(){ return null; } + public final List checksumAlgorithmAsStrings(){ return null; } + public final Long size(){ return null; } + public final ObjectStorageClass storageClass(){ return null; } + public final Owner owner(){ return null; } + public final String eTag(){ return null; } + public final String key(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasChecksumAlgorithm(){ return false; } + public final int hashCode(){ return 0; } + public static S3Object.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + S3Object.Builder checksumAlgorithm(ChecksumAlgorithm... p0); + S3Object.Builder checksumAlgorithm(Collection p0); + S3Object.Builder checksumAlgorithmWithStrings(Collection p0); + S3Object.Builder checksumAlgorithmWithStrings(String... p0); + S3Object.Builder eTag(String p0); + S3Object.Builder key(String p0); + S3Object.Builder lastModified(Instant p0); + S3Object.Builder owner(Owner p0); + S3Object.Builder size(Long p0); + S3Object.Builder storageClass(ObjectStorageClass p0); + S3Object.Builder storageClass(String p0); + default S3Object.Builder owner(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Request.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Request.java new file mode 100644 index 000000000000..34f5cc44ca4e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Request.java @@ -0,0 +1,16 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.S3Request for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import software.amazon.awssdk.awscore.AwsRequest; + +abstract public class S3Request extends AwsRequest +{ + protected S3Request() {} + protected S3Request(S3Request.Builder p0){} + public abstract S3Request.Builder toBuilder(); + static public interface Builder extends AwsRequest.Builder + { + S3Request build(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Response.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Response.java new file mode 100644 index 000000000000..866771cde955 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3Response.java @@ -0,0 +1,20 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.S3Response for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import software.amazon.awssdk.awscore.AwsResponse; +import software.amazon.awssdk.awscore.AwsResponseMetadata; +import software.amazon.awssdk.services.s3.model.S3ResponseMetadata; + +abstract public class S3Response extends AwsResponse +{ + protected S3Response() {} + protected S3Response(S3Response.Builder p0){} + public S3ResponseMetadata responseMetadata(){ return null; } + static public interface Builder extends AwsResponse.Builder + { + S3Response build(); + S3Response.Builder responseMetadata(AwsResponseMetadata p0); + S3ResponseMetadata responseMetadata(); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3ResponseMetadata.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3ResponseMetadata.java new file mode 100644 index 000000000000..109075e09a7a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/S3ResponseMetadata.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.S3ResponseMetadata for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import software.amazon.awssdk.awscore.AwsResponseMetadata; + +public class S3ResponseMetadata extends AwsResponseMetadata +{ + protected S3ResponseMetadata() {} + public String cloudFrontId(){ return null; } + public String extendedRequestId(){ return null; } + public String requestId(){ return null; } + public static S3ResponseMetadata create(AwsResponseMetadata p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SSEKMS.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SSEKMS.java new file mode 100644 index 000000000000..a980ded7fb3b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SSEKMS.java @@ -0,0 +1,30 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SSEKMS for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class SSEKMS implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected SSEKMS() {} + public SSEKMS.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String keyId(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static SSEKMS.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + SSEKMS.Builder keyId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SSES3.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SSES3.java new file mode 100644 index 000000000000..9bd928b7914c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SSES3.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SSES3 for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class SSES3 implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected SSES3() {} + public SSES3.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static SSES3.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ScanRange.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ScanRange.java new file mode 100644 index 000000000000..7e3a34137a61 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ScanRange.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ScanRange for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ScanRange implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ScanRange() {} + public ScanRange.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Long end(){ return null; } + public final Long start(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ScanRange.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ScanRange.Builder end(Long p0); + ScanRange.Builder start(Long p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentEventStream.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentEventStream.java new file mode 100644 index 000000000000..0a81f00bc354 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentEventStream.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ContinuationEvent; +import software.amazon.awssdk.services.s3.model.EndEvent; +import software.amazon.awssdk.services.s3.model.ProgressEvent; +import software.amazon.awssdk.services.s3.model.RecordsEvent; +import software.amazon.awssdk.services.s3.model.SelectObjectContentResponseHandler; +import software.amazon.awssdk.services.s3.model.StatsEvent; + +public interface SelectObjectContentEventStream extends SdkPojo +{ + default SelectObjectContentEventStream.EventType sdkEventType(){ return null; } + static ContinuationEvent.Builder contBuilder(){ return null; } + static EndEvent.Builder endBuilder(){ return null; } + static ProgressEvent.Builder progressBuilder(){ return null; } + static RecordsEvent.Builder recordsBuilder(){ return null; } + static SelectObjectContentEventStream UNKNOWN = null; + static StatsEvent.Builder statsBuilder(){ return null; } + static public enum EventType + { + CONT, END, PROGRESS, RECORDS, STATS, UNKNOWN_TO_SDK_VERSION; + private EventType() {} + public String toString(){ return null; } + public static SelectObjectContentEventStream.EventType fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } + } + void accept(SelectObjectContentResponseHandler.Visitor p0); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentRequest.java new file mode 100644 index 000000000000..f7320f5e8a8e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentRequest.java @@ -0,0 +1,67 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SelectObjectContentRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ExpressionType; +import software.amazon.awssdk.services.s3.model.InputSerialization; +import software.amazon.awssdk.services.s3.model.OutputSerialization; +import software.amazon.awssdk.services.s3.model.RequestProgress; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.ScanRange; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class SelectObjectContentRequest extends S3Request implements ToCopyableBuilder +{ + protected SelectObjectContentRequest() {} + public SelectObjectContentRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ExpressionType expressionType(){ return null; } + public final InputSerialization inputSerialization(){ return null; } + public final List> sdkFields(){ return null; } + public final OutputSerialization outputSerialization(){ return null; } + public final RequestProgress requestProgress(){ return null; } + public final ScanRange scanRange(){ return null; } + public final String bucket(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String expression(){ return null; } + public final String expressionTypeAsString(){ return null; } + public final String key(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static SelectObjectContentRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + SelectObjectContentRequest.Builder bucket(String p0); + SelectObjectContentRequest.Builder expectedBucketOwner(String p0); + SelectObjectContentRequest.Builder expression(String p0); + SelectObjectContentRequest.Builder expressionType(ExpressionType p0); + SelectObjectContentRequest.Builder expressionType(String p0); + SelectObjectContentRequest.Builder inputSerialization(InputSerialization p0); + SelectObjectContentRequest.Builder key(String p0); + SelectObjectContentRequest.Builder outputSerialization(OutputSerialization p0); + SelectObjectContentRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + SelectObjectContentRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + SelectObjectContentRequest.Builder requestProgress(RequestProgress p0); + SelectObjectContentRequest.Builder scanRange(ScanRange p0); + SelectObjectContentRequest.Builder sseCustomerAlgorithm(String p0); + SelectObjectContentRequest.Builder sseCustomerKey(String p0); + SelectObjectContentRequest.Builder sseCustomerKeyMD5(String p0); + default SelectObjectContentRequest.Builder inputSerialization(java.util.function.Consumer p0){ return null; } + default SelectObjectContentRequest.Builder outputSerialization(java.util.function.Consumer p0){ return null; } + default SelectObjectContentRequest.Builder requestProgress(java.util.function.Consumer p0){ return null; } + default SelectObjectContentRequest.Builder scanRange(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentResponse.java new file mode 100644 index 000000000000..34e8de33925f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SelectObjectContentResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class SelectObjectContentResponse extends S3Response implements ToCopyableBuilder +{ + protected SelectObjectContentResponse() {} + public SelectObjectContentResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static SelectObjectContentResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentResponseHandler.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentResponseHandler.java new file mode 100644 index 000000000000..12120f197fe6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectObjectContentResponseHandler.java @@ -0,0 +1,43 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SelectObjectContentResponseHandler for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.eventstream.EventStreamResponseHandler; +import software.amazon.awssdk.services.s3.model.ContinuationEvent; +import software.amazon.awssdk.services.s3.model.EndEvent; +import software.amazon.awssdk.services.s3.model.ProgressEvent; +import software.amazon.awssdk.services.s3.model.RecordsEvent; +import software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream; +import software.amazon.awssdk.services.s3.model.SelectObjectContentResponse; +import software.amazon.awssdk.services.s3.model.StatsEvent; + +public interface SelectObjectContentResponseHandler extends EventStreamResponseHandler +{ + static SelectObjectContentResponseHandler.Builder builder(){ return null; } + static public interface Builder extends EventStreamResponseHandler.Builder + { + SelectObjectContentResponseHandler build(); + SelectObjectContentResponseHandler.Builder subscriber(SelectObjectContentResponseHandler.Visitor p0); + } + static public interface Visitor + { + default void visitCont(ContinuationEvent p0){} + default void visitDefault(SelectObjectContentEventStream p0){} + default void visitEnd(EndEvent p0){} + default void visitProgress(ProgressEvent p0){} + default void visitRecords(RecordsEvent p0){} + default void visitStats(StatsEvent p0){} + static SelectObjectContentResponseHandler.Visitor.Builder builder(){ return null; } + static public interface Builder + { + SelectObjectContentResponseHandler.Visitor build(); + SelectObjectContentResponseHandler.Visitor.Builder onCont(Consumer p0); + SelectObjectContentResponseHandler.Visitor.Builder onDefault(Consumer p0); + SelectObjectContentResponseHandler.Visitor.Builder onEnd(Consumer p0); + SelectObjectContentResponseHandler.Visitor.Builder onProgress(Consumer p0); + SelectObjectContentResponseHandler.Visitor.Builder onRecords(Consumer p0); + SelectObjectContentResponseHandler.Visitor.Builder onStats(Consumer p0); + } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectParameters.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectParameters.java new file mode 100644 index 000000000000..e8165d8d4989 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SelectParameters.java @@ -0,0 +1,44 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SelectParameters for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ExpressionType; +import software.amazon.awssdk.services.s3.model.InputSerialization; +import software.amazon.awssdk.services.s3.model.OutputSerialization; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class SelectParameters implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected SelectParameters() {} + public SelectParameters.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ExpressionType expressionType(){ return null; } + public final InputSerialization inputSerialization(){ return null; } + public final List> sdkFields(){ return null; } + public final OutputSerialization outputSerialization(){ return null; } + public final String expression(){ return null; } + public final String expressionTypeAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static SelectParameters.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + SelectParameters.Builder expression(String p0); + SelectParameters.Builder expressionType(ExpressionType p0); + SelectParameters.Builder expressionType(String p0); + SelectParameters.Builder inputSerialization(InputSerialization p0); + SelectParameters.Builder outputSerialization(OutputSerialization p0); + default SelectParameters.Builder inputSerialization(java.util.function.Consumer p0){ return null; } + default SelectParameters.Builder outputSerialization(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryption.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryption.java new file mode 100644 index 000000000000..9b28c4f69338 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryption.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ServerSideEncryption for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum ServerSideEncryption +{ + AES256, AWS_KMS, UNKNOWN_TO_SDK_VERSION; + private ServerSideEncryption() {} + public String toString(){ return null; } + public static ServerSideEncryption fromValue(String p0){ return null; } + public static Set knownValues(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionByDefault.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionByDefault.java new file mode 100644 index 000000000000..a6f8ace3b5b3 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionByDefault.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ServerSideEncryptionByDefault for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ServerSideEncryptionByDefault implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ServerSideEncryptionByDefault() {} + public ServerSideEncryptionByDefault.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ServerSideEncryption sseAlgorithm(){ return null; } + public final String kmsMasterKeyID(){ return null; } + public final String sseAlgorithmAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ServerSideEncryptionByDefault.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ServerSideEncryptionByDefault.Builder kmsMasterKeyID(String p0); + ServerSideEncryptionByDefault.Builder sseAlgorithm(ServerSideEncryption p0); + ServerSideEncryptionByDefault.Builder sseAlgorithm(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionConfiguration.java new file mode 100644 index 000000000000..d3f32ae26b13 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionConfiguration.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ServerSideEncryptionConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ServerSideEncryptionRule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ServerSideEncryptionConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ServerSideEncryptionConfiguration() {} + public ServerSideEncryptionConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List rules(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasRules(){ return false; } + public final int hashCode(){ return 0; } + public static ServerSideEncryptionConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ServerSideEncryptionConfiguration.Builder rules(Collection p0); + ServerSideEncryptionConfiguration.Builder rules(ServerSideEncryptionRule... p0); + ServerSideEncryptionConfiguration.Builder rules(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionRule.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionRule.java new file mode 100644 index 000000000000..28c8c1faffbb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/ServerSideEncryptionRule.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.ServerSideEncryptionRule for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ServerSideEncryptionByDefault; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ServerSideEncryptionRule implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected ServerSideEncryptionRule() {} + public ServerSideEncryptionRule.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final List> sdkFields(){ return null; } + public final ServerSideEncryptionByDefault applyServerSideEncryptionByDefault(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static ServerSideEncryptionRule.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + ServerSideEncryptionRule.Builder applyServerSideEncryptionByDefault(ServerSideEncryptionByDefault p0); + ServerSideEncryptionRule.Builder bucketKeyEnabled(Boolean p0); + default ServerSideEncryptionRule.Builder applyServerSideEncryptionByDefault(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SourceSelectionCriteria.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SourceSelectionCriteria.java new file mode 100644 index 000000000000..442caecb300e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SourceSelectionCriteria.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SourceSelectionCriteria for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ReplicaModifications; +import software.amazon.awssdk.services.s3.model.SseKmsEncryptedObjects; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class SourceSelectionCriteria implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected SourceSelectionCriteria() {} + public SourceSelectionCriteria.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final ReplicaModifications replicaModifications(){ return null; } + public final SseKmsEncryptedObjects sseKmsEncryptedObjects(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static SourceSelectionCriteria.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + SourceSelectionCriteria.Builder replicaModifications(ReplicaModifications p0); + SourceSelectionCriteria.Builder sseKmsEncryptedObjects(SseKmsEncryptedObjects p0); + default SourceSelectionCriteria.Builder replicaModifications(java.util.function.Consumer p0){ return null; } + default SourceSelectionCriteria.Builder sseKmsEncryptedObjects(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SseKmsEncryptedObjects.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SseKmsEncryptedObjects.java new file mode 100644 index 000000000000..5b0203b610de --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SseKmsEncryptedObjects.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SseKmsEncryptedObjects for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.SseKmsEncryptedObjectsStatus; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class SseKmsEncryptedObjects implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected SseKmsEncryptedObjects() {} + public SseKmsEncryptedObjects.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final SseKmsEncryptedObjectsStatus status(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static SseKmsEncryptedObjects.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + SseKmsEncryptedObjects.Builder status(SseKmsEncryptedObjectsStatus p0); + SseKmsEncryptedObjects.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SseKmsEncryptedObjectsStatus.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SseKmsEncryptedObjectsStatus.java new file mode 100644 index 000000000000..a41b57b4f2fc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/SseKmsEncryptedObjectsStatus.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.SseKmsEncryptedObjectsStatus for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum SseKmsEncryptedObjectsStatus +{ + DISABLED, ENABLED, UNKNOWN_TO_SDK_VERSION; + private SseKmsEncryptedObjectsStatus() {} + public String toString(){ return null; } + public static Set knownValues(){ return null; } + public static SseKmsEncryptedObjectsStatus fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Stats.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Stats.java new file mode 100644 index 000000000000..fcf6474376d6 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Stats.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Stats for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Stats implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Stats() {} + public Stats.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Long bytesProcessed(){ return null; } + public final Long bytesReturned(){ return null; } + public final Long bytesScanned(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Stats.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Stats.Builder bytesProcessed(Long p0); + Stats.Builder bytesReturned(Long p0); + Stats.Builder bytesScanned(Long p0); + } + + public class BuilderImpl { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StatsEvent.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StatsEvent.java new file mode 100644 index 000000000000..497bd4814505 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StatsEvent.java @@ -0,0 +1,48 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.StatsEvent for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.SelectObjectContentEventStream; +import software.amazon.awssdk.services.s3.model.SelectObjectContentResponseHandler; +import software.amazon.awssdk.services.s3.model.Stats; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class StatsEvent implements SdkPojo, SelectObjectContentEventStream, Serializable, ToCopyableBuilder +{ + protected StatsEvent() {} + protected StatsEvent(StatsEvent.BuilderImpl p0){} + public StatsEvent.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final Stats details(){ return null; } + public final StatsEvent copy(java.util.function.Consumer p0){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static StatsEvent.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + public void accept(SelectObjectContentResponseHandler.Visitor p0){} + static class BuilderImpl implements StatsEvent.Builder + { + protected BuilderImpl(){} + protected BuilderImpl(StatsEvent p0){} + public List> sdkFields(){ return null; } + public StatsEvent build(){ return null; } + public final Stats.Builder getDetails(){ return null; } + public final StatsEvent.Builder details(Stats p0){ return null; } + public final void setDetails(Stats.BuilderImpl p0){} + } + static public interface Builder extends CopyableBuilder, SdkPojo + { + StatsEvent.Builder details(Stats p0); + default StatsEvent.Builder details(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClass.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClass.java new file mode 100644 index 000000000000..65df0e18ac15 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClass.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.StorageClass for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum StorageClass +{ + DEEP_ARCHIVE, GLACIER, GLACIER_IR, INTELLIGENT_TIERING, ONEZONE_IA, OUTPOSTS, REDUCED_REDUNDANCY, STANDARD, STANDARD_IA, UNKNOWN_TO_SDK_VERSION; + private StorageClass() {} + public String toString(){ return null; } + public static Set knownValues(){ return null; } + public static StorageClass fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysis.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysis.java new file mode 100644 index 000000000000..ea265633293c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysis.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.StorageClassAnalysis for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.StorageClassAnalysisDataExport; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class StorageClassAnalysis implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected StorageClassAnalysis() {} + public StorageClassAnalysis.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final StorageClassAnalysisDataExport dataExport(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static StorageClassAnalysis.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + StorageClassAnalysis.Builder dataExport(StorageClassAnalysisDataExport p0); + default StorageClassAnalysis.Builder dataExport(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysisDataExport.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysisDataExport.java new file mode 100644 index 000000000000..2e7e845b8108 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysisDataExport.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.StorageClassAnalysisDataExport for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.AnalyticsExportDestination; +import software.amazon.awssdk.services.s3.model.StorageClassAnalysisSchemaVersion; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class StorageClassAnalysisDataExport implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected StorageClassAnalysisDataExport() {} + public StorageClassAnalysisDataExport.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final AnalyticsExportDestination destination(){ return null; } + public final List> sdkFields(){ return null; } + public final StorageClassAnalysisSchemaVersion outputSchemaVersion(){ return null; } + public final String outputSchemaVersionAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static StorageClassAnalysisDataExport.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + StorageClassAnalysisDataExport.Builder destination(AnalyticsExportDestination p0); + StorageClassAnalysisDataExport.Builder outputSchemaVersion(StorageClassAnalysisSchemaVersion p0); + StorageClassAnalysisDataExport.Builder outputSchemaVersion(String p0); + default StorageClassAnalysisDataExport.Builder destination(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysisSchemaVersion.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysisSchemaVersion.java new file mode 100644 index 000000000000..d84a2ef7dc02 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/StorageClassAnalysisSchemaVersion.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.StorageClassAnalysisSchemaVersion for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum StorageClassAnalysisSchemaVersion +{ + UNKNOWN_TO_SDK_VERSION, V_1; + private StorageClassAnalysisSchemaVersion() {} + public String toString(){ return null; } + public static Set knownValues(){ return null; } + public static StorageClassAnalysisSchemaVersion fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tag.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tag.java new file mode 100644 index 000000000000..a6acecafa9c0 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tag.java @@ -0,0 +1,32 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Tag for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Tag implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Tag() {} + public Tag.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String key(){ return null; } + public final String toString(){ return null; } + public final String value(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Tag.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Tag.Builder key(String p0); + Tag.Builder value(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tagging.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tagging.java new file mode 100644 index 000000000000..327a8e072dd5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tagging.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Tagging for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Tag; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Tagging implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Tagging() {} + public Tagging.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final List tagSet(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasTagSet(){ return false; } + public final int hashCode(){ return 0; } + public static Tagging.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Tagging.Builder tagSet(Collection p0); + Tagging.Builder tagSet(Tag... p0); + Tagging.Builder tagSet(java.util.function.Consumer... p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TaggingDirective.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TaggingDirective.java new file mode 100644 index 000000000000..1c5fa4831dc4 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TaggingDirective.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.TaggingDirective for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum TaggingDirective +{ + COPY, REPLACE, UNKNOWN_TO_SDK_VERSION; + private TaggingDirective() {} + public String toString(){ return null; } + public static Set knownValues(){ return null; } + public static TaggingDirective fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TargetGrant.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TargetGrant.java new file mode 100644 index 000000000000..e346fb3c74b2 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TargetGrant.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.TargetGrant for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketLogsPermission; +import software.amazon.awssdk.services.s3.model.Grantee; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class TargetGrant implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected TargetGrant() {} + public TargetGrant.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketLogsPermission permission(){ return null; } + public final Grantee grantee(){ return null; } + public final List> sdkFields(){ return null; } + public final String permissionAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static TargetGrant.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + TargetGrant.Builder grantee(Grantee p0); + TargetGrant.Builder permission(BucketLogsPermission p0); + TargetGrant.Builder permission(String p0); + default TargetGrant.Builder grantee(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tier.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tier.java new file mode 100644 index 000000000000..d8f299a2d89e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tier.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Tier for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum Tier +{ + BULK, EXPEDITED, STANDARD, UNKNOWN_TO_SDK_VERSION; + private Tier() {} + public String toString(){ return null; } + public static Set knownValues(){ return null; } + public static Tier fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tiering.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tiering.java new file mode 100644 index 000000000000..ff2e17372941 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Tiering.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Tiering for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.IntelligentTieringAccessTier; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Tiering implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Tiering() {} + public Tiering.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Integer days(){ return null; } + public final IntelligentTieringAccessTier accessTier(){ return null; } + public final List> sdkFields(){ return null; } + public final String accessTierAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Tiering.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Tiering.Builder accessTier(IntelligentTieringAccessTier p0); + Tiering.Builder accessTier(String p0); + Tiering.Builder days(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TopicConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TopicConfiguration.java new file mode 100644 index 000000000000..7ff0146008e8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TopicConfiguration.java @@ -0,0 +1,46 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.TopicConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.Event; +import software.amazon.awssdk.services.s3.model.NotificationConfigurationFilter; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class TopicConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected TopicConfiguration() {} + public TopicConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List events(){ return null; } + public final List> sdkFields(){ return null; } + public final List eventsAsStrings(){ return null; } + public final NotificationConfigurationFilter filter(){ return null; } + public final String id(){ return null; } + public final String toString(){ return null; } + public final String topicArn(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasEvents(){ return false; } + public final int hashCode(){ return 0; } + public static TopicConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + TopicConfiguration.Builder events(Collection p0); + TopicConfiguration.Builder events(Event... p0); + TopicConfiguration.Builder eventsWithStrings(Collection p0); + TopicConfiguration.Builder eventsWithStrings(String... p0); + TopicConfiguration.Builder filter(NotificationConfigurationFilter p0); + TopicConfiguration.Builder id(String p0); + TopicConfiguration.Builder topicArn(String p0); + default TopicConfiguration.Builder filter(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Transition.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Transition.java new file mode 100644 index 000000000000..edd20965a5c7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Transition.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Transition for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.TransitionStorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class Transition implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected Transition() {} + public Transition.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Instant date(){ return null; } + public final Integer days(){ return null; } + public final List> sdkFields(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final TransitionStorageClass storageClass(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static Transition.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + Transition.Builder date(Instant p0); + Transition.Builder days(Integer p0); + Transition.Builder storageClass(String p0); + Transition.Builder storageClass(TransitionStorageClass p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TransitionStorageClass.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TransitionStorageClass.java new file mode 100644 index 000000000000..80f8dfcf5b38 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/TransitionStorageClass.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.TransitionStorageClass for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum TransitionStorageClass +{ + DEEP_ARCHIVE, GLACIER, GLACIER_IR, INTELLIGENT_TIERING, ONEZONE_IA, STANDARD_IA, UNKNOWN_TO_SDK_VERSION; + private TransitionStorageClass() {} + public String toString(){ return null; } + public static Set knownValues(){ return null; } + public static TransitionStorageClass fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Type.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Type.java new file mode 100644 index 000000000000..c9e16b149ffa --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/Type.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.Type for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.Set; + +public enum Type +{ + AMAZON_CUSTOMER_BY_EMAIL, CANONICAL_USER, GROUP, UNKNOWN_TO_SDK_VERSION; + private Type() {} + public String toString(){ return null; } + public static Set knownValues(){ return null; } + public static Type fromValue(String p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartCopyRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartCopyRequest.java new file mode 100644 index 000000000000..9393c2a0007b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartCopyRequest.java @@ -0,0 +1,84 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.UploadPartCopyRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class UploadPartCopyRequest extends S3Request implements ToCopyableBuilder +{ + protected UploadPartCopyRequest() {} + public UploadPartCopyRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Instant copySourceIfModifiedSince(){ return null; } + public final Instant copySourceIfUnmodifiedSince(){ return null; } + public final Integer partNumber(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String copySource(){ return null; } + public final String copySourceIfMatch(){ return null; } + public final String copySourceIfNoneMatch(){ return null; } + public final String copySourceRange(){ return null; } + public final String copySourceSSECustomerAlgorithm(){ return null; } + public final String copySourceSSECustomerKey(){ return null; } + public final String copySourceSSECustomerKeyMD5(){ return null; } + public final String destinationBucket(){ return null; } + public final String destinationKey(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String expectedSourceBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String sourceBucket(){ return null; } + public final String sourceKey(){ return null; } + public final String sourceVersionId(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String toString(){ return null; } + public final String uploadId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static UploadPartCopyRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + UploadPartCopyRequest.Builder bucket(String p0); + UploadPartCopyRequest.Builder copySource(String p0); + UploadPartCopyRequest.Builder copySourceIfMatch(String p0); + UploadPartCopyRequest.Builder copySourceIfModifiedSince(Instant p0); + UploadPartCopyRequest.Builder copySourceIfNoneMatch(String p0); + UploadPartCopyRequest.Builder copySourceIfUnmodifiedSince(Instant p0); + UploadPartCopyRequest.Builder copySourceRange(String p0); + UploadPartCopyRequest.Builder copySourceSSECustomerAlgorithm(String p0); + UploadPartCopyRequest.Builder copySourceSSECustomerKey(String p0); + UploadPartCopyRequest.Builder copySourceSSECustomerKeyMD5(String p0); + UploadPartCopyRequest.Builder destinationBucket(String p0); + UploadPartCopyRequest.Builder destinationKey(String p0); + UploadPartCopyRequest.Builder expectedBucketOwner(String p0); + UploadPartCopyRequest.Builder expectedSourceBucketOwner(String p0); + UploadPartCopyRequest.Builder key(String p0); + UploadPartCopyRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + UploadPartCopyRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + UploadPartCopyRequest.Builder partNumber(Integer p0); + UploadPartCopyRequest.Builder requestPayer(RequestPayer p0); + UploadPartCopyRequest.Builder requestPayer(String p0); + UploadPartCopyRequest.Builder sourceBucket(String p0); + UploadPartCopyRequest.Builder sourceKey(String p0); + UploadPartCopyRequest.Builder sourceVersionId(String p0); + UploadPartCopyRequest.Builder sseCustomerAlgorithm(String p0); + UploadPartCopyRequest.Builder sseCustomerKey(String p0); + UploadPartCopyRequest.Builder sseCustomerKeyMD5(String p0); + UploadPartCopyRequest.Builder uploadId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartCopyResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartCopyResponse.java new file mode 100644 index 000000000000..f74f4f72a166 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartCopyResponse.java @@ -0,0 +1,53 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.UploadPartCopyResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.CopyPartResult; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class UploadPartCopyResponse extends S3Response implements ToCopyableBuilder +{ + protected UploadPartCopyResponse() {} + public UploadPartCopyResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final CopyPartResult copyPartResult(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final String copySourceVersionId(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static UploadPartCopyResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + UploadPartCopyResponse.Builder bucketKeyEnabled(Boolean p0); + UploadPartCopyResponse.Builder copyPartResult(CopyPartResult p0); + UploadPartCopyResponse.Builder copySourceVersionId(String p0); + UploadPartCopyResponse.Builder requestCharged(RequestCharged p0); + UploadPartCopyResponse.Builder requestCharged(String p0); + UploadPartCopyResponse.Builder serverSideEncryption(ServerSideEncryption p0); + UploadPartCopyResponse.Builder serverSideEncryption(String p0); + UploadPartCopyResponse.Builder sseCustomerAlgorithm(String p0); + UploadPartCopyResponse.Builder sseCustomerKeyMD5(String p0); + UploadPartCopyResponse.Builder ssekmsKeyId(String p0); + default UploadPartCopyResponse.Builder copyPartResult(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartRequest.java new file mode 100644 index 000000000000..6cc0e7697280 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartRequest.java @@ -0,0 +1,70 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.UploadPartRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ChecksumAlgorithm; +import software.amazon.awssdk.services.s3.model.RequestPayer; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class UploadPartRequest extends S3Request implements ToCopyableBuilder +{ + protected UploadPartRequest() {} + public UploadPartRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ChecksumAlgorithm checksumAlgorithm(){ return null; } + public final Integer partNumber(){ return null; } + public final List> sdkFields(){ return null; } + public final Long contentLength(){ return null; } + public final RequestPayer requestPayer(){ return null; } + public final String bucket(){ return null; } + public final String checksumAlgorithmAsString(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String contentMD5(){ return null; } + public final String expectedBucketOwner(){ return null; } + public final String key(){ return null; } + public final String requestPayerAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKey(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String toString(){ return null; } + public final String uploadId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static UploadPartRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + UploadPartRequest.Builder bucket(String p0); + UploadPartRequest.Builder checksumAlgorithm(ChecksumAlgorithm p0); + UploadPartRequest.Builder checksumAlgorithm(String p0); + UploadPartRequest.Builder checksumCRC32(String p0); + UploadPartRequest.Builder checksumCRC32C(String p0); + UploadPartRequest.Builder checksumSHA1(String p0); + UploadPartRequest.Builder checksumSHA256(String p0); + UploadPartRequest.Builder contentLength(Long p0); + UploadPartRequest.Builder contentMD5(String p0); + UploadPartRequest.Builder expectedBucketOwner(String p0); + UploadPartRequest.Builder key(String p0); + UploadPartRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + UploadPartRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + UploadPartRequest.Builder partNumber(Integer p0); + UploadPartRequest.Builder requestPayer(RequestPayer p0); + UploadPartRequest.Builder requestPayer(String p0); + UploadPartRequest.Builder sseCustomerAlgorithm(String p0); + UploadPartRequest.Builder sseCustomerKey(String p0); + UploadPartRequest.Builder sseCustomerKeyMD5(String p0); + UploadPartRequest.Builder uploadId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartResponse.java new file mode 100644 index 000000000000..13b1ba56392f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/UploadPartResponse.java @@ -0,0 +1,56 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.UploadPartResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class UploadPartResponse extends S3Response implements ToCopyableBuilder +{ + protected UploadPartResponse() {} + public UploadPartResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final List> sdkFields(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String eTag(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static UploadPartResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + UploadPartResponse.Builder bucketKeyEnabled(Boolean p0); + UploadPartResponse.Builder checksumCRC32(String p0); + UploadPartResponse.Builder checksumCRC32C(String p0); + UploadPartResponse.Builder checksumSHA1(String p0); + UploadPartResponse.Builder checksumSHA256(String p0); + UploadPartResponse.Builder eTag(String p0); + UploadPartResponse.Builder requestCharged(RequestCharged p0); + UploadPartResponse.Builder requestCharged(String p0); + UploadPartResponse.Builder serverSideEncryption(ServerSideEncryption p0); + UploadPartResponse.Builder serverSideEncryption(String p0); + UploadPartResponse.Builder sseCustomerAlgorithm(String p0); + UploadPartResponse.Builder sseCustomerKeyMD5(String p0); + UploadPartResponse.Builder ssekmsKeyId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/VersioningConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/VersioningConfiguration.java new file mode 100644 index 000000000000..92b438f09b56 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/VersioningConfiguration.java @@ -0,0 +1,38 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.VersioningConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.BucketVersioningStatus; +import software.amazon.awssdk.services.s3.model.MFADelete; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class VersioningConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected VersioningConfiguration() {} + public VersioningConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final BucketVersioningStatus status(){ return null; } + public final List> sdkFields(){ return null; } + public final MFADelete mfaDelete(){ return null; } + public final String mfaDeleteAsString(){ return null; } + public final String statusAsString(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static VersioningConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + VersioningConfiguration.Builder mfaDelete(MFADelete p0); + VersioningConfiguration.Builder mfaDelete(String p0); + VersioningConfiguration.Builder status(BucketVersioningStatus p0); + VersioningConfiguration.Builder status(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WebsiteConfiguration.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WebsiteConfiguration.java new file mode 100644 index 000000000000..08e50885c4b5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WebsiteConfiguration.java @@ -0,0 +1,48 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.WebsiteConfiguration for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.io.Serializable; +import java.util.Collection; +import java.util.List; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ErrorDocument; +import software.amazon.awssdk.services.s3.model.IndexDocument; +import software.amazon.awssdk.services.s3.model.RedirectAllRequestsTo; +import software.amazon.awssdk.services.s3.model.RoutingRule; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class WebsiteConfiguration implements SdkPojo, Serializable, ToCopyableBuilder +{ + protected WebsiteConfiguration() {} + public WebsiteConfiguration.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final ErrorDocument errorDocument(){ return null; } + public final IndexDocument indexDocument(){ return null; } + public final List routingRules(){ return null; } + public final List> sdkFields(){ return null; } + public final RedirectAllRequestsTo redirectAllRequestsTo(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasRoutingRules(){ return false; } + public final int hashCode(){ return 0; } + public static WebsiteConfiguration.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, SdkPojo + { + WebsiteConfiguration.Builder errorDocument(ErrorDocument p0); + WebsiteConfiguration.Builder indexDocument(IndexDocument p0); + WebsiteConfiguration.Builder redirectAllRequestsTo(RedirectAllRequestsTo p0); + WebsiteConfiguration.Builder routingRules(Collection p0); + WebsiteConfiguration.Builder routingRules(RoutingRule... p0); + WebsiteConfiguration.Builder routingRules(java.util.function.Consumer... p0); + default WebsiteConfiguration.Builder errorDocument(java.util.function.Consumer p0){ return null; } + default WebsiteConfiguration.Builder indexDocument(java.util.function.Consumer p0){ return null; } + default WebsiteConfiguration.Builder redirectAllRequestsTo(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WriteGetObjectResponseRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WriteGetObjectResponseRequest.java new file mode 100644 index 000000000000..fe72ce7bf9e2 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WriteGetObjectResponseRequest.java @@ -0,0 +1,131 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.WriteGetObjectResponseRequest for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.time.Instant; +import java.util.List; +import java.util.Map; +import java.util.Optional; +import java.util.function.Consumer; +import software.amazon.awssdk.awscore.AwsRequestOverrideConfiguration; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.ObjectLockLegalHoldStatus; +import software.amazon.awssdk.services.s3.model.ObjectLockMode; +import software.amazon.awssdk.services.s3.model.ReplicationStatus; +import software.amazon.awssdk.services.s3.model.RequestCharged; +import software.amazon.awssdk.services.s3.model.S3Request; +import software.amazon.awssdk.services.s3.model.ServerSideEncryption; +import software.amazon.awssdk.services.s3.model.StorageClass; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class WriteGetObjectResponseRequest extends S3Request implements ToCopyableBuilder +{ + protected WriteGetObjectResponseRequest() {} + public WriteGetObjectResponseRequest.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final Boolean bucketKeyEnabled(){ return null; } + public final Boolean deleteMarker(){ return null; } + public final Instant expires(){ return null; } + public final Instant lastModified(){ return null; } + public final Instant objectLockRetainUntilDate(){ return null; } + public final Integer missingMeta(){ return null; } + public final Integer partsCount(){ return null; } + public final Integer statusCode(){ return null; } + public final Integer tagCount(){ return null; } + public final List> sdkFields(){ return null; } + public final Long contentLength(){ return null; } + public final Map metadata(){ return null; } + public final ObjectLockLegalHoldStatus objectLockLegalHoldStatus(){ return null; } + public final ObjectLockMode objectLockMode(){ return null; } + public final ReplicationStatus replicationStatus(){ return null; } + public final RequestCharged requestCharged(){ return null; } + public final ServerSideEncryption serverSideEncryption(){ return null; } + public final StorageClass storageClass(){ return null; } + public final String acceptRanges(){ return null; } + public final String cacheControl(){ return null; } + public final String checksumCRC32(){ return null; } + public final String checksumCRC32C(){ return null; } + public final String checksumSHA1(){ return null; } + public final String checksumSHA256(){ return null; } + public final String contentDisposition(){ return null; } + public final String contentEncoding(){ return null; } + public final String contentLanguage(){ return null; } + public final String contentRange(){ return null; } + public final String contentType(){ return null; } + public final String eTag(){ return null; } + public final String errorCode(){ return null; } + public final String errorMessage(){ return null; } + public final String expiration(){ return null; } + public final String objectLockLegalHoldStatusAsString(){ return null; } + public final String objectLockModeAsString(){ return null; } + public final String replicationStatusAsString(){ return null; } + public final String requestChargedAsString(){ return null; } + public final String requestRoute(){ return null; } + public final String requestToken(){ return null; } + public final String restore(){ return null; } + public final String serverSideEncryptionAsString(){ return null; } + public final String sseCustomerAlgorithm(){ return null; } + public final String sseCustomerKeyMD5(){ return null; } + public final String ssekmsKeyId(){ return null; } + public final String storageClassAsString(){ return null; } + public final String toString(){ return null; } + public final String versionId(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final boolean hasMetadata(){ return false; } + public final int hashCode(){ return 0; } + public static WriteGetObjectResponseRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Request.Builder, SdkPojo + { + WriteGetObjectResponseRequest.Builder acceptRanges(String p0); + WriteGetObjectResponseRequest.Builder bucketKeyEnabled(Boolean p0); + WriteGetObjectResponseRequest.Builder cacheControl(String p0); + WriteGetObjectResponseRequest.Builder checksumCRC32(String p0); + WriteGetObjectResponseRequest.Builder checksumCRC32C(String p0); + WriteGetObjectResponseRequest.Builder checksumSHA1(String p0); + WriteGetObjectResponseRequest.Builder checksumSHA256(String p0); + WriteGetObjectResponseRequest.Builder contentDisposition(String p0); + WriteGetObjectResponseRequest.Builder contentEncoding(String p0); + WriteGetObjectResponseRequest.Builder contentLanguage(String p0); + WriteGetObjectResponseRequest.Builder contentLength(Long p0); + WriteGetObjectResponseRequest.Builder contentRange(String p0); + WriteGetObjectResponseRequest.Builder contentType(String p0); + WriteGetObjectResponseRequest.Builder deleteMarker(Boolean p0); + WriteGetObjectResponseRequest.Builder eTag(String p0); + WriteGetObjectResponseRequest.Builder errorCode(String p0); + WriteGetObjectResponseRequest.Builder errorMessage(String p0); + WriteGetObjectResponseRequest.Builder expiration(String p0); + WriteGetObjectResponseRequest.Builder expires(Instant p0); + WriteGetObjectResponseRequest.Builder lastModified(Instant p0); + WriteGetObjectResponseRequest.Builder metadata(Map p0); + WriteGetObjectResponseRequest.Builder missingMeta(Integer p0); + WriteGetObjectResponseRequest.Builder objectLockLegalHoldStatus(ObjectLockLegalHoldStatus p0); + WriteGetObjectResponseRequest.Builder objectLockLegalHoldStatus(String p0); + WriteGetObjectResponseRequest.Builder objectLockMode(ObjectLockMode p0); + WriteGetObjectResponseRequest.Builder objectLockMode(String p0); + WriteGetObjectResponseRequest.Builder objectLockRetainUntilDate(Instant p0); + WriteGetObjectResponseRequest.Builder overrideConfiguration(AwsRequestOverrideConfiguration p0); + WriteGetObjectResponseRequest.Builder overrideConfiguration(java.util.function.Consumer p0); + WriteGetObjectResponseRequest.Builder partsCount(Integer p0); + WriteGetObjectResponseRequest.Builder replicationStatus(ReplicationStatus p0); + WriteGetObjectResponseRequest.Builder replicationStatus(String p0); + WriteGetObjectResponseRequest.Builder requestCharged(RequestCharged p0); + WriteGetObjectResponseRequest.Builder requestCharged(String p0); + WriteGetObjectResponseRequest.Builder requestRoute(String p0); + WriteGetObjectResponseRequest.Builder requestToken(String p0); + WriteGetObjectResponseRequest.Builder restore(String p0); + WriteGetObjectResponseRequest.Builder serverSideEncryption(ServerSideEncryption p0); + WriteGetObjectResponseRequest.Builder serverSideEncryption(String p0); + WriteGetObjectResponseRequest.Builder sseCustomerAlgorithm(String p0); + WriteGetObjectResponseRequest.Builder sseCustomerKeyMD5(String p0); + WriteGetObjectResponseRequest.Builder ssekmsKeyId(String p0); + WriteGetObjectResponseRequest.Builder statusCode(Integer p0); + WriteGetObjectResponseRequest.Builder storageClass(StorageClass p0); + WriteGetObjectResponseRequest.Builder storageClass(String p0); + WriteGetObjectResponseRequest.Builder tagCount(Integer p0); + WriteGetObjectResponseRequest.Builder versionId(String p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WriteGetObjectResponseResponse.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WriteGetObjectResponseResponse.java new file mode 100644 index 000000000000..f0f4c35e5502 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/model/WriteGetObjectResponseResponse.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.services.s3.model.WriteGetObjectResponseResponse for testing purposes + +package software.amazon.awssdk.services.s3.model; + +import java.util.List; +import java.util.Optional; +import software.amazon.awssdk.core.SdkField; +import software.amazon.awssdk.core.SdkPojo; +import software.amazon.awssdk.services.s3.model.S3Response; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class WriteGetObjectResponseResponse extends S3Response implements ToCopyableBuilder +{ + protected WriteGetObjectResponseResponse() {} + public WriteGetObjectResponseResponse.Builder toBuilder(){ return null; } + public final java.util.Optional getValueForField(String p0, java.lang.Class p1){ return null; } + public final List> sdkFields(){ return null; } + public final String toString(){ return null; } + public final boolean equals(Object p0){ return false; } + public final boolean equalsBySdkFields(Object p0){ return false; } + public final int hashCode(){ return 0; } + public static WriteGetObjectResponseResponse.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder, S3Response.Builder, SdkPojo + { + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListMultipartUploadsPublisher.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListMultipartUploadsPublisher.java new file mode 100644 index 000000000000..7b92b3bd80ed --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListMultipartUploadsPublisher.java @@ -0,0 +1,20 @@ +// Generated automatically from software.amazon.awssdk.services.s3.paginators.ListMultipartUploadsPublisher for testing purposes + +package software.amazon.awssdk.services.s3.paginators; + +import org.reactivestreams.Subscriber; +import software.amazon.awssdk.core.async.SdkPublisher; +import software.amazon.awssdk.services.s3.S3AsyncClient; +import software.amazon.awssdk.services.s3.model.CommonPrefix; +import software.amazon.awssdk.services.s3.model.ListMultipartUploadsRequest; +import software.amazon.awssdk.services.s3.model.ListMultipartUploadsResponse; +import software.amazon.awssdk.services.s3.model.MultipartUpload; + +public class ListMultipartUploadsPublisher implements SdkPublisher +{ + protected ListMultipartUploadsPublisher() {} + public ListMultipartUploadsPublisher(S3AsyncClient p0, ListMultipartUploadsRequest p1){} + public final SdkPublisher commonPrefixes(){ return null; } + public final SdkPublisher uploads(){ return null; } + public void subscribe(Subscriber p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListObjectVersionsPublisher.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListObjectVersionsPublisher.java new file mode 100644 index 000000000000..075c262735e8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListObjectVersionsPublisher.java @@ -0,0 +1,22 @@ +// Generated automatically from software.amazon.awssdk.services.s3.paginators.ListObjectVersionsPublisher for testing purposes + +package software.amazon.awssdk.services.s3.paginators; + +import org.reactivestreams.Subscriber; +import software.amazon.awssdk.core.async.SdkPublisher; +import software.amazon.awssdk.services.s3.S3AsyncClient; +import software.amazon.awssdk.services.s3.model.CommonPrefix; +import software.amazon.awssdk.services.s3.model.DeleteMarkerEntry; +import software.amazon.awssdk.services.s3.model.ListObjectVersionsRequest; +import software.amazon.awssdk.services.s3.model.ListObjectVersionsResponse; +import software.amazon.awssdk.services.s3.model.ObjectVersion; + +public class ListObjectVersionsPublisher implements SdkPublisher +{ + protected ListObjectVersionsPublisher() {} + public ListObjectVersionsPublisher(S3AsyncClient p0, ListObjectVersionsRequest p1){} + public final SdkPublisher commonPrefixes(){ return null; } + public final SdkPublisher deleteMarkers(){ return null; } + public final SdkPublisher versions(){ return null; } + public void subscribe(Subscriber p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListObjectsV2Publisher.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListObjectsV2Publisher.java new file mode 100644 index 000000000000..2b8190e3b0dc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListObjectsV2Publisher.java @@ -0,0 +1,20 @@ +// Generated automatically from software.amazon.awssdk.services.s3.paginators.ListObjectsV2Publisher for testing purposes + +package software.amazon.awssdk.services.s3.paginators; + +import org.reactivestreams.Subscriber; +import software.amazon.awssdk.core.async.SdkPublisher; +import software.amazon.awssdk.services.s3.S3AsyncClient; +import software.amazon.awssdk.services.s3.model.CommonPrefix; +import software.amazon.awssdk.services.s3.model.ListObjectsV2Request; +import software.amazon.awssdk.services.s3.model.ListObjectsV2Response; +import software.amazon.awssdk.services.s3.model.S3Object; + +public class ListObjectsV2Publisher implements SdkPublisher +{ + protected ListObjectsV2Publisher() {} + public ListObjectsV2Publisher(S3AsyncClient p0, ListObjectsV2Request p1){} + public final SdkPublisher commonPrefixes(){ return null; } + public final SdkPublisher contents(){ return null; } + public void subscribe(Subscriber p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListPartsPublisher.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListPartsPublisher.java new file mode 100644 index 000000000000..b48323c85056 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/paginators/ListPartsPublisher.java @@ -0,0 +1,18 @@ +// Generated automatically from software.amazon.awssdk.services.s3.paginators.ListPartsPublisher for testing purposes + +package software.amazon.awssdk.services.s3.paginators; + +import org.reactivestreams.Subscriber; +import software.amazon.awssdk.core.async.SdkPublisher; +import software.amazon.awssdk.services.s3.S3AsyncClient; +import software.amazon.awssdk.services.s3.model.ListPartsRequest; +import software.amazon.awssdk.services.s3.model.ListPartsResponse; +import software.amazon.awssdk.services.s3.model.Part; + +public class ListPartsPublisher implements SdkPublisher +{ + protected ListPartsPublisher() {} + public ListPartsPublisher(S3AsyncClient p0, ListPartsRequest p1){} + public final SdkPublisher parts(){ return null; } + public void subscribe(Subscriber p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/waiters/S3AsyncWaiter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/waiters/S3AsyncWaiter.java new file mode 100644 index 000000000000..fcb5317be739 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/services/s3/waiters/S3AsyncWaiter.java @@ -0,0 +1,45 @@ +// Generated automatically from software.amazon.awssdk.services.s3.waiters.S3AsyncWaiter for testing purposes + +package software.amazon.awssdk.services.s3.waiters; + +import java.util.concurrent.CompletableFuture; +import java.util.concurrent.ScheduledExecutorService; +import java.util.function.Consumer; +import software.amazon.awssdk.core.waiters.WaiterOverrideConfiguration; +import software.amazon.awssdk.core.waiters.WaiterResponse; +import software.amazon.awssdk.services.s3.S3AsyncClient; +import software.amazon.awssdk.services.s3.model.HeadBucketRequest; +import software.amazon.awssdk.services.s3.model.HeadBucketResponse; +import software.amazon.awssdk.services.s3.model.HeadObjectRequest; +import software.amazon.awssdk.services.s3.model.HeadObjectResponse; +import software.amazon.awssdk.utils.SdkAutoCloseable; + +public interface S3AsyncWaiter extends SdkAutoCloseable +{ + default CompletableFuture> waitUntilBucketExists(HeadBucketRequest p0){ return null; } + default CompletableFuture> waitUntilBucketExists(HeadBucketRequest p0, WaiterOverrideConfiguration p1){ return null; } + default CompletableFuture> waitUntilBucketExists(java.util.function.Consumer p0){ return null; } + default CompletableFuture> waitUntilBucketExists(java.util.function.Consumer p0, java.util.function.Consumer p1){ return null; } + default CompletableFuture> waitUntilBucketNotExists(HeadBucketRequest p0){ return null; } + default CompletableFuture> waitUntilBucketNotExists(HeadBucketRequest p0, WaiterOverrideConfiguration p1){ return null; } + default CompletableFuture> waitUntilBucketNotExists(java.util.function.Consumer p0){ return null; } + default CompletableFuture> waitUntilBucketNotExists(java.util.function.Consumer p0, java.util.function.Consumer p1){ return null; } + default CompletableFuture> waitUntilObjectExists(HeadObjectRequest p0){ return null; } + default CompletableFuture> waitUntilObjectExists(HeadObjectRequest p0, WaiterOverrideConfiguration p1){ return null; } + default CompletableFuture> waitUntilObjectExists(java.util.function.Consumer p0){ return null; } + default CompletableFuture> waitUntilObjectExists(java.util.function.Consumer p0, java.util.function.Consumer p1){ return null; } + default CompletableFuture> waitUntilObjectNotExists(HeadObjectRequest p0){ return null; } + default CompletableFuture> waitUntilObjectNotExists(HeadObjectRequest p0, WaiterOverrideConfiguration p1){ return null; } + default CompletableFuture> waitUntilObjectNotExists(java.util.function.Consumer p0){ return null; } + default CompletableFuture> waitUntilObjectNotExists(java.util.function.Consumer p0, java.util.function.Consumer p1){ return null; } + static S3AsyncWaiter create(){ return null; } + static S3AsyncWaiter.Builder builder(){ return null; } + static public interface Builder + { + S3AsyncWaiter build(); + S3AsyncWaiter.Builder client(S3AsyncClient p0); + S3AsyncWaiter.Builder overrideConfiguration(WaiterOverrideConfiguration p0); + S3AsyncWaiter.Builder scheduledExecutorService(ScheduledExecutorService p0); + default S3AsyncWaiter.Builder overrideConfiguration(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/S3TransferManager.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/S3TransferManager.java new file mode 100644 index 000000000000..771239555d1d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/S3TransferManager.java @@ -0,0 +1,55 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.S3TransferManager for testing purposes + +package software.amazon.awssdk.transfer.s3; + +import java.util.concurrent.Executor; +import java.util.function.Consumer; +import software.amazon.awssdk.services.s3.S3AsyncClient; +import software.amazon.awssdk.transfer.s3.model.Copy; +import software.amazon.awssdk.transfer.s3.model.CopyRequest; +import software.amazon.awssdk.transfer.s3.model.DirectoryDownload; +import software.amazon.awssdk.transfer.s3.model.DirectoryUpload; +import software.amazon.awssdk.transfer.s3.model.Download; +import software.amazon.awssdk.transfer.s3.model.DownloadDirectoryRequest; +import software.amazon.awssdk.transfer.s3.model.DownloadFileRequest; +import software.amazon.awssdk.transfer.s3.model.DownloadRequest; +import software.amazon.awssdk.transfer.s3.model.FileDownload; +import software.amazon.awssdk.transfer.s3.model.FileUpload; +import software.amazon.awssdk.transfer.s3.model.ResumableFileDownload; +import software.amazon.awssdk.transfer.s3.model.ResumableFileUpload; +import software.amazon.awssdk.transfer.s3.model.Upload; +import software.amazon.awssdk.transfer.s3.model.UploadDirectoryRequest; +import software.amazon.awssdk.transfer.s3.model.UploadFileRequest; +import software.amazon.awssdk.transfer.s3.model.UploadRequest; +import software.amazon.awssdk.utils.SdkAutoCloseable; + +public interface S3TransferManager extends SdkAutoCloseable +{ + default Download download(DownloadRequest p0){ return null; } + default Copy copy(CopyRequest p0){ return null; } + default Copy copy(java.util.function.Consumer p0){ return null; } + default DirectoryDownload downloadDirectory(DownloadDirectoryRequest p0){ return null; } + default DirectoryDownload downloadDirectory(java.util.function.Consumer p0){ return null; } + default DirectoryUpload uploadDirectory(UploadDirectoryRequest p0){ return null; } + default DirectoryUpload uploadDirectory(java.util.function.Consumer p0){ return null; } + default FileDownload downloadFile(DownloadFileRequest p0){ return null; } + default FileDownload downloadFile(java.util.function.Consumer p0){ return null; } + default FileDownload resumeDownloadFile(ResumableFileDownload p0){ return null; } + default FileDownload resumeDownloadFile(java.util.function.Consumer p0){ return null; } + default FileUpload resumeUploadFile(ResumableFileUpload p0){ return null; } + default FileUpload resumeUploadFile(java.util.function.Consumer p0){ return null; } + default FileUpload uploadFile(UploadFileRequest p0){ return null; } + default FileUpload uploadFile(java.util.function.Consumer p0){ return null; } + default Upload upload(UploadRequest p0){ return null; } + default Upload upload(java.util.function.Consumer p0){ return null; } + static S3TransferManager create(){ return null; } + static S3TransferManager.Builder builder(){ return null; } + static public interface Builder + { + S3TransferManager build(); + S3TransferManager.Builder executor(Executor p0); + S3TransferManager.Builder s3Client(S3AsyncClient p0); + S3TransferManager.Builder uploadDirectoryFollowSymbolicLinks(Boolean p0); + S3TransferManager.Builder uploadDirectoryMaxDepth(Integer p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/config/DownloadFilter.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/config/DownloadFilter.java new file mode 100644 index 000000000000..44e19a4462ee --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/config/DownloadFilter.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.config.DownloadFilter for testing purposes + +package software.amazon.awssdk.transfer.s3.config; + +import java.util.function.Predicate; +import software.amazon.awssdk.services.s3.model.S3Object; + +public interface DownloadFilter extends Predicate +{ + boolean test(S3Object p0); + static DownloadFilter allObjects(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedCopy.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedCopy.java new file mode 100644 index 000000000000..b5d3f950cd8a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedCopy.java @@ -0,0 +1,22 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedCopy for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.services.s3.model.CopyObjectResponse; +import software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer; + +public class CompletedCopy implements CompletedObjectTransfer +{ + protected CompletedCopy() {} + public CopyObjectResponse response(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CompletedCopy.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder + { + CompletedCopy build(); + CompletedCopy.Builder response(CopyObjectResponse p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryDownload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryDownload.java new file mode 100644 index 000000000000..db5a1b7ef44f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryDownload.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedDirectoryDownload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.Collection; +import java.util.List; +import software.amazon.awssdk.transfer.s3.model.CompletedDirectoryTransfer; +import software.amazon.awssdk.transfer.s3.model.FailedFileDownload; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CompletedDirectoryDownload implements CompletedDirectoryTransfer, ToCopyableBuilder +{ + protected CompletedDirectoryDownload() {} + public CompletedDirectoryDownload.Builder toBuilder(){ return null; } + public List failedTransfers(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CompletedDirectoryDownload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder + { + CompletedDirectoryDownload build(); + CompletedDirectoryDownload.Builder addFailedTransfer(FailedFileDownload p0); + CompletedDirectoryDownload.Builder failedTransfers(Collection p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryTransfer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryTransfer.java new file mode 100644 index 000000000000..ce29416747f7 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryTransfer.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedDirectoryTransfer for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.List; +import software.amazon.awssdk.transfer.s3.model.CompletedTransfer; +import software.amazon.awssdk.transfer.s3.model.FailedObjectTransfer; + +public interface CompletedDirectoryTransfer extends CompletedTransfer +{ + List failedTransfers(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryUpload.java new file mode 100644 index 000000000000..4cc7e2182cee --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDirectoryUpload.java @@ -0,0 +1,28 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedDirectoryUpload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.Collection; +import java.util.List; +import software.amazon.awssdk.transfer.s3.model.CompletedDirectoryTransfer; +import software.amazon.awssdk.transfer.s3.model.FailedFileUpload; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CompletedDirectoryUpload implements CompletedDirectoryTransfer, ToCopyableBuilder +{ + protected CompletedDirectoryUpload() {} + public CompletedDirectoryUpload.Builder toBuilder(){ return null; } + public List failedTransfers(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CompletedDirectoryUpload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder + { + CompletedDirectoryUpload build(); + CompletedDirectoryUpload.Builder addFailedTransfer(FailedFileUpload p0); + CompletedDirectoryUpload.Builder failedTransfers(Collection p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDownload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDownload.java new file mode 100644 index 000000000000..651c03b2be3c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedDownload.java @@ -0,0 +1,26 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedDownload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CompletedDownload implements CompletedObjectTransfer, ToCopyableBuilder, CompletedDownload> +{ + protected CompletedDownload() {} + public CompletedDownload.TypedBuilder toBuilder(){ return null; } + public ResultT result(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CompletedDownload.UntypedBuilder builder(){ return null; } + static public interface TypedBuilder extends CopyableBuilder, software.amazon.awssdk.transfer.s3.model.CompletedDownload> + { + CompletedDownload.TypedBuilder result(T p0); + } + static public interface UntypedBuilder + { + CompletedDownload.TypedBuilder result(T p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedFileDownload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedFileDownload.java new file mode 100644 index 000000000000..156a633275b8 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedFileDownload.java @@ -0,0 +1,21 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedFileDownload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.services.s3.model.GetObjectResponse; +import software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer; + +public class CompletedFileDownload implements CompletedObjectTransfer +{ + protected CompletedFileDownload() {} + public GetObjectResponse response(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CompletedFileDownload.Builder builder(){ return null; } + static public interface Builder + { + CompletedFileDownload build(); + CompletedFileDownload.Builder response(GetObjectResponse p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedFileUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedFileUpload.java new file mode 100644 index 000000000000..1d23edb0b547 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedFileUpload.java @@ -0,0 +1,22 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedFileUpload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.services.s3.model.PutObjectResponse; +import software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer; + +public class CompletedFileUpload implements CompletedObjectTransfer +{ + protected CompletedFileUpload() {} + public PutObjectResponse response(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CompletedFileUpload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder + { + CompletedFileUpload build(); + CompletedFileUpload.Builder response(PutObjectResponse p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedObjectTransfer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedObjectTransfer.java new file mode 100644 index 000000000000..e9c707d7e118 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedObjectTransfer.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.core.SdkResponse; +import software.amazon.awssdk.transfer.s3.model.CompletedTransfer; + +public interface CompletedObjectTransfer extends CompletedTransfer +{ + default SdkResponse response(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedTransfer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedTransfer.java new file mode 100644 index 000000000000..c02d906d4192 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedTransfer.java @@ -0,0 +1,8 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedTransfer for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + + +public interface CompletedTransfer +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedUpload.java new file mode 100644 index 000000000000..809040de9cf5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CompletedUpload.java @@ -0,0 +1,22 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CompletedUpload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.services.s3.model.PutObjectResponse; +import software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer; + +public class CompletedUpload implements CompletedObjectTransfer +{ + protected CompletedUpload() {} + public PutObjectResponse response(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CompletedUpload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder + { + CompletedUpload build(); + CompletedUpload.Builder response(PutObjectResponse p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Copy.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Copy.java new file mode 100644 index 000000000000..df56eafd5acd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Copy.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.Copy for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.transfer.s3.model.CompletedCopy; +import software.amazon.awssdk.transfer.s3.model.ObjectTransfer; + +public interface Copy extends ObjectTransfer +{ + CompletableFuture completionFuture(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CopyRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CopyRequest.java new file mode 100644 index 000000000000..96b97726bf54 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/CopyRequest.java @@ -0,0 +1,33 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.CopyRequest for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.function.Consumer; +import software.amazon.awssdk.services.s3.model.CopyObjectRequest; +import software.amazon.awssdk.transfer.s3.model.TransferObjectRequest; +import software.amazon.awssdk.transfer.s3.progress.TransferListener; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class CopyRequest implements ToCopyableBuilder, TransferObjectRequest +{ + protected CopyRequest() {} + public CopyObjectRequest copyObjectRequest(){ return null; } + public CopyRequest.Builder toBuilder(){ return null; } + public List transferListeners(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static CopyRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder + { + CopyRequest build(); + CopyRequest.Builder addTransferListener(TransferListener p0); + CopyRequest.Builder copyObjectRequest(CopyObjectRequest p0); + CopyRequest.Builder transferListeners(Collection p0); + default CopyRequest.Builder copyObjectRequest(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryDownload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryDownload.java new file mode 100644 index 000000000000..355cab67c94b --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryDownload.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.DirectoryDownload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.transfer.s3.model.CompletedDirectoryDownload; +import software.amazon.awssdk.transfer.s3.model.DirectoryTransfer; + +public interface DirectoryDownload extends DirectoryTransfer +{ + CompletableFuture completionFuture(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryTransfer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryTransfer.java new file mode 100644 index 000000000000..038b36739cbd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryTransfer.java @@ -0,0 +1,9 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.DirectoryTransfer for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.transfer.s3.model.Transfer; + +public interface DirectoryTransfer extends Transfer +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryUpload.java new file mode 100644 index 000000000000..0c817d17c0ea --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DirectoryUpload.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.DirectoryUpload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.transfer.s3.model.CompletedDirectoryUpload; +import software.amazon.awssdk.transfer.s3.model.DirectoryTransfer; + +public interface DirectoryUpload extends DirectoryTransfer +{ + CompletableFuture completionFuture(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Download.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Download.java new file mode 100644 index 000000000000..bc9ab6bb30ee --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Download.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.Download for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.transfer.s3.model.CompletedDownload; +import software.amazon.awssdk.transfer.s3.model.ObjectTransfer; + +public interface Download extends ObjectTransfer +{ + CompletableFuture> completionFuture(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadDirectoryRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadDirectoryRequest.java new file mode 100644 index 000000000000..37729e9eb8c9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadDirectoryRequest.java @@ -0,0 +1,83 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.DownloadDirectoryRequest +// for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.nio.file.Path; +import java.util.function.Consumer; +import software.amazon.awssdk.services.s3.model.ListObjectsV2Request; +import software.amazon.awssdk.transfer.s3.config.DownloadFilter; +import software.amazon.awssdk.transfer.s3.model.DownloadFileRequest; +import software.amazon.awssdk.transfer.s3.model.TransferDirectoryRequest; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DownloadDirectoryRequest + implements ToCopyableBuilder, + TransferDirectoryRequest { + protected DownloadDirectoryRequest() {} + + public DownloadDirectoryRequest(DownloadDirectoryRequest.DefaultBuilder p0) {} + + public DownloadDirectoryRequest.Builder toBuilder() { + return null; + } + + public DownloadFilter filter() { + return null; + } + + public Path destination() { + return null; + } + + public String bucket() { + return null; + } + + public String toString() { + return null; + } + + public boolean equals(Object p0) { + return false; + } + + public int hashCode() { + return 0; + } + + public java.util.function.Consumer downloadFileRequestTransformer() { + return null; + } + + public java.util.function.Consumer listObjectsRequestTransformer() { + return null; + } + + public static DownloadDirectoryRequest.Builder builder() { + return null; + } + + public static java.lang.Class + serializableBuilderClass() { + return null; + } + + public static interface Builder + extends CopyableBuilder { + DownloadDirectoryRequest.Builder bucket(String p0); + + DownloadDirectoryRequest.Builder destination(Path p0); + + DownloadDirectoryRequest.Builder downloadFileRequestTransformer( + java.util.function.Consumer p0); + + DownloadDirectoryRequest.Builder filter(DownloadFilter p0); + + DownloadDirectoryRequest.Builder listObjectsV2RequestTransformer( + java.util.function.Consumer p0); + } + + public static class DefaultBuilder {} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadFileRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadFileRequest.java new file mode 100644 index 000000000000..a4e79a8ffcbb --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadFileRequest.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.DownloadFileRequest for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.io.File; +import java.nio.file.Path; +import java.util.Collection; +import java.util.List; +import java.util.function.Consumer; +import software.amazon.awssdk.services.s3.model.GetObjectRequest; +import software.amazon.awssdk.transfer.s3.model.TransferObjectRequest; +import software.amazon.awssdk.transfer.s3.progress.TransferListener; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DownloadFileRequest implements ToCopyableBuilder, TransferObjectRequest +{ + protected DownloadFileRequest() {} + public DownloadFileRequest.Builder toBuilder(){ return null; } + public GetObjectRequest getObjectRequest(){ return null; } + public List transferListeners(){ return null; } + public Path destination(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static DownloadFileRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder + { + DownloadFileRequest.Builder addTransferListener(TransferListener p0); + DownloadFileRequest.Builder destination(Path p0); + DownloadFileRequest.Builder getObjectRequest(GetObjectRequest p0); + DownloadFileRequest.Builder transferListeners(Collection p0); + default DownloadFileRequest.Builder destination(File p0){ return null; } + default DownloadFileRequest.Builder getObjectRequest(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadRequest.java new file mode 100644 index 000000000000..30f18e0ef9ee --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/DownloadRequest.java @@ -0,0 +1,43 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.DownloadRequest for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.function.Consumer; +import software.amazon.awssdk.core.async.AsyncResponseTransformer; +import software.amazon.awssdk.services.s3.model.GetObjectRequest; +import software.amazon.awssdk.services.s3.model.GetObjectResponse; +import software.amazon.awssdk.transfer.s3.model.TransferObjectRequest; +import software.amazon.awssdk.transfer.s3.progress.TransferListener; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class DownloadRequest implements ToCopyableBuilder, DownloadRequest>, TransferObjectRequest +{ + protected DownloadRequest() {} + public DownloadRequest.TypedBuilder toBuilder(){ return null; } + public GetObjectRequest getObjectRequest(){ return null; } + public List transferListeners(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public software.amazon.awssdk.core.async.AsyncResponseTransformer responseTransformer(){ return null; } + public static DownloadRequest.UntypedBuilder builder(){ return null; } + static public interface TypedBuilder extends CopyableBuilder, software.amazon.awssdk.transfer.s3.model.DownloadRequest> + { + DownloadRequest.TypedBuilder addTransferListener(TransferListener p0); + DownloadRequest.TypedBuilder getObjectRequest(GetObjectRequest p0); + DownloadRequest.TypedBuilder responseTransformer(software.amazon.awssdk.core.async.AsyncResponseTransformer p0); + DownloadRequest.TypedBuilder transferListeners(Collection p0); + default DownloadRequest.TypedBuilder getObjectRequest(java.util.function.Consumer p0){ return null; } + } + static public interface UntypedBuilder + { + DownloadRequest.TypedBuilder responseTransformer(software.amazon.awssdk.core.async.AsyncResponseTransformer p0); + DownloadRequest.UntypedBuilder addTransferListener(TransferListener p0); + DownloadRequest.UntypedBuilder getObjectRequest(GetObjectRequest p0); + DownloadRequest.UntypedBuilder transferListeners(Collection p0); + default DownloadRequest.UntypedBuilder getObjectRequest(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedFileDownload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedFileDownload.java new file mode 100644 index 000000000000..891471fcec78 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedFileDownload.java @@ -0,0 +1,26 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.FailedFileDownload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.transfer.s3.model.DownloadFileRequest; +import software.amazon.awssdk.transfer.s3.model.FailedObjectTransfer; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class FailedFileDownload implements FailedObjectTransfer, ToCopyableBuilder +{ + protected FailedFileDownload() {} + public DownloadFileRequest request(){ return null; } + public FailedFileDownload.Builder toBuilder(){ return null; } + public String toString(){ return null; } + public Throwable exception(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static FailedFileDownload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder + { + FailedFileDownload.Builder exception(Throwable p0); + FailedFileDownload.Builder request(DownloadFileRequest p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedFileUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedFileUpload.java new file mode 100644 index 000000000000..f73595c8e192 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedFileUpload.java @@ -0,0 +1,26 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.FailedFileUpload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.transfer.s3.model.FailedObjectTransfer; +import software.amazon.awssdk.transfer.s3.model.UploadFileRequest; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class FailedFileUpload implements FailedObjectTransfer, ToCopyableBuilder +{ + protected FailedFileUpload() {} + public FailedFileUpload.Builder toBuilder(){ return null; } + public String toString(){ return null; } + public Throwable exception(){ return null; } + public UploadFileRequest request(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static FailedFileUpload.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder + { + FailedFileUpload.Builder exception(Throwable p0); + FailedFileUpload.Builder request(UploadFileRequest p0); + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedObjectTransfer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedObjectTransfer.java new file mode 100644 index 000000000000..becd43e064e2 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FailedObjectTransfer.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.FailedObjectTransfer for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.transfer.s3.model.TransferObjectRequest; + +public interface FailedObjectTransfer +{ + Throwable exception(); + TransferObjectRequest request(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FileDownload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FileDownload.java new file mode 100644 index 000000000000..b4f39eeccfc9 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FileDownload.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.FileDownload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.transfer.s3.model.CompletedFileDownload; +import software.amazon.awssdk.transfer.s3.model.ObjectTransfer; +import software.amazon.awssdk.transfer.s3.model.ResumableFileDownload; + +public interface FileDownload extends ObjectTransfer +{ + CompletableFuture completionFuture(); + ResumableFileDownload pause(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FileUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FileUpload.java new file mode 100644 index 000000000000..77e4fc4adbfd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/FileUpload.java @@ -0,0 +1,14 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.FileUpload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.transfer.s3.model.CompletedFileUpload; +import software.amazon.awssdk.transfer.s3.model.ObjectTransfer; +import software.amazon.awssdk.transfer.s3.model.ResumableFileUpload; + +public interface FileUpload extends ObjectTransfer +{ + CompletableFuture completionFuture(); + ResumableFileUpload pause(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ObjectTransfer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ObjectTransfer.java new file mode 100644 index 000000000000..71d307fd50f1 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ObjectTransfer.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.ObjectTransfer for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.transfer.s3.model.Transfer; +import software.amazon.awssdk.transfer.s3.progress.TransferProgress; + +public interface ObjectTransfer extends Transfer +{ + TransferProgress progress(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableFileDownload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableFileDownload.java new file mode 100644 index 000000000000..417bf292200e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableFileDownload.java @@ -0,0 +1,48 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.ResumableFileDownload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.io.InputStream; +import java.io.OutputStream; +import java.nio.file.Path; +import java.time.Instant; +import java.util.Optional; +import java.util.OptionalLong; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkBytes; +import software.amazon.awssdk.transfer.s3.model.DownloadFileRequest; +import software.amazon.awssdk.transfer.s3.model.ResumableTransfer; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ResumableFileDownload implements ResumableTransfer, ToCopyableBuilder +{ + protected ResumableFileDownload() {} + public DownloadFileRequest downloadFileRequest(){ return null; } + public InputStream serializeToInputStream(){ return null; } + public Instant fileLastModified(){ return null; } + public Optional s3ObjectLastModified(){ return null; } + public OptionalLong totalSizeInBytes(){ return null; } + public ResumableFileDownload.Builder toBuilder(){ return null; } + public SdkBytes serializeToBytes(){ return null; } + public String serializeToString(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public long bytesTransferred(){ return 0; } + public static ResumableFileDownload fromBytes(SdkBytes p0){ return null; } + public static ResumableFileDownload fromFile(Path p0){ return null; } + public static ResumableFileDownload fromString(String p0){ return null; } + public static ResumableFileDownload.Builder builder(){ return null; } + public void serializeToFile(Path p0){} + public void serializeToOutputStream(OutputStream p0){} + static public interface Builder extends CopyableBuilder + { + ResumableFileDownload.Builder bytesTransferred(Long p0); + ResumableFileDownload.Builder downloadFileRequest(DownloadFileRequest p0); + ResumableFileDownload.Builder fileLastModified(Instant p0); + ResumableFileDownload.Builder s3ObjectLastModified(Instant p0); + ResumableFileDownload.Builder totalSizeInBytes(Long p0); + default ResumableFileDownload.Builder downloadFileRequest(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableFileUpload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableFileUpload.java new file mode 100644 index 000000000000..0afd4952c792 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableFileUpload.java @@ -0,0 +1,52 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.ResumableFileUpload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.io.InputStream; +import java.io.OutputStream; +import java.nio.file.Path; +import java.time.Instant; +import java.util.Optional; +import java.util.OptionalLong; +import java.util.function.Consumer; +import software.amazon.awssdk.core.SdkBytes; +import software.amazon.awssdk.transfer.s3.model.ResumableTransfer; +import software.amazon.awssdk.transfer.s3.model.UploadFileRequest; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class ResumableFileUpload implements ResumableTransfer, ToCopyableBuilder +{ + protected ResumableFileUpload() {} + public InputStream serializeToInputStream(){ return null; } + public Instant fileLastModified(){ return null; } + public Optional multipartUploadId(){ return null; } + public OptionalLong partSizeInBytes(){ return null; } + public OptionalLong totalParts(){ return null; } + public OptionalLong transferredParts(){ return null; } + public ResumableFileUpload.Builder toBuilder(){ return null; } + public SdkBytes serializeToBytes(){ return null; } + public String serializeToString(){ return null; } + public String toString(){ return null; } + public UploadFileRequest uploadFileRequest(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public long fileLength(){ return 0; } + public static ResumableFileUpload fromBytes(SdkBytes p0){ return null; } + public static ResumableFileUpload fromFile(Path p0){ return null; } + public static ResumableFileUpload fromString(String p0){ return null; } + public static ResumableFileUpload.Builder builder(){ return null; } + public void serializeToFile(Path p0){} + public void serializeToOutputStream(OutputStream p0){} + static public interface Builder extends CopyableBuilder + { + ResumableFileUpload.Builder fileLastModified(Instant p0); + ResumableFileUpload.Builder fileLength(Long p0); + ResumableFileUpload.Builder multipartUploadId(String p0); + ResumableFileUpload.Builder partSizeInBytes(Long p0); + ResumableFileUpload.Builder totalParts(Long p0); + ResumableFileUpload.Builder transferredParts(Long p0); + ResumableFileUpload.Builder uploadFileRequest(UploadFileRequest p0); + default ResumableFileUpload.Builder uploadFileRequest(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableTransfer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableTransfer.java new file mode 100644 index 000000000000..8405f4400688 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/ResumableTransfer.java @@ -0,0 +1,17 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.ResumableTransfer for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.io.InputStream; +import java.io.OutputStream; +import java.nio.file.Path; +import software.amazon.awssdk.core.SdkBytes; + +public interface ResumableTransfer +{ + default InputStream serializeToInputStream(){ return null; } + default SdkBytes serializeToBytes(){ return null; } + default String serializeToString(){ return null; } + default void serializeToFile(Path p0){} + default void serializeToOutputStream(OutputStream p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Transfer.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Transfer.java new file mode 100644 index 000000000000..55ec4b718d2a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Transfer.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.Transfer for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.transfer.s3.model.CompletedTransfer; + +public interface Transfer +{ + CompletableFuture completionFuture(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferDirectoryRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferDirectoryRequest.java new file mode 100644 index 000000000000..505616a0f775 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferDirectoryRequest.java @@ -0,0 +1,9 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.TransferDirectoryRequest for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import software.amazon.awssdk.transfer.s3.model.TransferRequest; + +public interface TransferDirectoryRequest extends TransferRequest +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferObjectRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferObjectRequest.java new file mode 100644 index 000000000000..986678ecf95f --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferObjectRequest.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.TransferObjectRequest for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.List; +import software.amazon.awssdk.transfer.s3.model.TransferRequest; +import software.amazon.awssdk.transfer.s3.progress.TransferListener; + +public interface TransferObjectRequest extends TransferRequest +{ + List transferListeners(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferRequest.java new file mode 100644 index 000000000000..d32f269189d5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/TransferRequest.java @@ -0,0 +1,8 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.TransferRequest for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + + +public interface TransferRequest +{ +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Upload.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Upload.java new file mode 100644 index 000000000000..4b725405382e --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/Upload.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.Upload for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.concurrent.CompletableFuture; +import software.amazon.awssdk.transfer.s3.model.CompletedUpload; +import software.amazon.awssdk.transfer.s3.model.ObjectTransfer; + +public interface Upload extends ObjectTransfer +{ + CompletableFuture completionFuture(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadDirectoryRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadDirectoryRequest.java new file mode 100644 index 000000000000..602e5b936a57 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadDirectoryRequest.java @@ -0,0 +1,96 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.UploadDirectoryRequest for +// testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.nio.file.Path; +import java.util.Optional; +import java.util.OptionalInt; +import java.util.function.Consumer; +import software.amazon.awssdk.transfer.s3.model.TransferDirectoryRequest; +import software.amazon.awssdk.transfer.s3.model.UploadFileRequest; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class UploadDirectoryRequest + implements ToCopyableBuilder, + TransferDirectoryRequest { + protected UploadDirectoryRequest() {} + + public Optional followSymbolicLinks() { + return null; + } + + public Optional s3Delimiter() { + return null; + } + + public Optional s3Prefix() { + return null; + } + + public OptionalInt maxDepth() { + return null; + } + + public Path source() { + return null; + } + + public String bucket() { + return null; + } + + public String toString() { + return null; + } + + public UploadDirectoryRequest(UploadDirectoryRequest.DefaultBuilder p0) {} + + public UploadDirectoryRequest.Builder toBuilder() { + return null; + } + + public boolean equals(Object p0) { + return false; + } + + public int hashCode() { + return 0; + } + + public java.util.function.Consumer uploadFileRequestTransformer() { + return null; + } + + public static UploadDirectoryRequest.Builder builder() { + return null; + } + + public static java.lang.Class + serializableBuilderClass() { + return null; + } + + public static interface Builder + extends CopyableBuilder { + UploadDirectoryRequest build(); + + UploadDirectoryRequest.Builder bucket(String p0); + + UploadDirectoryRequest.Builder followSymbolicLinks(Boolean p0); + + UploadDirectoryRequest.Builder maxDepth(Integer p0); + + UploadDirectoryRequest.Builder s3Delimiter(String p0); + + UploadDirectoryRequest.Builder s3Prefix(String p0); + + UploadDirectoryRequest.Builder source(Path p0); + + UploadDirectoryRequest.Builder uploadFileRequestTransformer( + java.util.function.Consumer p0); + } + + public static class DefaultBuilder {} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadFileRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadFileRequest.java new file mode 100644 index 000000000000..31658faef4dc --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadFileRequest.java @@ -0,0 +1,37 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.UploadFileRequest for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.io.File; +import java.nio.file.Path; +import java.util.Collection; +import java.util.List; +import java.util.function.Consumer; +import software.amazon.awssdk.services.s3.model.PutObjectRequest; +import software.amazon.awssdk.transfer.s3.model.TransferObjectRequest; +import software.amazon.awssdk.transfer.s3.progress.TransferListener; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class UploadFileRequest implements ToCopyableBuilder, TransferObjectRequest +{ + protected UploadFileRequest() {} + public List transferListeners(){ return null; } + public Path source(){ return null; } + public PutObjectRequest putObjectRequest(){ return null; } + public String toString(){ return null; } + public UploadFileRequest.Builder toBuilder(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static UploadFileRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder + { + UploadFileRequest.Builder addTransferListener(TransferListener p0); + UploadFileRequest.Builder putObjectRequest(PutObjectRequest p0); + UploadFileRequest.Builder source(Path p0); + UploadFileRequest.Builder transferListeners(Collection p0); + default UploadFileRequest.Builder putObjectRequest(java.util.function.Consumer p0){ return null; } + default UploadFileRequest.Builder source(File p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadRequest.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadRequest.java new file mode 100644 index 000000000000..961a992cdc74 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/model/UploadRequest.java @@ -0,0 +1,36 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.model.UploadRequest for testing purposes + +package software.amazon.awssdk.transfer.s3.model; + +import java.util.Collection; +import java.util.List; +import java.util.function.Consumer; +import software.amazon.awssdk.core.async.AsyncRequestBody; +import software.amazon.awssdk.services.s3.model.PutObjectRequest; +import software.amazon.awssdk.transfer.s3.model.TransferObjectRequest; +import software.amazon.awssdk.transfer.s3.progress.TransferListener; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class UploadRequest implements ToCopyableBuilder, TransferObjectRequest +{ + protected UploadRequest() {} + public AsyncRequestBody requestBody(){ return null; } + public List transferListeners(){ return null; } + public PutObjectRequest putObjectRequest(){ return null; } + public String toString(){ return null; } + public UploadRequest.Builder toBuilder(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static UploadRequest.Builder builder(){ return null; } + public static java.lang.Class serializableBuilderClass(){ return null; } + static public interface Builder extends CopyableBuilder + { + UploadRequest build(); + UploadRequest.Builder addTransferListener(TransferListener p0); + UploadRequest.Builder putObjectRequest(PutObjectRequest p0); + UploadRequest.Builder requestBody(AsyncRequestBody p0); + UploadRequest.Builder transferListeners(Collection p0); + default UploadRequest.Builder putObjectRequest(java.util.function.Consumer p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/LoggingTransferListener.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/LoggingTransferListener.java new file mode 100644 index 000000000000..9511ad3578df --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/LoggingTransferListener.java @@ -0,0 +1,16 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.progress.LoggingTransferListener for testing purposes + +package software.amazon.awssdk.transfer.s3.progress; + +import software.amazon.awssdk.transfer.s3.progress.TransferListener; + +public class LoggingTransferListener implements TransferListener +{ + protected LoggingTransferListener() {} + public static LoggingTransferListener create(){ return null; } + public static LoggingTransferListener create(int p0){ return null; } + public void bytesTransferred(TransferListener.Context.BytesTransferred p0){} + public void transferComplete(TransferListener.Context.TransferComplete p0){} + public void transferFailed(TransferListener.Context.TransferFailed p0){} + public void transferInitiated(TransferListener.Context.TransferInitiated p0){} +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferListener.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferListener.java new file mode 100644 index 000000000000..7825e1e45590 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferListener.java @@ -0,0 +1,35 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.progress.TransferListener for testing purposes + +package software.amazon.awssdk.transfer.s3.progress; + +import software.amazon.awssdk.transfer.s3.model.CompletedObjectTransfer; +import software.amazon.awssdk.transfer.s3.model.TransferObjectRequest; +import software.amazon.awssdk.transfer.s3.progress.TransferProgressSnapshot; + +public interface TransferListener +{ + default void bytesTransferred(TransferListener.Context.BytesTransferred p0){} + default void transferComplete(TransferListener.Context.TransferComplete p0){} + default void transferFailed(TransferListener.Context.TransferFailed p0){} + default void transferInitiated(TransferListener.Context.TransferInitiated p0){} + static public class Context + { + protected Context() {} + static public interface BytesTransferred extends TransferListener.Context.TransferInitiated + { + } + static public interface TransferComplete extends TransferListener.Context.BytesTransferred + { + CompletedObjectTransfer completedTransfer(); + } + static public interface TransferFailed extends TransferListener.Context.TransferInitiated + { + Throwable exception(); + } + static public interface TransferInitiated + { + TransferObjectRequest request(); + TransferProgressSnapshot progressSnapshot(); + } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferProgress.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferProgress.java new file mode 100644 index 000000000000..9f724d32224d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferProgress.java @@ -0,0 +1,10 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.progress.TransferProgress for testing purposes + +package software.amazon.awssdk.transfer.s3.progress; + +import software.amazon.awssdk.transfer.s3.progress.TransferProgressSnapshot; + +public interface TransferProgress +{ + TransferProgressSnapshot snapshot(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferProgressSnapshot.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferProgressSnapshot.java new file mode 100644 index 000000000000..09f5208e70c2 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/transfer/s3/progress/TransferProgressSnapshot.java @@ -0,0 +1,17 @@ +// Generated automatically from software.amazon.awssdk.transfer.s3.progress.TransferProgressSnapshot for testing purposes + +package software.amazon.awssdk.transfer.s3.progress; + +import java.util.Optional; +import java.util.OptionalDouble; +import java.util.OptionalLong; +import software.amazon.awssdk.core.SdkResponse; + +public interface TransferProgressSnapshot +{ + Optional sdkResponse(); + OptionalDouble ratioTransferred(); + OptionalLong remainingBytes(); + OptionalLong totalBytes(); + long transferredBytes(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/AttributeMap.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/AttributeMap.java new file mode 100644 index 000000000000..518b0dda01cd --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/AttributeMap.java @@ -0,0 +1,44 @@ +// Generated automatically from software.amazon.awssdk.utils.AttributeMap for testing purposes + +package software.amazon.awssdk.utils; + +import java.util.Map; +import software.amazon.awssdk.utils.SdkAutoCloseable; +import software.amazon.awssdk.utils.builder.CopyableBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public class AttributeMap implements SdkAutoCloseable, ToCopyableBuilder +{ + protected AttributeMap() {} + abstract static public class Key + { + protected Key() {} + protected Key(AttributeMap.Key.UnsafeValueType p0){} + protected Key(java.lang.Class p0){} + public final T convertValue(Object p0){ return null; } + public static class UnsafeValueType + { + protected UnsafeValueType() {} + public UnsafeValueType(Class p0){} + } + } + public T get(AttributeMap.Key p0){ return null; } + public boolean containsKey(AttributeMap.Key p0){ return false; } + public AttributeMap copy(){ return null; } + public AttributeMap merge(AttributeMap p0){ return null; } + public AttributeMap.Builder toBuilder(){ return null; } + public String toString(){ return null; } + public boolean equals(Object p0){ return false; } + public int hashCode(){ return 0; } + public static AttributeMap empty(){ return null; } + public static AttributeMap.Builder builder(){ return null; } + public void close(){} + static public class Builder implements CopyableBuilder + { + protected Builder() {} + public AttributeMap.Builder put(AttributeMap.Key p0, T p1){ return null; } + public T get(AttributeMap.Key p0){ return null; } + public AttributeMap build(){ return null; } + public AttributeMap.Builder putAll(Map, ? extends Object> p0){ return null; } + } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/CancellableOutputStream.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/CancellableOutputStream.java new file mode 100644 index 000000000000..f1529eee88da --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/CancellableOutputStream.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.utils.CancellableOutputStream for testing purposes + +package software.amazon.awssdk.utils; + +import java.io.OutputStream; + +abstract public class CancellableOutputStream extends OutputStream +{ + public CancellableOutputStream(){} + public abstract void cancel(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/SdkAutoCloseable.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/SdkAutoCloseable.java new file mode 100644 index 000000000000..f6e4dc3ecb41 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/SdkAutoCloseable.java @@ -0,0 +1,9 @@ +// Generated automatically from software.amazon.awssdk.utils.SdkAutoCloseable for testing purposes + +package software.amazon.awssdk.utils; + + +public interface SdkAutoCloseable extends AutoCloseable +{ + void close(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/Buildable.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/Buildable.java new file mode 100644 index 000000000000..f7ae7abcdfe5 --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/Buildable.java @@ -0,0 +1,9 @@ +// Generated automatically from software.amazon.awssdk.utils.builder.Buildable for testing purposes + +package software.amazon.awssdk.utils.builder; + + +public interface Buildable +{ + Object build(); +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/CopyableBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/CopyableBuilder.java new file mode 100644 index 000000000000..b68c952ab67d --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/CopyableBuilder.java @@ -0,0 +1,11 @@ +// Generated automatically from software.amazon.awssdk.utils.builder.CopyableBuilder for testing purposes + +package software.amazon.awssdk.utils.builder; + +import software.amazon.awssdk.utils.builder.SdkBuilder; +import software.amazon.awssdk.utils.builder.ToCopyableBuilder; + +public interface CopyableBuilder, T extends ToCopyableBuilder> extends software.amazon.awssdk.utils.builder.SdkBuilder +{ + default B copy(){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/SdkBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/SdkBuilder.java new file mode 100644 index 000000000000..eaab4a831c2c --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/SdkBuilder.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.utils.builder.SdkBuilder for testing purposes + +package software.amazon.awssdk.utils.builder; + +import java.util.function.Consumer; +import software.amazon.awssdk.utils.builder.Buildable; + +public interface SdkBuilder, T> extends Buildable +{ + T build(); + default B applyMutation(java.util.function.Consumer p0){ return null; } +} diff --git a/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/ToCopyableBuilder.java b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/ToCopyableBuilder.java new file mode 100644 index 000000000000..4d95da8a158a --- /dev/null +++ b/java/ql/test/experimental/stubs/software-amazon-awssdk-crt-0.20.3/software/amazon/awssdk/utils/builder/ToCopyableBuilder.java @@ -0,0 +1,12 @@ +// Generated automatically from software.amazon.awssdk.utils.builder.ToCopyableBuilder for testing purposes + +package software.amazon.awssdk.utils.builder; + +import java.util.function.Consumer; +import software.amazon.awssdk.utils.builder.CopyableBuilder; + +public interface ToCopyableBuilder, T extends ToCopyableBuilder> +{ + B toBuilder(); + default T copy(Consumer p0){ return null; } +} diff --git a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest2.expected b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest2.expected index d833140cbe17..52404f03414d 100644 --- a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest2.expected +++ b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest2.expected @@ -1,24 +1,23 @@ models -| 1 | Sink: android.app; Activity; true; bindServiceAsUser; ; ; Argument[0]; intent-redirection; manual | -| 1 | Source: testlib; TestSources; false; executeQuery; (String); ; ReturnValue; database; manual | -| 2 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | -| 3 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | -| 4 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | -| 5 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | -| 6 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 1 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | +| 2 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | +| 3 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | +| 4 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | +| 5 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 6 | Source: testlib; TestSources; false; executeQuery; (String); ; ReturnValue; database; manual | edges | Test.java:10:31:10:41 | data : byte[] | Test.java:11:23:11:26 | data : byte[] | provenance | | -| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:3 | -| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:4 MaD:2 | +| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:2 | +| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:3 MaD:1 | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:22:49:22:52 | data : byte[] | provenance | | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:25:69:25:72 | data : byte[] | provenance | | | Test.java:22:49:22:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:3 Sink:MaD:6 | -| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:5 | +| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | +| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:25:69:25:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:3 | -| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:33:26:33:68 | ... + ... | provenance | Src:MaD:1 Sink:MaD:5 | -| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:36:36:36:41 | result | provenance | Src:MaD:1 Sink:MaD:6 | +| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:2 | +| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:33:26:33:68 | ... + ... | provenance | Src:MaD:6 Sink:MaD:4 | +| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:36:36:36:41 | result | provenance | Src:MaD:6 Sink:MaD:5 | nodes | Test.java:10:31:10:41 | data : byte[] | semmle.label | data : byte[] | | Test.java:11:12:11:51 | new String(...) : String | semmle.label | new String(...) : String | diff --git a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest3.expected b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest3.expected index ac94ce6c12d4..340a65d94fc6 100644 --- a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest3.expected +++ b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest3.expected @@ -1,36 +1,34 @@ models -| 1 | Sink: android.app; Activity; true; bindServiceAsUser; ; ; Argument[0]; intent-redirection; manual | -| 1 | Source: testlib; TestSources; false; executeQuery; (String); ; ReturnValue; database; manual | -| 2 | Sink: android.app; Activity; true; setResult; (int,Intent); ; Argument[1]; pending-intents; manual | -| 2 | Source: testlib; TestSources; false; readEnv; (String); ; ReturnValue; environment; manual | -| 3 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | -| 4 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | -| 5 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | -| 6 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | -| 7 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 1 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | +| 2 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | +| 3 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | +| 4 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | +| 5 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 6 | Source: testlib; TestSources; false; executeQuery; (String); ; ReturnValue; database; manual | +| 7 | Source: testlib; TestSources; false; readEnv; (String); ; ReturnValue; environment; manual | edges | Test.java:10:31:10:41 | data : byte[] | Test.java:11:23:11:26 | data : byte[] | provenance | | -| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:4 | -| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:5 MaD:3 | +| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:2 | +| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:3 MaD:1 | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:22:49:22:52 | data : byte[] | provenance | | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:25:69:25:72 | data : byte[] | provenance | | | Test.java:22:49:22:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:4 Sink:MaD:7 | -| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:6 | +| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | +| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:25:69:25:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:4 | -| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:33:26:33:68 | ... + ... | provenance | Src:MaD:1 Sink:MaD:6 | -| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:36:36:36:41 | result | provenance | Src:MaD:1 Sink:MaD:7 | -| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:44:26:44:68 | ... + ... | provenance | Src:MaD:2 Sink:MaD:6 | -| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:47:36:47:41 | result | provenance | Src:MaD:2 Sink:MaD:7 | -| Test.java:64:5:64:13 | System.in : InputStream | Test.java:64:20:64:23 | data [post update] : byte[] | provenance | MaD:3 | +| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:2 | +| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:33:26:33:68 | ... + ... | provenance | Src:MaD:6 Sink:MaD:4 | +| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:36:36:36:41 | result | provenance | Src:MaD:6 Sink:MaD:5 | +| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:44:26:44:68 | ... + ... | provenance | Src:MaD:7 Sink:MaD:4 | +| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:47:36:47:41 | result | provenance | Src:MaD:7 Sink:MaD:5 | +| Test.java:64:5:64:13 | System.in : InputStream | Test.java:64:20:64:23 | data [post update] : byte[] | provenance | MaD:1 | | Test.java:64:20:64:23 | data [post update] : byte[] | Test.java:67:69:67:72 | data : byte[] | provenance | | | Test.java:64:20:64:23 | data [post update] : byte[] | Test.java:70:49:70:52 | data : byte[] | provenance | | -| Test.java:67:56:67:73 | byteToString(...) : String | Test.java:67:26:67:80 | ... + ... | provenance | Sink:MaD:6 | +| Test.java:67:56:67:73 | byteToString(...) : String | Test.java:67:26:67:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:67:69:67:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:67:69:67:72 | data : byte[] | Test.java:67:56:67:73 | byteToString(...) : String | provenance | MaD:4 | +| Test.java:67:69:67:72 | data : byte[] | Test.java:67:56:67:73 | byteToString(...) : String | provenance | MaD:2 | | Test.java:70:49:70:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:70:49:70:52 | data : byte[] | Test.java:70:36:70:53 | byteToString(...) | provenance | MaD:4 Sink:MaD:7 | +| Test.java:70:49:70:52 | data : byte[] | Test.java:70:36:70:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | nodes | Test.java:10:31:10:41 | data : byte[] | semmle.label | data : byte[] | | Test.java:11:12:11:51 | new String(...) : String | semmle.label | new String(...) : String | diff --git a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest4.expected b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest4.expected index 8115581d762e..7e84fde91e3b 100644 --- a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest4.expected +++ b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest4.expected @@ -1,40 +1,37 @@ models -| 1 | Sink: android.app; Activity; true; bindServiceAsUser; ; ; Argument[0]; intent-redirection; manual | -| 1 | Source: testlib; TestSources; false; executeQuery; (String); ; ReturnValue; database; manual | -| 2 | Sink: android.app; Activity; true; setResult; (int,Intent); ; Argument[1]; pending-intents; manual | -| 2 | Source: testlib; TestSources; false; readEnv; (String); ; ReturnValue; environment; manual | -| 3 | Sink: android.app; Activity; true; startActivityAsCaller; ; ; Argument[0]; intent-redirection; manual | -| 3 | Source: testlib; TestSources; false; getCustom; (String); ; ReturnValue; custom; manual | -| 4 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | -| 5 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | -| 6 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | -| 7 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | -| 8 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 1 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | +| 2 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | +| 3 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | +| 4 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | +| 5 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 6 | Source: testlib; TestSources; false; executeQuery; (String); ; ReturnValue; database; manual | +| 7 | Source: testlib; TestSources; false; readEnv; (String); ; ReturnValue; environment; manual | +| 8 | Source: testlib; TestSources; false; getCustom; (String); ; ReturnValue; custom; manual | edges | Test.java:10:31:10:41 | data : byte[] | Test.java:11:23:11:26 | data : byte[] | provenance | | -| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:5 | -| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:6 MaD:4 | +| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:2 | +| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:3 MaD:1 | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:22:49:22:52 | data : byte[] | provenance | | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:25:69:25:72 | data : byte[] | provenance | | | Test.java:22:49:22:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:5 Sink:MaD:8 | -| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:7 | +| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | +| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:25:69:25:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:5 | -| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:33:26:33:68 | ... + ... | provenance | Src:MaD:1 Sink:MaD:7 | -| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:36:36:36:41 | result | provenance | Src:MaD:1 Sink:MaD:8 | -| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:44:26:44:68 | ... + ... | provenance | Src:MaD:2 Sink:MaD:7 | -| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:47:36:47:41 | result | provenance | Src:MaD:2 Sink:MaD:8 | -| Test.java:52:21:52:47 | getCustom(...) : String | Test.java:55:26:55:68 | ... + ... | provenance | Src:MaD:3 Sink:MaD:7 | -| Test.java:52:21:52:47 | getCustom(...) : String | Test.java:58:36:58:41 | result | provenance | Src:MaD:3 Sink:MaD:8 | -| Test.java:64:5:64:13 | System.in : InputStream | Test.java:64:20:64:23 | data [post update] : byte[] | provenance | MaD:4 | +| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:2 | +| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:33:26:33:68 | ... + ... | provenance | Src:MaD:6 Sink:MaD:4 | +| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:36:36:36:41 | result | provenance | Src:MaD:6 Sink:MaD:5 | +| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:44:26:44:68 | ... + ... | provenance | Src:MaD:7 Sink:MaD:4 | +| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:47:36:47:41 | result | provenance | Src:MaD:7 Sink:MaD:5 | +| Test.java:52:21:52:47 | getCustom(...) : String | Test.java:55:26:55:68 | ... + ... | provenance | Src:MaD:8 Sink:MaD:4 | +| Test.java:52:21:52:47 | getCustom(...) : String | Test.java:58:36:58:41 | result | provenance | Src:MaD:8 Sink:MaD:5 | +| Test.java:64:5:64:13 | System.in : InputStream | Test.java:64:20:64:23 | data [post update] : byte[] | provenance | MaD:1 | | Test.java:64:20:64:23 | data [post update] : byte[] | Test.java:67:69:67:72 | data : byte[] | provenance | | | Test.java:64:20:64:23 | data [post update] : byte[] | Test.java:70:49:70:52 | data : byte[] | provenance | | -| Test.java:67:56:67:73 | byteToString(...) : String | Test.java:67:26:67:80 | ... + ... | provenance | Sink:MaD:7 | +| Test.java:67:56:67:73 | byteToString(...) : String | Test.java:67:26:67:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:67:69:67:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:67:69:67:72 | data : byte[] | Test.java:67:56:67:73 | byteToString(...) : String | provenance | MaD:5 | +| Test.java:67:69:67:72 | data : byte[] | Test.java:67:56:67:73 | byteToString(...) : String | provenance | MaD:2 | | Test.java:70:49:70:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:70:49:70:52 | data : byte[] | Test.java:70:36:70:53 | byteToString(...) | provenance | MaD:5 Sink:MaD:8 | +| Test.java:70:49:70:52 | data : byte[] | Test.java:70:36:70:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | nodes | Test.java:10:31:10:41 | data : byte[] | semmle.label | data : byte[] | | Test.java:11:12:11:51 | new String(...) : String | semmle.label | new String(...) : String | diff --git a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest5.expected b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest5.expected index f4fb6e90cac5..7ddb209938f6 100644 --- a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest5.expected +++ b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest5.expected @@ -1,32 +1,31 @@ models -| 1 | Sink: android.app; Activity; true; startActivityAsCaller; ; ; Argument[0]; intent-redirection; manual | -| 1 | Source: testlib; TestSources; false; readEnv; (String); ; ReturnValue; environment; manual | -| 2 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | -| 3 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | -| 4 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | -| 5 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | -| 6 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 1 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | +| 2 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | +| 3 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | +| 4 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | +| 5 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 6 | Source: testlib; TestSources; false; readEnv; (String); ; ReturnValue; environment; manual | edges | Test.java:10:31:10:41 | data : byte[] | Test.java:11:23:11:26 | data : byte[] | provenance | | -| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:3 | -| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:4 MaD:2 | +| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:2 | +| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:3 MaD:1 | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:22:49:22:52 | data : byte[] | provenance | | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:25:69:25:72 | data : byte[] | provenance | | | Test.java:22:49:22:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:3 Sink:MaD:6 | -| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:5 | +| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | +| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:25:69:25:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:3 | -| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:44:26:44:68 | ... + ... | provenance | Src:MaD:1 Sink:MaD:5 | -| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:47:36:47:41 | result | provenance | Src:MaD:1 Sink:MaD:6 | -| Test.java:64:5:64:13 | System.in : InputStream | Test.java:64:20:64:23 | data [post update] : byte[] | provenance | MaD:2 | +| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:2 | +| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:44:26:44:68 | ... + ... | provenance | Src:MaD:6 Sink:MaD:4 | +| Test.java:41:21:41:49 | readEnv(...) : String | Test.java:47:36:47:41 | result | provenance | Src:MaD:6 Sink:MaD:5 | +| Test.java:64:5:64:13 | System.in : InputStream | Test.java:64:20:64:23 | data [post update] : byte[] | provenance | MaD:1 | | Test.java:64:20:64:23 | data [post update] : byte[] | Test.java:67:69:67:72 | data : byte[] | provenance | | | Test.java:64:20:64:23 | data [post update] : byte[] | Test.java:70:49:70:52 | data : byte[] | provenance | | -| Test.java:67:56:67:73 | byteToString(...) : String | Test.java:67:26:67:80 | ... + ... | provenance | Sink:MaD:5 | +| Test.java:67:56:67:73 | byteToString(...) : String | Test.java:67:26:67:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:67:69:67:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:67:69:67:72 | data : byte[] | Test.java:67:56:67:73 | byteToString(...) : String | provenance | MaD:3 | +| Test.java:67:69:67:72 | data : byte[] | Test.java:67:56:67:73 | byteToString(...) : String | provenance | MaD:2 | | Test.java:70:49:70:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:70:49:70:52 | data : byte[] | Test.java:70:36:70:53 | byteToString(...) | provenance | MaD:3 Sink:MaD:6 | +| Test.java:70:49:70:52 | data : byte[] | Test.java:70:36:70:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | nodes | Test.java:10:31:10:41 | data : byte[] | semmle.label | data : byte[] | | Test.java:11:12:11:51 | new String(...) : String | semmle.label | new String(...) : String | diff --git a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest6.expected b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest6.expected index db7b44225d4b..864d0333f9d3 100644 --- a/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest6.expected +++ b/java/ql/test/library-tests/dataflow/threat-models/threat-models-flowtest6.expected @@ -1,32 +1,31 @@ models -| 1 | Sink: android.app; Activity; true; setResult; (int,Intent); ; Argument[1]; pending-intents; manual | -| 1 | Source: testlib; TestSources; false; executeQuery; (String); ; ReturnValue; database; manual | -| 2 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | -| 3 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | -| 4 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | -| 5 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | -| 6 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 1 | Summary: java.io; InputStream; true; read; (byte[]); ; Argument[this]; Argument[0]; taint; manual | +| 2 | Summary: java.lang; String; false; String; ; ; Argument[0]; Argument[this]; taint; manual | +| 3 | Source: java.net; Socket; false; getInputStream; (); ; ReturnValue; remote; manual | +| 4 | Sink: java.sql; Statement; true; executeUpdate; ; ; Argument[0]; sql-injection; manual | +| 5 | Sink: java.util.logging; Logger; true; severe; ; ; Argument[0]; log-injection; manual | +| 6 | Source: testlib; TestSources; false; executeQuery; (String); ; ReturnValue; database; manual | edges | Test.java:10:31:10:41 | data : byte[] | Test.java:11:23:11:26 | data : byte[] | provenance | | -| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:3 | -| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:4 MaD:2 | +| Test.java:11:23:11:26 | data : byte[] | Test.java:11:12:11:51 | new String(...) : String | provenance | MaD:2 | +| Test.java:19:5:19:25 | getInputStream(...) : InputStream | Test.java:19:32:19:35 | data [post update] : byte[] | provenance | Src:MaD:3 MaD:1 | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:22:49:22:52 | data : byte[] | provenance | | | Test.java:19:32:19:35 | data [post update] : byte[] | Test.java:25:69:25:72 | data : byte[] | provenance | | | Test.java:22:49:22:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:3 Sink:MaD:6 | -| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:5 | +| Test.java:22:49:22:52 | data : byte[] | Test.java:22:36:22:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | +| Test.java:25:56:25:73 | byteToString(...) : String | Test.java:25:26:25:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:25:69:25:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:3 | -| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:33:26:33:68 | ... + ... | provenance | Src:MaD:1 Sink:MaD:5 | -| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:36:36:36:41 | result | provenance | Src:MaD:1 Sink:MaD:6 | -| Test.java:64:5:64:13 | System.in : InputStream | Test.java:64:20:64:23 | data [post update] : byte[] | provenance | MaD:2 | +| Test.java:25:69:25:72 | data : byte[] | Test.java:25:56:25:73 | byteToString(...) : String | provenance | MaD:2 | +| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:33:26:33:68 | ... + ... | provenance | Src:MaD:6 Sink:MaD:4 | +| Test.java:30:21:30:61 | executeQuery(...) : String | Test.java:36:36:36:41 | result | provenance | Src:MaD:6 Sink:MaD:5 | +| Test.java:64:5:64:13 | System.in : InputStream | Test.java:64:20:64:23 | data [post update] : byte[] | provenance | MaD:1 | | Test.java:64:20:64:23 | data [post update] : byte[] | Test.java:67:69:67:72 | data : byte[] | provenance | | | Test.java:64:20:64:23 | data [post update] : byte[] | Test.java:70:49:70:52 | data : byte[] | provenance | | -| Test.java:67:56:67:73 | byteToString(...) : String | Test.java:67:26:67:80 | ... + ... | provenance | Sink:MaD:5 | +| Test.java:67:56:67:73 | byteToString(...) : String | Test.java:67:26:67:80 | ... + ... | provenance | Sink:MaD:4 | | Test.java:67:69:67:72 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:67:69:67:72 | data : byte[] | Test.java:67:56:67:73 | byteToString(...) : String | provenance | MaD:3 | +| Test.java:67:69:67:72 | data : byte[] | Test.java:67:56:67:73 | byteToString(...) : String | provenance | MaD:2 | | Test.java:70:49:70:52 | data : byte[] | Test.java:10:31:10:41 | data : byte[] | provenance | | -| Test.java:70:49:70:52 | data : byte[] | Test.java:70:36:70:53 | byteToString(...) | provenance | MaD:3 Sink:MaD:6 | +| Test.java:70:49:70:52 | data : byte[] | Test.java:70:36:70:53 | byteToString(...) | provenance | MaD:2 Sink:MaD:5 | nodes | Test.java:10:31:10:41 | data : byte[] | semmle.label | data : byte[] | | Test.java:11:12:11:51 | new String(...) : String | semmle.label | new String(...) : String | diff --git a/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/AbstractFileResolvingResource.java b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/AbstractFileResolvingResource.java new file mode 100644 index 000000000000..5bd6c57dbe4a --- /dev/null +++ b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/AbstractFileResolvingResource.java @@ -0,0 +1,27 @@ +// Generated automatically from org.springframework.core.io.AbstractFileResolvingResource for testing purposes + +package org.springframework.core.io; + +import java.io.File; +import java.net.HttpURLConnection; +import java.net.URI; +import java.net.URLConnection; +import java.nio.channels.ReadableByteChannel; +import org.springframework.core.io.AbstractResource; + +abstract public class AbstractFileResolvingResource extends AbstractResource +{ + protected File getFile(URI p0){ return null; } + protected File getFileForLastModifiedCheck(){ return null; } + protected boolean isFile(URI p0){ return false; } + protected void customizeConnection(HttpURLConnection p0){} + protected void customizeConnection(URLConnection p0){} + public AbstractFileResolvingResource(){} + public File getFile(){ return null; } + public ReadableByteChannel readableChannel(){ return null; } + public boolean exists(){ return false; } + public boolean isFile(){ return false; } + public boolean isReadable(){ return false; } + public long contentLength(){ return 0; } + public long lastModified(){ return 0; } +} diff --git a/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/AbstractResource.java b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/AbstractResource.java new file mode 100644 index 000000000000..68d111b46758 --- /dev/null +++ b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/AbstractResource.java @@ -0,0 +1,30 @@ +// Generated automatically from org.springframework.core.io.AbstractResource for testing purposes + +package org.springframework.core.io; + +import java.io.File; +import java.net.URI; +import java.net.URL; +import java.nio.channels.ReadableByteChannel; +import org.springframework.core.io.Resource; + +abstract public class AbstractResource implements Resource +{ + protected File getFileForLastModifiedCheck(){ return null; } + public AbstractResource(){} + public File getFile(){ return null; } + public ReadableByteChannel readableChannel(){ return null; } + public Resource createRelative(String p0){ return null; } + public String getFilename(){ return null; } + public String toString(){ return null; } + public URI getURI(){ return null; } + public URL getURL(){ return null; } + public boolean equals(Object p0){ return false; } + public boolean exists(){ return false; } + public boolean isFile(){ return false; } + public boolean isOpen(){ return false; } + public boolean isReadable(){ return false; } + public int hashCode(){ return 0; } + public long contentLength(){ return 0; } + public long lastModified(){ return 0; } +} diff --git a/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/FileSystemResource.java b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/FileSystemResource.java new file mode 100644 index 000000000000..9435882bd915 --- /dev/null +++ b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/FileSystemResource.java @@ -0,0 +1,47 @@ +// Generated automatically from org.springframework.core.io.FileSystemResource for testing purposes + +package org.springframework.core.io; + +import java.io.File; +import java.io.InputStream; +import java.io.OutputStream; +import java.net.URI; +import java.net.URL; +import java.nio.channels.ReadableByteChannel; +import java.nio.channels.WritableByteChannel; +import java.nio.charset.Charset; +import java.nio.file.FileSystem; +import java.nio.file.Path; +import org.springframework.core.io.AbstractResource; +import org.springframework.core.io.Resource; +import org.springframework.core.io.WritableResource; + +public class FileSystemResource extends AbstractResource implements WritableResource +{ + protected FileSystemResource() {} + public File getFile(){ return null; } + public FileSystemResource(File p0){} + public FileSystemResource(FileSystem p0, String p1){} + public FileSystemResource(Path p0){} + public FileSystemResource(String p0){} + public InputStream getInputStream(){ return null; } + public OutputStream getOutputStream(){ return null; } + public ReadableByteChannel readableChannel(){ return null; } + public Resource createRelative(String p0){ return null; } + public String getContentAsString(Charset p0){ return null; } + public String getDescription(){ return null; } + public String getFilename(){ return null; } + public URI getURI(){ return null; } + public URL getURL(){ return null; } + public WritableByteChannel writableChannel(){ return null; } + public boolean equals(Object p0){ return false; } + public boolean exists(){ return false; } + public boolean isFile(){ return false; } + public boolean isReadable(){ return false; } + public boolean isWritable(){ return false; } + public byte[] getContentAsByteArray(){ return null; } + public final String getPath(){ return null; } + public int hashCode(){ return 0; } + public long contentLength(){ return 0; } + public long lastModified(){ return 0; } +} diff --git a/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/FileUrlResource.java b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/FileUrlResource.java new file mode 100644 index 000000000000..c09a3a0efa6b --- /dev/null +++ b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/FileUrlResource.java @@ -0,0 +1,23 @@ +// Generated automatically from org.springframework.core.io.FileUrlResource for testing purposes + +package org.springframework.core.io; + +import java.io.File; +import java.io.OutputStream; +import java.net.URL; +import java.nio.channels.WritableByteChannel; +import org.springframework.core.io.Resource; +import org.springframework.core.io.UrlResource; +import org.springframework.core.io.WritableResource; + +public class FileUrlResource extends UrlResource implements WritableResource +{ + protected FileUrlResource() {} + public File getFile(){ return null; } + public FileUrlResource(String p0){} + public FileUrlResource(URL p0){} + public OutputStream getOutputStream(){ return null; } + public Resource createRelative(String p0){ return null; } + public WritableByteChannel writableChannel(){ return null; } + public boolean isWritable(){ return false; } +} diff --git a/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/PathResource.java b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/PathResource.java new file mode 100644 index 000000000000..fdb662cdb3bc --- /dev/null +++ b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/PathResource.java @@ -0,0 +1,45 @@ +// Generated automatically from org.springframework.core.io.PathResource for testing purposes + +package org.springframework.core.io; + +import java.io.File; +import java.io.InputStream; +import java.io.OutputStream; +import java.net.URI; +import java.net.URL; +import java.nio.channels.ReadableByteChannel; +import java.nio.channels.WritableByteChannel; +import java.nio.charset.Charset; +import java.nio.file.Path; +import org.springframework.core.io.AbstractResource; +import org.springframework.core.io.Resource; +import org.springframework.core.io.WritableResource; + +public class PathResource extends AbstractResource implements WritableResource +{ + protected PathResource() {} + public File getFile(){ return null; } + public InputStream getInputStream(){ return null; } + public OutputStream getOutputStream(){ return null; } + public PathResource(Path p0){} + public PathResource(String p0){} + public PathResource(URI p0){} + public ReadableByteChannel readableChannel(){ return null; } + public Resource createRelative(String p0){ return null; } + public String getContentAsString(Charset p0){ return null; } + public String getDescription(){ return null; } + public String getFilename(){ return null; } + public URI getURI(){ return null; } + public URL getURL(){ return null; } + public WritableByteChannel writableChannel(){ return null; } + public boolean equals(Object p0){ return false; } + public boolean exists(){ return false; } + public boolean isFile(){ return false; } + public boolean isReadable(){ return false; } + public boolean isWritable(){ return false; } + public byte[] getContentAsByteArray(){ return null; } + public final String getPath(){ return null; } + public int hashCode(){ return 0; } + public long contentLength(){ return 0; } + public long lastModified(){ return 0; } +} diff --git a/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/UrlResource.java b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/UrlResource.java new file mode 100644 index 000000000000..e78308024416 --- /dev/null +++ b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/UrlResource.java @@ -0,0 +1,35 @@ +// Generated automatically from org.springframework.core.io.UrlResource for testing purposes + +package org.springframework.core.io; + +import java.io.File; +import java.io.InputStream; +import java.net.URI; +import java.net.URL; +import java.net.URLConnection; +import org.springframework.core.io.AbstractFileResolvingResource; +import org.springframework.core.io.Resource; + +public class UrlResource extends AbstractFileResolvingResource +{ + protected UrlResource() {} + protected URL createRelativeURL(String p0){ return null; } + protected void customizeConnection(URLConnection p0){} + public File getFile(){ return null; } + public InputStream getInputStream(){ return null; } + public Resource createRelative(String p0){ return null; } + public String getDescription(){ return null; } + public String getFilename(){ return null; } + public URI getURI(){ return null; } + public URL getURL(){ return null; } + public UrlResource(String p0){} + public UrlResource(String p0, String p1){} + public UrlResource(String p0, String p1, String p2){} + public UrlResource(URI p0){} + public UrlResource(URL p0){} + public boolean equals(Object p0){ return false; } + public boolean isFile(){ return false; } + public int hashCode(){ return 0; } + public static UrlResource from(String p0){ return null; } + public static UrlResource from(URI p0){ return null; } +} diff --git a/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/WritableResource.java b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/WritableResource.java new file mode 100644 index 000000000000..cff121cf038c --- /dev/null +++ b/java/ql/test/stubs/springframework-5.3.8/org/springframework/core/io/WritableResource.java @@ -0,0 +1,14 @@ +// Generated automatically from org.springframework.core.io.WritableResource for testing purposes + +package org.springframework.core.io; + +import java.io.OutputStream; +import java.nio.channels.WritableByteChannel; +import org.springframework.core.io.Resource; + +public interface WritableResource extends Resource +{ + OutputStream getOutputStream(); + default WritableByteChannel writableChannel(){ return null; } + default boolean isWritable(){ return false; } +} diff --git a/ruby/ql/lib/codeql/ruby/controlflow/internal/Guards.qll b/ruby/ql/lib/codeql/ruby/controlflow/internal/Guards.qll new file mode 100644 index 000000000000..c240595161c7 --- /dev/null +++ b/ruby/ql/lib/codeql/ruby/controlflow/internal/Guards.qll @@ -0,0 +1,11 @@ +private import codeql.ruby.CFG + +/** Holds if the guard `guard` controls block `bb` upon evaluating to `branch`. */ +pragma[nomagic] +predicate guardControlsBlock(CfgNodes::AstCfgNode guard, BasicBlock bb, boolean branch) { + exists(ConditionBlock conditionBlock, SuccessorTypes::ConditionalSuccessor s | + guard = conditionBlock.getLastNode() and + s.getValue() = branch and + conditionBlock.controls(bb, s) + ) +} diff --git a/ruby/ql/lib/codeql/ruby/dataflow/SSA.qll b/ruby/ql/lib/codeql/ruby/dataflow/SSA.qll index f21dadb7c5ab..07ce826d966a 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/SSA.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/SSA.qll @@ -202,8 +202,17 @@ module Ssa { final VariableWriteAccessCfgNode getWriteAccess() { result = write } /** - * Holds if this SSA definition represents a direct assignment of `value` - * to the underlying variable. + * Holds if this SSA definition assigns `value` to the underlying variable. + * + * This is either a direct assignment, `x = value`, or an assignment via + * simple pattern matching + * + * ```rb + * case value + * in Foo => x then ... + * in y => then ... + * end + * ``` */ predicate assigns(CfgNodes::ExprCfgNode value) { exists(CfgNodes::ExprNodes::AssignExprCfgNode a, BasicBlock bb, int i | @@ -211,6 +220,14 @@ module Ssa { a = bb.getNode(i) and value = a.getRhs() ) + or + exists(CfgNodes::ExprNodes::CaseExprCfgNode case, CfgNodes::AstCfgNode pattern | + case.getValue() = value and + pattern = case.getBranch(_).(CfgNodes::ExprNodes::InClauseCfgNode).getPattern() + | + this.getWriteAccess() = + [pattern, pattern.(CfgNodes::ExprNodes::AsPatternCfgNode).getVariableAccess()] + ) } final override string toString() { result = write.toString() } diff --git a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowDispatch.qll b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowDispatch.qll index 4ac9031f05cb..f4b93490020c 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowDispatch.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowDispatch.qll @@ -1073,8 +1073,7 @@ private module TrackSingletonMethodOnInstanceInput implements CallGraphConstruct singletonMethodOnInstance(_, _, nodeFromPreExpr.getExpr()) ) | - nodeFromPreExpr = - LocalFlow::getParameterDefNode(p.getParameter()).getDefinitionExt().getARead() + nodeFromPreExpr = getParameterDef(p.getParameter()).getARead() or nodeFromPreExpr = p.(SelfParameterNodeImpl).getSelfDefinition().getARead() ) diff --git a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll index 6fef4d1222c6..ec58536abe10 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPrivate.qll @@ -72,134 +72,48 @@ CfgNodes::ExprCfgNode getAPostUpdateNodeForArg(Argument arg) { not exists(getALastEvalNode(result)) } -/** An SSA definition into which another SSA definition may flow. */ -class SsaInputDefinitionExt extends SsaImpl::DefinitionExt { - SsaInputDefinitionExt() { - this instanceof Ssa::PhiNode - or - this instanceof SsaImpl::PhiReadNode - } - - predicate hasInputFromBlock(SsaImpl::DefinitionExt def, BasicBlock bb, int i, BasicBlock input) { - SsaImpl::lastRefBeforeRedefExt(def, bb, i, input, this) - } +/** Gets the SSA definition node corresponding to parameter `p`. */ +pragma[nomagic] +SsaImpl::DefinitionExt getParameterDef(NamedParameter p) { + exists(BasicBlock bb, int i | + bb.getNode(i).getAstNode() = p.getDefiningAccess() and + result.definesAt(_, bb, i, _) + ) } -/** Provides predicates related to local data flow. */ -module LocalFlow { - /** - * Holds if `nodeFrom` is a node for SSA definition `def`, which can reach `next`. - */ - pragma[nomagic] - private predicate localFlowSsaInputFromDef( - SsaDefinitionExtNode nodeFrom, SsaImpl::DefinitionExt def, SsaInputNode nodeTo - ) { - exists(BasicBlock bb, int i, BasicBlock input, SsaInputDefinitionExt next | - next.hasInputFromBlock(def, bb, i, input) and - def = nodeFrom.getDefinitionExt() and - def.definesAt(_, bb, i, _) and - nodeTo = TSsaInputNode(next, input) - ) - } - - /** - * Holds if `nodeFrom` is a last read of SSA definition `def`, which - * can reach `nodeTo`. - */ - pragma[nomagic] - predicate localFlowSsaInputFromRead(SsaImpl::DefinitionExt def, Node nodeFrom, SsaInputNode nodeTo) { - exists( - BasicBlock bb, int i, CfgNodes::ExprCfgNode exprFrom, BasicBlock input, - SsaInputDefinitionExt next - | - next.hasInputFromBlock(def, bb, i, input) and - exprFrom = bb.getNode(i) and - exprFrom.getExpr() instanceof VariableReadAccess and - exprFrom = [nodeFrom.asExpr(), nodeFrom.(PostUpdateNodeImpl).getPreUpdateNode().asExpr()] and - nodeTo = TSsaInputNode(next, input) - ) - } - - /** Gets the SSA definition node corresponding to parameter `p`. */ - pragma[nomagic] - SsaDefinitionExtNode getParameterDefNode(NamedParameter p) { - exists(BasicBlock bb, int i | - bb.getNode(i).getAstNode() = p.getDefiningAccess() and - result.getDefinitionExt().definesAt(_, bb, i, _) - ) - } +/** Provides logic related to SSA. */ +module SsaFlow { + private module Impl = SsaImpl::DataFlowIntegration; - /** - * Holds if `nodeFrom` is a parameter node, and `nodeTo` is a corresponding SSA node. - */ - pragma[nomagic] - predicate localFlowSsaParamInput(ParameterNodeImpl nodeFrom, SsaDefinitionExtNode nodeTo) { - nodeTo = getParameterDefNode(nodeFrom.getParameter()) + private ParameterNodeImpl toParameterNode(SsaImpl::ParameterExt p) { + result = TNormalParameterNode(p.asParameter()) or - nodeTo.getDefinitionExt() = nodeFrom.(SelfParameterNodeImpl).getSelfDefinition() - } - - /** - * Holds if there is a local use-use flow step from `nodeFrom` to `nodeTo` - * involving SSA definition `def`. - */ - predicate localSsaFlowStepUseUse(SsaImpl::DefinitionExt def, Node nodeFrom, Node nodeTo) { - SsaImpl::adjacentReadPairExt(def, nodeFrom.asExpr(), nodeTo.asExpr()) - } - - /** - * Holds if SSA definition `def` assigns `value` to the underlying variable. - * - * This is either a direct assignment, `x = value`, or an assignment via - * simple pattern matching - * - * ```rb - * case value - * in Foo => x then ... - * in y => then ... - * end - * ``` - */ - predicate ssaDefAssigns(Ssa::WriteDefinition def, CfgNodes::ExprCfgNode value) { - def.assigns(value) + result = TSelfMethodParameterNode(p.asMethodSelf()) or - exists(CfgNodes::ExprNodes::CaseExprCfgNode case, CfgNodes::AstCfgNode pattern | - case.getValue() = value and - pattern = case.getBranch(_).(CfgNodes::ExprNodes::InClauseCfgNode).getPattern() - | - def.getWriteAccess() = pattern - or - def.getWriteAccess() = pattern.(CfgNodes::ExprNodes::AsPatternCfgNode).getVariableAccess() - ) + result = TSelfToplevelParameterNode(p.asToplevelSelf()) } - /** - * Holds if there is a local flow step from `nodeFrom` to `nodeTo` involving - * SSA definition `def`. - */ - pragma[nomagic] - predicate localSsaFlowStep(SsaImpl::DefinitionExt def, Node nodeFrom, Node nodeTo) { - // Flow from assignment into SSA definition - ssaDefAssigns(def, nodeFrom.asExpr()) and - nodeTo.(SsaDefinitionExtNode).getDefinitionExt() = def - or - // Flow from SSA definition to first read - def = nodeFrom.(SsaDefinitionExtNode).getDefinitionExt() and - SsaImpl::firstReadExt(def, nodeTo.asExpr()) - or - // Flow from post-update read to next read - localSsaFlowStepUseUse(def, nodeFrom.(PostUpdateNodeImpl).getPreUpdateNode(), nodeTo) + Impl::Node asNode(Node n) { + n = TSsaNode(result) or - // Flow into phi (read) SSA definition node from def - localFlowSsaInputFromDef(nodeFrom, def, nodeTo) + result.(Impl::ExprNode).getExpr() = n.asExpr() or - nodeTo.(SsaDefinitionExtNode).getDefinitionExt() = def and - def = nodeFrom.(SsaInputNode).getDefinitionExt() + result.(Impl::ExprPostUpdateNode).getExpr() = n.(PostUpdateNode).getPreUpdateNode().asExpr() or - localFlowSsaParamInput(nodeFrom, nodeTo) and - def = nodeTo.(SsaDefinitionExtNode).getDefinitionExt() + n = toParameterNode(result.(Impl::ParameterNode).getParameter()) + } + + predicate localFlowStep(SsaImpl::DefinitionExt def, Node nodeFrom, Node nodeTo, boolean isUseStep) { + Impl::localFlowStep(def, asNode(nodeFrom), asNode(nodeTo), isUseStep) + } + + predicate localMustFlowStep(SsaImpl::DefinitionExt def, Node nodeFrom, Node nodeTo) { + Impl::localMustFlowStep(def, asNode(nodeFrom), asNode(nodeTo)) } +} +/** Provides predicates related to local data flow. */ +module LocalFlow { pragma[nomagic] predicate localFlowStepCommon(Node nodeFrom, Node nodeTo) { nodeFrom.asExpr() = nodeTo.asExpr().(CfgNodes::ExprNodes::BlockArgumentCfgNode).getValue() @@ -240,7 +154,7 @@ module LocalFlow { p.(KeywordParameter).getDefaultValue() = nodeFrom.asExpr().getExpr() ) or - nodeTo.(BlockArgumentNode).getParameterNode(true) = nodeFrom + nodeTo.(ImplicitBlockArgumentNode).getParameterNode(true) = nodeFrom } predicate flowSummaryLocalStep( @@ -253,21 +167,13 @@ module LocalFlow { } predicate localMustFlowStep(Node node1, Node node2) { - LocalFlow::localFlowSsaParamInput(node1, node2) - or - exists(SsaImpl::Definition def | - def.(Ssa::WriteDefinition).assigns(node1.asExpr()) and - node2.(SsaDefinitionExtNode).getDefinitionExt() = def - or - def = node1.(SsaDefinitionExtNode).getDefinitionExt() and - node2.asExpr() = SsaImpl::getARead(def) - ) + SsaFlow::localMustFlowStep(_, node1, node2) or node1.asExpr() = node2.asExpr().(CfgNodes::ExprNodes::AssignExprCfgNode).getRhs() or node1.asExpr() = node2.asExpr().(CfgNodes::ExprNodes::BlockArgumentCfgNode).getValue() or - node1 = node2.(BlockArgumentNode).getParameterNode(true) + node1 = node2.(ImplicitBlockArgumentNode).getParameterNode(true) or node1 = unique(FlowSummaryNode n1 | @@ -347,7 +253,7 @@ module VariableCapture { or exists(Ssa::Definition def | def.getARead() = e2 and - LocalFlow::ssaDefAssigns(def.getAnUltimateDefinition(), e1) + def.getAnUltimateDefinition().(Ssa::WriteDefinition).assigns(e1) ) } @@ -538,23 +444,14 @@ private module Cached { newtype TNode = TExprNode(CfgNodes::ExprCfgNode n) or TReturningNode(CfgNodes::ReturningCfgNode n) { exists(n.getReturnedValueNode()) } or - TSsaDefinitionExtNode(SsaImpl::DefinitionExt def) or - TSsaInputNode(SsaInputDefinitionExt def, BasicBlock input) { - def.hasInputFromBlock(_, _, _, input) - } or + TSsaNode(SsaImpl::DataFlowIntegration::SsaNode node) or TCapturedVariableNode(VariableCapture::CapturedVariable v) or - TNormalParameterNode(Parameter p) { - p instanceof SimpleParameter or - p instanceof OptionalParameter or - p instanceof KeywordParameter or - p instanceof HashSplatParameter or - p instanceof SplatParameter - } or + TNormalParameterNode(SsaImpl::NormalParameter p) or TSelfMethodParameterNode(MethodBase m) or TSelfToplevelParameterNode(Toplevel t) or TLambdaSelfReferenceNode(Callable c) { lambdaCreationExpr(_, _, c) } or - TBlockParameterNode(MethodBase m) or - TBlockArgumentNode(CfgNodes::ExprNodes::CallCfgNode yield) { + TImplicitBlockParameterNode(MethodBase m) { not m.getAParameter() instanceof BlockParameter } or + TImplicitBlockArgumentNode(CfgNodes::ExprNodes::CallCfgNode yield) { yield = any(BlockParameterNode b).getAYieldCall() } or TSynthHashSplatParameterNode(DataFlowCallable c) { @@ -600,7 +497,7 @@ private module Cached { class TSelfParameterNode = TSelfMethodParameterNode or TSelfToplevelParameterNode; class TSourceParameterNode = - TNormalParameterNode or TBlockParameterNode or TSelfParameterNode or + TNormalParameterNode or TImplicitBlockParameterNode or TSelfParameterNode or TSynthHashSplatParameterNode or TSynthSplatParameterNode; cached @@ -618,16 +515,13 @@ private module Cached { ( LocalFlow::localFlowStepCommon(nodeFrom, nodeTo) or - exists(SsaImpl::DefinitionExt def | + exists(SsaImpl::DefinitionExt def, boolean isUseStep | + SsaFlow::localFlowStep(def, nodeFrom, nodeTo, isUseStep) and // captured variables are handled by the shared `VariableCapture` library not def instanceof VariableCapture::CapturedSsaDefinitionExt | - LocalFlow::localSsaFlowStep(def, nodeFrom, nodeTo) - or - LocalFlow::localSsaFlowStepUseUse(def, nodeFrom, nodeTo) and - not FlowSummaryImpl::Private::Steps::prohibitsUseUseFlow(nodeFrom, _) + isUseStep = false or - LocalFlow::localFlowSsaInputFromRead(def, nodeFrom, nodeTo) and not FlowSummaryImpl::Private::Steps::prohibitsUseUseFlow(nodeFrom, _) ) or @@ -643,11 +537,7 @@ private module Cached { predicate localFlowStepImpl(Node nodeFrom, Node nodeTo) { LocalFlow::localFlowStepCommon(nodeFrom, nodeTo) or - LocalFlow::localSsaFlowStep(_, nodeFrom, nodeTo) - or - LocalFlow::localSsaFlowStepUseUse(_, nodeFrom, nodeTo) - or - LocalFlow::localFlowSsaInputFromRead(_, nodeFrom, nodeTo) + SsaFlow::localFlowStep(_, nodeFrom, nodeTo, _) or // Simple flow through library code is included in the exposed local // step relation, even though flow is technically inter-procedural @@ -661,11 +551,7 @@ private module Cached { predicate localFlowStepTypeTracker(Node nodeFrom, Node nodeTo) { LocalFlow::localFlowStepCommon(nodeFrom, nodeTo) or - LocalFlow::localSsaFlowStep(_, nodeFrom, nodeTo) - or - LocalFlow::localSsaFlowStepUseUse(_, nodeFrom, nodeTo) - or - LocalFlow::localFlowSsaInputFromRead(_, nodeFrom, nodeTo) + SsaFlow::localFlowStep(_, nodeFrom, nodeTo, _) or VariableCapture::flowInsensitiveStep(nodeFrom, nodeTo) or @@ -675,7 +561,8 @@ private module Cached { /** Holds if `n` wraps an SSA definition without ingoing flow. */ private predicate entrySsaDefinition(SsaDefinitionExtNode n) { - n.getDefinitionExt() = any(SsaImpl::WriteDefinition def | not LocalFlow::ssaDefAssigns(def, _)) + n.getDefinitionExt() = + any(SsaImpl::WriteDefinition def | not def.(Ssa::WriteDefinition).assigns(_)) } pragma[nomagic] @@ -715,13 +602,15 @@ private module Cached { // Ensure all entry SSA definitions are local sources, except those that correspond // to parameters (which are themselves local sources) entrySsaDefinition(n) and - not LocalFlow::localFlowSsaParamInput(_, n) + not exists(SsaImpl::ParameterExt p | + p.isInitializedBy(n.(SsaDefinitionExtNode).getDefinitionExt()) + ) or isStoreTargetNode(n) or TypeTrackingInput::loadStep(_, n, _) or - n instanceof BlockArgumentNode + n instanceof ImplicitBlockArgumentNode } cached @@ -825,11 +714,7 @@ import Cached /** Holds if `n` should be hidden from path explanations. */ predicate nodeIsHidden(Node n) { - n.(SsaDefinitionExtNode).isHidden() - or - n instanceof SsaInputNode - or - n = LocalFlow::getParameterDefNode(_) + n.(SsaNode).isHidden() or exists(AstNode desug | isDesugarNode(desug) and @@ -861,33 +746,55 @@ predicate nodeIsHidden(Node n) { or n instanceof CaptureNode or - n instanceof BlockArgumentNode + n instanceof ImplicitBlockArgumentNode } -/** An SSA definition, viewed as a node in a data flow graph. */ -class SsaDefinitionExtNode extends NodeImpl, TSsaDefinitionExtNode { +/** An SSA node. */ +abstract class SsaNode extends NodeImpl, TSsaNode { + SsaImpl::DataFlowIntegration::SsaNode node; SsaImpl::DefinitionExt def; - SsaDefinitionExtNode() { this = TSsaDefinitionExtNode(def) } + SsaNode() { + this = TSsaNode(node) and + def = node.getDefinitionExt() + } - /** Gets the underlying SSA definition. */ SsaImpl::DefinitionExt getDefinitionExt() { result = def } + /** Holds if this node should be hidden from path explanations. */ + abstract predicate isHidden(); + + override Location getLocationImpl() { result = node.getLocation() } + + override string toStringImpl() { result = node.toString() } +} + +/** An (extended) SSA definition, viewed as a node in a data flow graph. */ +class SsaDefinitionExtNode extends SsaNode { + override SsaImpl::DataFlowIntegration::SsaDefinitionExtNode node; + /** Gets the underlying variable. */ Variable getVariable() { result = def.getSourceVariable() } - /** Holds if this node should be hidden from path explanations. */ - predicate isHidden() { + override predicate isHidden() { not def instanceof Ssa::WriteDefinition or isDesugarNode(def.(Ssa::WriteDefinition).getWriteAccess().getExpr()) + or + def = getParameterDef(_) } override CfgScope getCfgScope() { result = def.getBasicBlock().getScope() } +} + +class SsaDefinitionNodeImpl extends SsaDefinitionExtNode { + Ssa::Definition ssaDef; + + SsaDefinitionNodeImpl() { ssaDef = def } - override Location getLocationImpl() { result = def.getLocation() } + override Location getLocationImpl() { result = ssaDef.getLocation() } - override string toStringImpl() { result = def.toString() } + override string toStringImpl() { result = ssaDef.toString() } } /** @@ -925,20 +832,12 @@ class SsaDefinitionExtNode extends NodeImpl, TSsaDefinitionExtNode { * * both inputs into the phi read node after the outer condition are guarded. */ -class SsaInputNode extends NodeImpl, TSsaInputNode { - SsaImpl::DefinitionExt def; - BasicBlock input; - - SsaInputNode() { this = TSsaInputNode(def, input) } +class SsaInputNode extends SsaNode { + override SsaImpl::DataFlowIntegration::SsaInputNode node; - /** Gets the underlying SSA definition. */ - SsaImpl::DefinitionExt getDefinitionExt() { result = def } + override predicate isHidden() { any() } - override CfgScope getCfgScope() { result = input.getScope() } - - override Location getLocationImpl() { result = input.getLastNode().getLocation() } - - override string toStringImpl() { result = "[input] " + def } + override CfgScope getCfgScope() { result = node.getDefinitionExt().getBasicBlock().getScope() } } /** An SSA definition for a `self` variable. */ @@ -1026,7 +925,7 @@ private module ParameterNodes { * flow graph. */ class NormalParameterNode extends ParameterNodeImpl, TNormalParameterNode { - private Parameter parameter; + Parameter parameter; NormalParameterNode() { this = TNormalParameterNode(parameter) } @@ -1055,6 +954,9 @@ private module ParameterNodes { // There are no positional parameters after the splat not exists(SimpleParameter p, int m | m > n | p = callable.getParameter(m)) ) + or + parameter = callable.getAParameter().(BlockParameter) and + pos.isBlock() ) } @@ -1162,25 +1064,33 @@ private module ParameterNodes { * The value of a block parameter at function entry, viewed as a node in a data * flow graph. */ - class BlockParameterNode extends ParameterNodeImpl, TBlockParameterNode { + abstract class BlockParameterNode extends ParameterNodeImpl { + abstract MethodBase getMethod(); + + CfgNodes::ExprNodes::CallCfgNode getAYieldCall() { + this.getMethod() = result.getExpr().(YieldCall).getEnclosingMethod() + } + } + + private class ExplicitBlockParameterNode extends BlockParameterNode, NormalParameterNode { + override BlockParameter parameter; + + final override MethodBase getMethod() { result.getAParameter() = parameter } + } + + private class ImplicitBlockParameterNode extends BlockParameterNode, TImplicitBlockParameterNode { private MethodBase method; - BlockParameterNode() { this = TBlockParameterNode(method) } + ImplicitBlockParameterNode() { this = TImplicitBlockParameterNode(method) } - final MethodBase getMethod() { result = method } + final override MethodBase getMethod() { result = method } - override Parameter getParameter() { - result = method.getAParameter() and result instanceof BlockParameter - } + override Parameter getParameter() { none() } override predicate isParameterOf(DataFlowCallable c, ParameterPosition pos) { c.asCfgScope() = method and pos.isBlock() } - CfgNodes::ExprNodes::CallCfgNode getAYieldCall() { - this.getMethod() = result.getExpr().(YieldCall).getEnclosingMethod() - } - override CfgScope getCfgScope() { result = method } override Location getLocationImpl() { @@ -1452,10 +1362,10 @@ module ArgumentNodes { } } - class BlockArgumentNode extends NodeImpl, ArgumentNode, TBlockArgumentNode { + class ImplicitBlockArgumentNode extends NodeImpl, ArgumentNode, TImplicitBlockArgumentNode { CfgNodes::ExprNodes::CallCfgNode yield; - BlockArgumentNode() { this = TBlockArgumentNode(yield) } + ImplicitBlockArgumentNode() { this = TImplicitBlockArgumentNode(yield) } CfgNodes::ExprNodes::CallCfgNode getYieldCall() { result = yield } @@ -1893,7 +1803,7 @@ predicate jumpStep(Node pred, Node succ) { or any(AdditionalJumpStep s).step(pred, succ) or - succ.(BlockArgumentNode).getParameterNode(false) = pred + succ.(ImplicitBlockArgumentNode).getParameterNode(false) = pred } private ContentSet getArrayContent(int n) { @@ -2236,7 +2146,7 @@ private predicate lambdaCallExpr( */ predicate lambdaSourceCall(CfgNodes::ExprNodes::CallCfgNode call, LambdaCallKind kind, Node receiver) { kind = TYieldCallKind() and - call = receiver.(BlockArgumentNode).getYieldCall() + call = receiver.(ImplicitBlockArgumentNode).getYieldCall() or kind = TLambdaCallKind() and lambdaCallExpr(call, receiver.asExpr()) diff --git a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll index d4e07e0653e1..33ac82448a90 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/internal/DataFlowPublic.qll @@ -6,6 +6,7 @@ private import codeql.ruby.typetracking.internal.TypeTrackingImpl private import codeql.ruby.dataflow.SSA private import FlowSummaryImpl as FlowSummaryImpl private import codeql.ruby.ApiGraphs +private import SsaImpl as SsaImpl /** * An element, viewed as a node in a data flow graph. Either an expression @@ -360,16 +361,12 @@ class PostUpdateNode extends Node { } /** An SSA definition, viewed as a node in a data flow graph. */ -class SsaDefinitionNode extends Node instanceof SsaDefinitionExtNode { - Ssa::Definition def; - - SsaDefinitionNode() { this = TSsaDefinitionExtNode(def) } - +class SsaDefinitionNode extends Node instanceof SsaDefinitionNodeImpl { /** Gets the underlying SSA definition. */ - Ssa::Definition getDefinition() { result = def } + Ssa::Definition getDefinition() { result = super.getDefinitionExt() } /** Gets the underlying variable. */ - Variable getVariable() { result = def.getSourceVariable() } + Variable getVariable() { result = this.getDefinition().getSourceVariable() } } cached @@ -870,56 +867,7 @@ private predicate sameSourceVariable(Ssa::Definition def1, Ssa::Definition def2) * in data flow and taint tracking. */ module BarrierGuard { - private import SsaImpl as SsaImpl - - pragma[nomagic] - private predicate guardChecksSsaDef(CfgNodes::AstCfgNode g, boolean branch, Ssa::Definition def) { - guardChecks(g, def.getARead(), branch) - } - - pragma[nomagic] - private predicate guardControlsSsaRead( - CfgNodes::AstCfgNode g, boolean branch, Ssa::Definition def, Node n - ) { - def.getARead() = n.asExpr() and - guardControlsBlock(g, n.asExpr().getBasicBlock(), branch) - } - - pragma[nomagic] - private predicate guardControlsPhiInput( - CfgNodes::AstCfgNode g, boolean branch, Ssa::Definition def, BasicBlock input, - SsaInputDefinitionExt phi - ) { - phi.hasInputFromBlock(def, _, _, input) and - ( - guardControlsBlock(g, input, branch) - or - exists(SuccessorTypes::ConditionalSuccessor s | - g = input.getLastNode() and - s.getValue() = branch and - input.getASuccessor(s) = phi.getBasicBlock() - ) - ) - } - - /** Gets a node that is safely guarded by the given guard check. */ - Node getABarrierNode() { - exists(CfgNodes::AstCfgNode g, boolean branch, Ssa::Definition def | - guardChecksSsaDef(g, branch, def) and - guardControlsSsaRead(g, branch, def, result) - ) - or - exists( - CfgNodes::AstCfgNode g, boolean branch, Ssa::Definition def, BasicBlock input, - SsaInputDefinitionExt phi - | - guardChecksSsaDef(g, branch, def) and - guardControlsPhiInput(g, branch, def, input, phi) and - result = TSsaInputNode(phi, input) - ) - or - result.asExpr() = getAMaybeGuardedCapturedDef().getARead() - } + private import codeql.ruby.controlflow.internal.Guards /** * Gets an implicit entry definition for a captured variable that @@ -928,6 +876,7 @@ module BarrierGuard { * This is restricted to calls where the variable is captured inside a * block. */ + pragma[nomagic] private Ssa::CapturedEntryDefinition getAMaybeGuardedCapturedDef() { exists( CfgNodes::ExprCfgNode g, boolean branch, CfgNodes::ExprCfgNode testedNode, @@ -940,15 +889,14 @@ module BarrierGuard { sameSourceVariable(def, result) ) } -} -/** Holds if the guard `guard` controls block `bb` upon evaluating to `branch`. */ -private predicate guardControlsBlock(CfgNodes::AstCfgNode guard, BasicBlock bb, boolean branch) { - exists(ConditionBlock conditionBlock, SuccessorTypes::ConditionalSuccessor s | - guard = conditionBlock.getLastNode() and - s.getValue() = branch and - conditionBlock.controls(bb, s) - ) + /** Gets a node that is safely guarded by the given guard check. */ + Node getABarrierNode() { + SsaFlow::asNode(result) = + SsaImpl::DataFlowIntegration::BarrierGuard::getABarrierNode() + or + result.asExpr() = getAMaybeGuardedCapturedDef().getARead() + } } /** diff --git a/ruby/ql/lib/codeql/ruby/dataflow/internal/SsaImpl.qll b/ruby/ql/lib/codeql/ruby/dataflow/internal/SsaImpl.qll index 8824d0813084..bc7a9cc0eb1b 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/internal/SsaImpl.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/internal/SsaImpl.qll @@ -6,7 +6,7 @@ private import codeql.ruby.dataflow.SSA private import codeql.ruby.ast.Variable private import Cfg::CfgNodes::ExprNodes -private module SsaInput implements SsaImplCommon::InputSig { +module SsaInput implements SsaImplCommon::InputSig { private import codeql.ruby.controlflow.ControlFlowGraph as Cfg private import codeql.ruby.controlflow.BasicBlocks as BasicBlocks @@ -65,7 +65,7 @@ private module SsaInput implements SsaImplCommon::InputSig { } } -private import SsaImplCommon::Make as Impl +import SsaImplCommon::Make as Impl class Definition = Impl::Definition; @@ -283,15 +283,6 @@ private predicate adjacentDefSkipUncertainReads( SsaInput::variableRead(bb2, i2, _, true) } -/** Same as `adjacentDefReadExt`, but skips uncertain reads. */ -pragma[nomagic] -private predicate adjacentDefSkipUncertainReadsExt( - DefinitionExt def, SsaInput::BasicBlock bb1, int i1, SsaInput::BasicBlock bb2, int i2 -) { - adjacentDefReachesReadExt(def, bb1, i1, bb2, i2) and - SsaInput::variableRead(bb2, i2, _, true) -} - private predicate adjacentDefReachesUncertainReadExt( DefinitionExt def, SsaInput::BasicBlock bb1, int i1, SsaInput::BasicBlock bb2, int i2 ) { @@ -393,19 +384,6 @@ private module Cached { ) } - /** - * Holds if the value defined at SSA definition `def` can reach a read at `read`, - * without passing through any other non-pseudo read. - */ - cached - predicate firstReadExt(DefinitionExt def, VariableReadAccessCfgNode read) { - exists(Cfg::BasicBlock bb1, int i1, Cfg::BasicBlock bb2, int i2 | - def.definesAt(_, bb1, i1, _) and - adjacentDefSkipUncertainReadsExt(def, bb1, i1, bb2, i2) and - read = bb2.getNode(i2) - ) - } - /** * Holds if the read at `read2` is a read of the same SSA definition `def` * as the read at `read1`, and `read2` can be reached from `read1` without @@ -423,23 +401,6 @@ private module Cached { ) } - /** - * Holds if the read at `read2` is a read of the same SSA definition `def` - * as the read at `read1`, and `read2` can be reached from `read1` without - * passing through another non-pseudo read. - */ - cached - predicate adjacentReadPairExt( - DefinitionExt def, VariableReadAccessCfgNode read1, VariableReadAccessCfgNode read2 - ) { - exists(Cfg::BasicBlock bb1, int i1, Cfg::BasicBlock bb2, int i2 | - read1 = bb1.getNode(i1) and - variableReadActual(bb1, i1, _) and - adjacentDefSkipUncertainReadsExt(def, bb1, i1, bb2, i2) and - read2 = bb2.getNode(i2) - ) - } - /** * Holds if the read of `def` at `read` may be a last read. That is, `read` * can either reach another definition of the underlying source variable or @@ -454,31 +415,41 @@ private module Cached { ) } - /** - * Holds if the reference to `def` at index `i` in basic block `bb` can reach - * another definition `next` of the same underlying source variable, without - * passing through another write or non-pseudo read. - * - * The reference is either a read of `def` or `def` itself. - */ cached - predicate lastRefBeforeRedefExt( - DefinitionExt def, Cfg::BasicBlock bb, int i, Cfg::BasicBlock input, DefinitionExt next - ) { - exists(LocalVariable v | - Impl::lastRefRedefExt(def, v, bb, i, input, next) and - not SsaInput::variableRead(bb, i, v, false) - ) - or - exists(SsaInput::BasicBlock bb0, int i0 | - Impl::lastRefRedefExt(def, _, bb0, i0, input, next) and - adjacentDefReachesUncertainReadExt(def, bb, i, bb0, i0) - ) + Definition uncertainWriteDefinitionInput(UncertainWriteDefinition def) { + Impl::uncertainWriteDefinitionInput(def, result) } cached - Definition uncertainWriteDefinitionInput(UncertainWriteDefinition def) { - Impl::uncertainWriteDefinitionInput(def, result) + module DataFlowIntegration { + import DataFlowIntegrationImpl + + cached + predicate localFlowStep(DefinitionExt def, Node nodeFrom, Node nodeTo, boolean isUseStep) { + DataFlowIntegrationImpl::localFlowStep(def, nodeFrom, nodeTo, isUseStep) + } + + cached + predicate localMustFlowStep(DefinitionExt def, Node nodeFrom, Node nodeTo) { + DataFlowIntegrationImpl::localMustFlowStep(def, nodeFrom, nodeTo) + } + + signature predicate guardChecksSig(Cfg::CfgNodes::AstCfgNode g, Cfg::CfgNode e, boolean branch); + + cached // nothing is actually cached + module BarrierGuard { + private predicate guardChecksAdjTypes( + DataFlowIntegrationInput::Guard g, DataFlowIntegrationInput::Expr e, boolean branch + ) { + guardChecks(g, e, branch) + } + + private Node getABarrierNodeImpl() { + result = DataFlowIntegrationImpl::BarrierGuard::getABarrierNode() + } + + predicate getABarrierNode = getABarrierNodeImpl/0; + } } } @@ -510,3 +481,97 @@ class PhiReadNode extends DefinitionExt, Impl::PhiReadNode { override Location getLocation() { result = Impl::PhiReadNode.super.getLocation() } } + +class NormalParameter extends Parameter { + NormalParameter() { + this instanceof SimpleParameter or + this instanceof OptionalParameter or + this instanceof KeywordParameter or + this instanceof HashSplatParameter or + this instanceof SplatParameter or + this instanceof BlockParameter + } +} + +/** Gets the SSA definition node corresponding to parameter `p`. */ +pragma[nomagic] +DefinitionExt getParameterDef(NamedParameter p) { + exists(Cfg::BasicBlock bb, int i | + bb.getNode(i).getAstNode() = p.getDefiningAccess() and + result.definesAt(_, bb, i, _) + ) +} + +private newtype TParameterExt = + TNormalParameter(NormalParameter p) or + TSelfMethodParameter(MethodBase m) or + TSelfToplevelParameter(Toplevel t) + +/** A normal parameter or an implicit `self` parameter. */ +class ParameterExt extends TParameterExt { + NormalParameter asParameter() { this = TNormalParameter(result) } + + MethodBase asMethodSelf() { this = TSelfMethodParameter(result) } + + Toplevel asToplevelSelf() { this = TSelfToplevelParameter(result) } + + predicate isInitializedBy(WriteDefinition def) { + def = getParameterDef(this.asParameter()) + or + def.(Ssa::SelfDefinition).getSourceVariable().getDeclaringScope() = + [this.asMethodSelf().(Scope), this.asToplevelSelf()] + } + + string toString() { + result = + [ + this.asParameter().toString(), this.asMethodSelf().toString(), + this.asToplevelSelf().toString() + ] + } + + Location getLocation() { + result = + [ + this.asParameter().getLocation(), this.asMethodSelf().getLocation(), + this.asToplevelSelf().getLocation() + ] + } +} + +private module DataFlowIntegrationInput implements Impl::DataFlowIntegrationInputSig { + private import codeql.ruby.controlflow.internal.Guards as Guards + + class Parameter = ParameterExt; + + class Expr extends Cfg::CfgNodes::ExprCfgNode { + predicate hasCfgNode(SsaInput::BasicBlock bb, int i) { this = bb.getNode(i) } + } + + Expr getARead(Definition def) { result = Cached::getARead(def) } + + predicate ssaDefAssigns(WriteDefinition def, Expr value) { + def.(Ssa::WriteDefinition).assigns(value) + } + + predicate ssaDefInitializesParam(WriteDefinition def, Parameter p) { p.isInitializedBy(def) } + + class Guard extends Cfg::CfgNodes::AstCfgNode { + predicate hasCfgNode(SsaInput::BasicBlock bb, int i) { this = bb.getNode(i) } + } + + /** Holds if the guard `guard` controls block `bb` upon evaluating to `branch`. */ + predicate guardControlsBlock(Guard guard, SsaInput::BasicBlock bb, boolean branch) { + Guards::guardControlsBlock(guard, bb, branch) + } + + /** Gets an immediate conditional successor of basic block `bb`, if any. */ + SsaInput::BasicBlock getAConditionalBasicBlockSuccessor(SsaInput::BasicBlock bb, boolean branch) { + exists(Cfg::SuccessorTypes::ConditionalSuccessor s | + result = bb.getASuccessor(s) and + s.getValue() = branch + ) + } +} + +private module DataFlowIntegrationImpl = Impl::DataFlowIntegration; diff --git a/ruby/ql/lib/codeql/ruby/dataflow/internal/TaintTrackingPrivate.qll b/ruby/ql/lib/codeql/ruby/dataflow/internal/TaintTrackingPrivate.qll index 903c8b562e76..565fea34dbc0 100644 --- a/ruby/ql/lib/codeql/ruby/dataflow/internal/TaintTrackingPrivate.qll +++ b/ruby/ql/lib/codeql/ruby/dataflow/internal/TaintTrackingPrivate.qll @@ -5,6 +5,7 @@ private import codeql.ruby.CFG private import codeql.ruby.DataFlow private import FlowSummaryImpl as FlowSummaryImpl private import codeql.ruby.dataflow.SSA +private import SsaImpl as SsaImpl /** * Holds if `node` should be a sanitizer in all global taint flow configurations @@ -89,7 +90,7 @@ private module Cached { clause = case.getBranch(_) and def = nodeTo.(SsaDefinitionExtNode).getDefinitionExt() and def.getControlFlowNode() = variablesInPattern(clause.getPattern()) and - not LocalFlow::ssaDefAssigns(def, value) + not def.(Ssa::WriteDefinition).assigns(value) ) or // operation involving `nodeFrom` diff --git a/ruby/ql/lib/codeql/ruby/frameworks/http_clients/NetHttp.qll b/ruby/ql/lib/codeql/ruby/frameworks/http_clients/NetHttp.qll index de0d4f03df31..509d106f29cb 100644 --- a/ruby/ql/lib/codeql/ruby/frameworks/http_clients/NetHttp.qll +++ b/ruby/ql/lib/codeql/ruby/frameworks/http_clients/NetHttp.qll @@ -29,7 +29,7 @@ class NetHttpRequest extends Http::Client::Request::Range, DataFlow::CallNode { this = request | // Net::HTTP.get(...) - method = "get" and + method in ["get", "get_response"] and requestNode = API::getTopLevelMember("Net").getMember("HTTP").getReturn(method) and returnsResponseBody = true or