docstring_tokens list | code_tokens list |
|---|---|
[
"<",
"p",
">",
"the",
"identifier",
"for",
"the",
"db",
"cluster",
"snapshot",
"to",
"modify",
"the",
"attributes",
"for",
"<",
"/",
"p",
">"
] | [
"this",
"d",
"b",
"cluster",
"snapshot",
"identifier",
"=",
"d",
"b",
"cluster",
"snapshot",
"identifier",
";"
] |
[
"<",
"p",
">",
"the",
"identifier",
"for",
"the",
"db",
"cluster",
"snapshot",
"to",
"modify",
"the",
"attributes",
"for",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"d",
"b",
"cluster",
"snapshot",
"identifier",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"identifier",
"for",
"the",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"d",
"b",
"cluster",
"snapshot",
"identifier",
"(",
"d",
"b",
"cluster",
"snapshot",
"identifier",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"db",
"cluster",
"identifier",
"of",
"the",
"db",
"cluster",
"that",
"this",
"db",
"cluster",
"snapshot",
"was",
"created",
"from",
"<",
"/",
"p",
">"
] | [
"set",
"d",
"b",
"cluster",
"identifier",
"(",
"d",
"b",
"cluster",
"identifier",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"when",
"the",
"source",
"node",
"s",
"metadata",
"and",
"cache",
"data",
"set",
"was",
"obtained",
"for",
"the",
"snapshot",
"<",
"/",
"p",
">"
] | [
"this",
"snapshot",
"create",
"time",
"=",
"snapshot",
"create",
"time",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"and",
"time",
"when",
"the",
"source",
"node",
"s",
"metadata",
"and",
"cache",
"data",
"set",
"was",
"obtained",
"for",
"the",
"snapshot",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"snapshot",
"create",
"time",
";"
] |
[
"<",
"p",
">",
"provides",
"the",
"time",
"when",
"the",
"snapshot",
"was",
"taken",
"in",
"universal",
"coordinated",
"time",
"(",
"utc",
")",
"<",
"/",
"p",
">"
] | [
"set",
"snapshot",
"create",
"time",
"(",
"snapshot",
"create",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"name",
"of",
"the",
"database",
"engine",
"<",
"/",
"p",
">"
] | [
"set",
"engine",
"(",
"engine",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"allocated",
"storage",
"size",
"in",
"gibibytes",
"(",
"gi",
"b",
")",
"<",
"/",
"p",
">"
] | [
"set",
"allocated",
"storage",
"(",
"allocated",
"storage",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"status",
"of",
"this",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"port",
"that",
"the",
"db",
"cluster",
"was",
"listening",
"on",
"at",
"the",
"time",
"of",
"the",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"port",
"(",
"port",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"provides",
"the",
"vpc",
"id",
"associated",
"with",
"the",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"vpc",
"id",
"(",
"vpc",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"time",
"when",
"the",
"db",
"cluster",
"was",
"created",
"in",
"universal",
"coordinated",
"time",
"(",
"utc",
")",
"<",
"/",
"p",
">"
] | [
"this",
"cluster",
"create",
"time",
"=",
"cluster",
"create",
"time",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"time",
"when",
"the",
"db",
"cluster",
"was",
"created",
"in",
"universal",
"coordinated",
"time",
"(",
"utc",
")",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"cluster",
"create",
"time",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"time",
"when",
"the",
"db",
"cluster",
"was",
"created",
"in",
"universal",
"coordinated",
"time",
"(",
"utc",
")",
"<",
"/",
"p",
">"
] | [
"set",
"cluster",
"create",
"time",
"(",
"cluster",
"create",
"time",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"provides",
"the",
"master",
"username",
"for",
"the",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"master",
"username",
"(",
"master",
"username",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"provides",
"the",
"version",
"of",
"the",
"database",
"engine",
"for",
"this",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"engine",
"version",
"(",
"engine",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"provides",
"the",
"license",
"model",
"information",
"for",
"this",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"license",
"model",
"(",
"license",
"model",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"provides",
"the",
"type",
"of",
"the",
"db",
"snapshot",
"<",
"/",
"p",
">"
] | [
"this",
"snapshot",
"type",
"=",
"snapshot",
"type",
";"
] |
[
"<",
"p",
">",
"provides",
"the",
"type",
"of",
"the",
"db",
"snapshot",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"snapshot",
"type",
";"
] |
[
"<",
"p",
">",
"provides",
"the",
"type",
"of",
"the",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"snapshot",
"type",
"(",
"snapshot",
"type",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"percentage",
"of",
"the",
"estimated",
"data",
"that",
"has",
"been",
"transferred",
"<",
"/",
"p",
">"
] | [
"this",
"percent",
"progress",
"=",
"percent",
"progress",
";"
] |
[
"<",
"p",
">",
"the",
"percentage",
"of",
"the",
"estimated",
"data",
"that",
"has",
"been",
"transferred",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"percent",
"progress",
";"
] |
[
"<",
"p",
">",
"specifies",
"the",
"percentage",
"of",
"the",
"estimated",
"data",
"that",
"has",
"been",
"transferred",
"<",
"/",
"p",
">"
] | [
"set",
"percent",
"progress",
"(",
"percent",
"progress",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"specifies",
"whether",
"the",
"db",
"cluster",
"snapshot",
"is",
"encrypted",
"<",
"/",
"p",
">"
] | [
"set",
"storage",
"encrypted",
"(",
"storage",
"encrypted",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"<",
"code",
">",
"storage",
"encrypted",
"<",
"/",
"code",
">",
"is",
"true",
"the",
"aws",
"kms",
"key",
"identifier",
"for",
"the",
"encrypted",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"kms",
"key",
"id",
"(",
"kms",
"key",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"for",
"the",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"this",
"d",
"b",
"cluster",
"snapshot",
"arn",
"=",
"d",
"b",
"cluster",
"snapshot",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"for",
"the",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"d",
"b",
"cluster",
"snapshot",
"arn",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"for",
"the",
"db",
"cluster",
"snapshot",
"<",
"/",
"p",
">"
] | [
"set",
"d",
"b",
"cluster",
"snapshot",
"arn",
"(",
"d",
"b",
"cluster",
"snapshot",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"db",
"cluster",
"snapshot",
"was",
"copied",
"from",
"a",
"source",
"db",
"cluster",
"snapshot",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"for",
"the",
"source",
"db",
"cluster",
"snapshot",
"otherwise",
"a",
"nu... | [
"this",
"source",
"d",
"b",
"cluster",
"snapshot",
"arn",
"=",
"source",
"d",
"b",
"cluster",
"snapshot",
"arn",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"db",
"cluster",
"snapshot",
"was",
"copied",
"from",
"a",
"source",
"db",
"cluster",
"snapshot",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"for",
"the",
"source",
"db",
"cluster",
"snapshot",
"otherwise",
"a",
"nu... | [
"return",
"this",
"source",
"d",
"b",
"cluster",
"snapshot",
"arn",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"db",
"cluster",
"snapshot",
"was",
"copied",
"from",
"a",
"source",
"db",
"cluster",
"snapshot",
"the",
"amazon",
"resource",
"name",
"(",
"arn",
")",
"for",
"the",
"source",
"db",
"cluster",
"snapshot",
"otherwise",
"a",
"nu... | [
"set",
"source",
"d",
"b",
"cluster",
"snapshot",
"arn",
"(",
"source",
"d",
"b",
"cluster",
"snapshot",
"arn",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"true",
"if",
"mapping",
"of",
"aws",
"identity",
"and",
"access",
"management",
"(",
"iam",
")",
"accounts",
"to",
"database",
"accounts",
"is",
"enabled",
"and",
"otherwise",
"false",
"<",
"/",
"p",
">"
] | [
"set",
"i",
"a",
"m",
"database",
"authentication",
"enabled",
"(",
"i",
"a",
"m",
"database",
"authentication",
"enabled",
")",
";",
"return",
"this",
";"
] |
[
"gets",
"the",
"start",
"index",
"of",
"this",
"subtext",
"within",
"{"
] | [
"return",
"start",
";"
] |
[
"checks",
"if",
"the",
"rule",
"is",
"valid"
] | [
"public",
"abstract",
"boolean",
"is",
"valid",
"(",
"view",
"view",
")",
";"
] |
[
"add",
"a",
"bookmark",
"listener",
"to",
"the",
"list",
"of",
"bookmark",
"listeners"
] | [
"m",
"listeners",
"add",
"listener",
"(",
"listener",
")",
";"
] |
[
"returns",
"a",
"bookmark",
"identified",
"by",
"an",
"index"
] | [
"final",
"c",
"bookmark",
"bookmark",
"=",
"m",
"bookmark",
"manager",
"get",
"bookmark",
"(",
"index",
")",
";",
"return",
"object",
"finders",
"get",
"object",
"(",
"bookmark",
",",
"m",
"bookmarks",
")",
";"
] |
[
"returns",
"the",
"number",
"of",
"bookmarks",
"managed",
"by",
"the",
"bookmark",
"manager"
] | [
"return",
"m",
"bookmark",
"manager",
"get",
"number",
"of",
"bookmarks",
"(",
")",
";"
] |
[
"removes",
"a",
"bookmark",
"manager",
"listener"
] | [
"m",
"listeners",
"remove",
"listener",
"(",
"listener",
")",
";"
] |
[
"should",
"be",
"used",
"only",
"in",
"tests",
"directly",
"or",
"indirectly",
"(",
"e",
"g",
"in",
"{"
] | [
"return",
"instance",
";"
] |
[
"creates",
"an",
"instance",
"of",
"{",
"@",
"link",
"base",
"printer",
"}",
"that",
"wraps",
"an",
"existing",
"buffer"
] | [
"return",
"new",
"base",
"printer",
"(",
"buffer",
")",
";"
] |
[
"creates",
"an",
"instance",
"of",
"{",
"@",
"link",
"base",
"printer",
"}",
"with",
"an",
"empty",
"buffer"
] | [
"return",
"new",
"base",
"printer",
"(",
"new",
"string",
"builder",
"(",
")",
")",
";"
] |
[
"creates",
"an",
"instance",
"of",
"{",
"@",
"link",
"pretty",
"printer",
"}",
"with",
"an",
"empty",
"buffer"
] | [
"return",
"new",
"pretty",
"printer",
"(",
"new",
"string",
"builder",
"(",
")",
")",
";"
] |
[
"format",
"an",
"object",
"with",
"skylark",
"s",
"{"
] | [
"return",
"get",
"printer",
"(",
")",
"debug",
"print",
"(",
"x",
")",
"to",
"string",
"(",
")",
";"
] |
[
"format",
"an",
"object",
"with",
"skylark",
"s",
"{"
] | [
"return",
"get",
"printer",
"(",
")",
"str",
"(",
"x",
")",
"to",
"string",
"(",
")",
";"
] |
[
"format",
"an",
"object",
"with",
"skylark",
"s",
"{"
] | [
"return",
"get",
"printer",
"(",
")",
"repr",
"(",
"x",
")",
"to",
"string",
"(",
")",
";"
] |
[
"print",
"a",
"list",
"of",
"object",
"representations"
] | [
"return",
"new",
"length",
"limited",
"printer",
"(",
")",
"print",
"abbreviated",
"list",
"(",
"list",
",",
"before",
",",
"separator",
",",
"after",
",",
"singleton",
"terminator",
",",
"max",
"items",
"to",
"print",
",",
"critical",
"items",
"string",
"... |
[
"print",
"a",
"list",
"of",
"object",
"representations"
] | [
"return",
"print",
"abbreviated",
"list",
"(",
"list",
",",
"before",
",",
"separator",
",",
"after",
",",
"singleton",
"terminator",
",",
"suggested",
"critical",
"list",
"elements",
"count",
",",
"suggested",
"critical",
"list",
"elements",
"string",
"length",... |
[
"print",
"a",
"list",
"of",
"object",
"representations"
] | [
"return",
"new",
"length",
"limited",
"printer",
"(",
")",
"print",
"abbreviated",
"list",
"(",
"list",
",",
"is",
"tuple",
",",
"max",
"items",
"to",
"print",
",",
"critical",
"items",
"string",
"length",
")",
"to",
"string",
"(",
")",
";"
] |
[
"perform",
"python",
"-",
"style",
"string",
"formatting",
"as",
"per",
"pattern",
"%",
"tuple",
"limitations",
":",
"only",
"%",
"d",
"%",
"s",
"%",
"r",
"%",
"%",
"are",
"supported"
] | [
"return",
"get",
"printer",
"(",
")",
"format",
"(",
"pattern",
",",
"arguments",
")",
"to",
"string",
"(",
")",
";"
] |
[
"perform",
"python",
"-",
"style",
"string",
"formatting",
"as",
"per",
"pattern",
"%",
"tuple",
"limitations",
":",
"only",
"%",
"d",
"%",
"s",
"%",
"r",
"%",
"%",
"are",
"supported"
] | [
"return",
"get",
"printer",
"(",
")",
"format",
"with",
"list",
"(",
"pattern",
",",
"arguments",
")",
"to",
"string",
"(",
")",
";"
] |
[
"perform",
"python",
"-",
"style",
"string",
"formatting",
"lazily"
] | [
"final",
"list",
"<",
"object",
">",
"args",
"=",
"arrays",
"as",
"list",
"(",
"arguments",
")",
";",
"return",
"new",
"formattable",
"(",
")",
"{",
"@",
"override",
"public",
"string",
"to",
"string",
"(",
")",
"{",
"return",
"format",
"with",
"list",... |
[
"append",
"a",
"char",
"to",
"a",
"buffer",
"in",
"case",
"of",
"{",
"@",
"link",
"i",
"o",
"exception",
"}",
"throw",
"an",
"{",
"@",
"link",
"assertion",
"error",
"}",
"instead"
] | [
"try",
"{",
"return",
"buffer",
"append",
"(",
"c",
")",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"throw",
"new",
"assertion",
"error",
"(",
"e",
")",
";",
"}"
] |
[
"append",
"a",
"char",
"sequence",
"to",
"a",
"buffer",
"in",
"case",
"of",
"{",
"@",
"link",
"i",
"o",
"exception",
"}",
"throw",
"an",
"{",
"@",
"link",
"assertion",
"error",
"}",
"instead"
] | [
"try",
"{",
"return",
"buffer",
"append",
"(",
"s",
")",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"throw",
"new",
"assertion",
"error",
"(",
"e",
")",
";",
"}"
] |
[
"append",
"a",
"char",
"sequence",
"range",
"to",
"a",
"buffer",
"in",
"case",
"of",
"{"
] | [
"try",
"{",
"return",
"buffer",
"append",
"(",
"s",
",",
"start",
",",
"end",
")",
";",
"}",
"catch",
"(",
"i",
"o",
"exception",
"e",
")",
"{",
"throw",
"new",
"assertion",
"error",
"(",
"e",
")",
";",
"}"
] |
[
"print",
"an",
"informal",
"debug",
"-",
"only",
"representation",
"of",
"object",
"x"
] | [
"if",
"(",
"o",
"instanceof",
"skylark",
"value",
")",
"{",
"(",
"(",
"skylark",
"value",
")",
"o",
")",
"debug",
"print",
"(",
"this",
")",
";",
"return",
"this",
";",
"}",
"return",
"this",
"str",
"(",
"o",
")",
";"
] |
[
"print",
"an",
"informal",
"representation",
"of",
"object",
"x",
"currently",
"only",
"differs",
"from",
"repr",
"in",
"the",
"behavior",
"for",
"strings",
"and",
"labels",
"at",
"top",
"-",
"level",
"that",
"are",
"returned",
"as",
"is",
"rather",
"than",
... | [
"if",
"(",
"o",
"instanceof",
"skylark",
"value",
")",
"{",
"(",
"(",
"skylark",
"value",
")",
"o",
")",
"str",
"(",
"this",
")",
";",
"return",
"this",
";",
"}",
"if",
"(",
"o",
"instanceof",
"string",
")",
"{",
"return",
"this",
"append",
"(",
... |
[
"write",
"a",
"properly",
"escaped",
"skylark",
"representation",
"of",
"a",
"string",
"to",
"a",
"buffer"
] | [
"this",
"append",
"(",
"skylark",
"quotation",
"mark",
")",
";",
"int",
"len",
"=",
"s",
"length",
"(",
")",
";",
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"len",
";",
"i",
"+",
"+",
")",
"{",
"char",
"c",
"=",
"s",
"char",
"at",
"("... |
[
"print",
"a",
"list",
"of",
"object",
"representations"
] | [
"this",
"append",
"(",
"before",
")",
";",
"int",
"len",
"=",
"append",
"list",
"elements",
"(",
"list",
",",
"separator",
")",
";",
"if",
"(",
"singleton",
"terminator",
"!",
"=",
"null",
"&",
"&",
"len",
"=",
"=",
"1",
")",
"{",
"this",
"append",... |
[
"perform",
"python",
"-",
"style",
"string",
"formatting",
"similar",
"to",
"the",
"{",
"@",
"code",
"pattern",
"%",
"tuple",
"}",
"syntax"
] | [
"return",
"this",
"format",
"with",
"list",
"(",
"pattern",
",",
"arrays",
"as",
"list",
"(",
"arguments",
")",
")",
";"
] |
[
"print",
"a",
"list",
"of",
"object",
"representations"
] | [
"this",
"append",
"(",
"before",
")",
";",
"int",
"len",
"=",
"append",
"list",
"elements",
"(",
"list",
",",
"separator",
",",
"max",
"items",
"to",
"print",
",",
"critical",
"items",
"string",
"length",
")",
";",
"if",
"(",
"singleton",
"terminator",
... |
[
"returns",
"whether",
"the",
"given",
"sequence",
"denotes",
"characters",
"that",
"are",
"not",
"part",
"of",
"the",
"value",
"of",
"an",
"argument"
] | [
"for",
"(",
"int",
"i",
"=",
"0",
";",
"i",
"<",
"csq",
"length",
"(",
")",
";",
"+",
"+",
"i",
")",
"{",
"if",
"(",
"!",
"is",
"special",
"char",
"(",
"csq",
"char",
"at",
"(",
"i",
")",
")",
")",
"{",
"return",
"false",
";",
"}",
"}",
... |
[
"set",
"the",
"input",
"source",
"to",
"read",
"from",
"<",
"code",
">",
"file",
"<",
"/",
"code",
">",
"a",
"string",
"filename"
] | [
"source",
"=",
"new",
"input",
"source",
"(",
")",
";",
"parser",
"context",
"set",
"url",
"(",
"context",
",",
"source",
",",
"file",
")",
";"
] |
[
"set",
"the",
"input",
"source",
"from",
"<",
"code",
">",
"stream",
"<",
"/",
"code",
">"
] | [
"source",
"=",
"new",
"input",
"source",
"(",
"stream",
")",
";"
] |
[
"update",
"the",
"expansion",
"status",
"of",
"the",
"notification",
"shade",
"/",
"stack"
] | [
"m",
"is",
"shade",
"expanded",
"=",
"expanded",
"height",
">",
"0",
"0f",
";"
] |
[
"returns",
"whether",
"the",
"given",
"package",
"name",
"is",
"in",
"the",
"list",
"of",
"non",
"-",
"blockable",
"packages"
] | [
"return",
"m",
"non",
"blockable",
"pkgs",
"contains",
"(",
"package",
"name",
")",
";"
] |
[
"groups",
"list",
"of",
"given",
"p",
"v",
"cs",
"by",
"volume",
"name"
] | [
"final",
"map",
"<",
"string",
",",
"persistent",
"volume",
"claim",
">",
"grouped",
"=",
"new",
"hash",
"map",
"<",
">",
"(",
")",
";",
"for",
"(",
"persistent",
"volume",
"claim",
"pvc",
":",
"pvcs",
")",
"{",
"final",
"object",
"meta",
"metadata",
... |
[
"shutdown",
"the",
"executor",
"service",
"and",
"close",
"the",
"http",
"client"
] | [
"i",
"o",
"utils",
"close",
"quietly",
"(",
"this",
"request",
"executor",
"service",
")",
";"
] |
[
"<",
"p",
">",
"the",
"name",
"of",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"set",
"name",
"(",
"name",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"a",
"description",
"of",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"set",
"description",
"(",
"description",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"intent",
"<",
"/",
"code",
">",
"objects",
"each",
"intent",
"represents",
"a",
"command",
"that",
"a",
"user",
"can",
"express",
"for",
"example",
"a",
"pizza",
"ordering",
"bot",
"might",
"suppor... | [
"return",
"intents",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"intent",
"<",
"/",
"code",
">",
"objects",
"each",
"intent",
"represents",
"a",
"command",
"that",
"a",
"user",
"can",
"express",
"for",
"example",
"a",
"pizza",
"ordering",
"bot",
"might",
"suppor... | [
"if",
"(",
"intents",
"=",
"=",
"null",
")",
"{",
"this",
"intents",
"=",
"null",
";",
"return",
";",
"}",
"this",
"intents",
"=",
"new",
"java",
"util",
"array",
"list",
"<",
"intent",
">",
"(",
"intents",
")",
";"
] |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"intent",
"<",
"/",
"code",
">",
"objects",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"bot",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">",
"<",
"p",
">",
"<",
"b",
">",
"note"... | [
"if",
"(",
"this",
"intents",
"=",
"=",
"null",
")",
"{",
"set",
"intents",
"(",
"new",
"java",
"util",
"array",
"list",
"<",
"intent",
">",
"(",
"intents",
"length",
")",
")",
";",
"}",
"for",
"(",
"intent",
"ele",
":",
"intents",
")",
"{",
"thi... |
[
"<",
"p",
">",
"an",
"array",
"of",
"<",
"code",
">",
"intent",
"<",
"/",
"code",
">",
"objects",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"bot",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"intents",
"(",
"intents",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"when",
"amazon",
"lex",
"doesn",
"t",
"understand",
"the",
"user",
"s",
"intent",
"it",
"uses",
"this",
"message",
"to",
"get",
"clarification",
"to",
"specify",
"how",
"many",
"times",
"amazon",
"lex",
"should",
"repeate",
"the",
"clarific... | [
"this",
"clarification",
"prompt",
"=",
"clarification",
"prompt",
";"
] |
[
"<",
"p",
">",
"when",
"amazon",
"lex",
"doesn",
"t",
"understand",
"the",
"user",
"s",
"intent",
"it",
"uses",
"this",
"message",
"to",
"get",
"clarification",
"to",
"specify",
"how",
"many",
"times",
"amazon",
"lex",
"should",
"repeate",
"the",
"clarific... | [
"return",
"this",
"clarification",
"prompt",
";"
] |
[
"<",
"p",
">",
"the",
"message",
"amazon",
"lex",
"uses",
"when",
"it",
"doesn",
"t",
"understand",
"the",
"user",
"s",
"request",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"bot",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
] | [
"set",
"clarification",
"prompt",
"(",
"clarification",
"prompt",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"when",
"amazon",
"lex",
"can",
"t",
"understand",
"the",
"user",
"s",
"input",
"in",
"context",
"it",
"tries",
"to",
"elicit",
"the",
"information",
"a",
"few",
"times",
"after",
"that",
"amazon",
"lex",
"sends",
"the",
"message",
"define... | [
"this",
"abort",
"statement",
"=",
"abort",
"statement",
";"
] |
[
"<",
"p",
">",
"when",
"amazon",
"lex",
"can",
"t",
"understand",
"the",
"user",
"s",
"input",
"in",
"context",
"it",
"tries",
"to",
"elicit",
"the",
"information",
"a",
"few",
"times",
"after",
"that",
"amazon",
"lex",
"sends",
"the",
"message",
"define... | [
"return",
"this",
"abort",
"statement",
";"
] |
[
"<",
"p",
">",
"the",
"message",
"that",
"amazon",
"lex",
"returns",
"when",
"the",
"user",
"elects",
"to",
"end",
"the",
"conversation",
"without",
"completing",
"it",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"bot",
"<",
"/",
"a",
">... | [
"set",
"abort",
"statement",
"(",
"abort",
"statement",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"bot",
"if",
"the",
"bot",
"is",
"ready",
"to",
"run",
"the",
"status",
"is",
"<",
"code",
">",
"ready",
"<",
"/",
"code",
">",
"if",
"there",
"was",
"a",
"problem",
"with",
"building",
"the",
"bot",
"... | [
"set",
"status",
"(",
"status",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"status",
"of",
"the",
"bot",
"if",
"the",
"bot",
"is",
"ready",
"to",
"run",
"the",
"status",
"is",
"<",
"code",
">",
"ready",
"<",
"/",
"code",
">",
"if",
"there",
"was",
"a",
"problem",
"with",
"building",
"the",
"bot",
"... | [
"this",
"status",
"=",
"status",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"transform",
"job",
"failed",
"the",
"reason",
"that",
"it",
"failed",
"<",
"/",
"p",
">"
] | [
"this",
"failure",
"reason",
"=",
"failure",
"reason",
";"
] |
[
"<",
"p",
">",
"if",
"the",
"transform",
"job",
"failed",
"the",
"reason",
"that",
"it",
"failed",
"<",
"/",
"p",
">"
] | [
"return",
"this",
"failure",
"reason",
";"
] |
[
"<",
"p",
">",
"if",
"<",
"code",
">",
"status",
"<",
"/",
"code",
">",
"is",
"<",
"code",
">",
"failed",
"<",
"/",
"code",
">",
"amazon",
"lex",
"explains",
"why",
"it",
"failed",
"to",
"build",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"set",
"failure",
"reason",
"(",
"failure",
"reason",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"bot",
"was",
"updated",
"when",
"you",
"create",
"a",
"resource",
"the",
"creation",
"date",
"and",
"last",
"updated",
"date",
"are",
"the",
"same",
"<",
"/",
"p",
">"
] | [
"set",
"last",
"updated",
"date",
"(",
"last",
"updated",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"date",
"that",
"the",
"bot",
"was",
"created",
"<",
"/",
"p",
">"
] | [
"set",
"created",
"date",
"(",
"created",
"date",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"time",
"in",
"seconds",
"that",
"amazon",
"lex",
"retains",
"the",
"data",
"gathered",
"in",
"a",
"conversation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"a",
"user",
"interaction",
"session",
"remains",
"active",
"for",
"t... | [
"this",
"idle",
"session",
"t",
"t",
"l",
"in",
"seconds",
"=",
"idle",
"session",
"t",
"t",
"l",
"in",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"time",
"in",
"seconds",
"that",
"amazon",
"lex",
"retains",
"the",
"data",
"gathered",
"in",
"a",
"conversation",
"<",
"/",
"p",
">",
"<",
"p",
">",
"a",
"user",
"interaction",
"session",
"remains",
"active",
"for",
"t... | [
"return",
"this",
"idle",
"session",
"t",
"t",
"l",
"in",
"seconds",
";"
] |
[
"<",
"p",
">",
"the",
"maximum",
"time",
"in",
"seconds",
"that",
"amazon",
"lex",
"retains",
"the",
"data",
"gathered",
"in",
"a",
"conversation",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"bot",
"<",
"/",
"a",
">",
"<",
"/",
"p",
... | [
"set",
"idle",
"session",
"t",
"t",
"l",
"in",
"seconds",
"(",
"idle",
"session",
"t",
"t",
"l",
"in",
"seconds",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"voice",
"id",
"to",
"use",
"for",
"the",
"synthesis",
"you",
"can",
"get",
"a",
"list",
"of",
"available",
"voice",
"i",
"ds",
"by",
"calling",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"... | [
"this",
"voice",
"id",
"=",
"voice",
"id",
";"
] |
[
"<",
"p",
">",
"voice",
"id",
"to",
"use",
"for",
"the",
"synthesis",
"you",
"can",
"get",
"a",
"list",
"of",
"available",
"voice",
"i",
"ds",
"by",
"calling",
"the",
"<",
"a",
"href",
"=",
"http",
":",
"/",
"/",
"docs",
"aws",
"amazon",
"com",
"... | [
"return",
"this",
"voice",
"id",
";"
] |
[
"<",
"p",
">",
"the",
"amazon",
"polly",
"voice",
"id",
"that",
"amazon",
"lex",
"uses",
"for",
"voice",
"interaction",
"with",
"the",
"user",
"for",
"more",
"information",
"see",
"<",
"a",
">",
"put",
"bot",
"<",
"/",
"a",
">",
"<",
"/",
"p",
">"
... | [
"set",
"voice",
"id",
"(",
"voice",
"id",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"checksum",
"of",
"the",
"bot",
"used",
"to",
"identify",
"a",
"specific",
"revision",
"of",
"the",
"bot",
"s",
"<",
"code",
">",
"$",
"latest",
"<",
"/",
"code",
">",
"version",
"<",
"/",
"p",
">"
] | [
"set",
"checksum",
"(",
"checksum",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"version",
"of",
"the",
"bot",
"for",
"a",
"new",
"bot",
"the",
"version",
"is",
"always",
"<",
"code",
">",
"$",
"latest",
"<",
"/",
"code",
">",
"<",
"/",
"p",
">"
] | [
"set",
"version",
"(",
"version",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"target",
"locale",
"for",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"set",
"locale",
"(",
"locale",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"the",
"target",
"locale",
"for",
"the",
"bot",
"<",
"/",
"p",
">"
] | [
"this",
"locale",
"=",
"locale",
"to",
"string",
"(",
")",
";",
"return",
"this",
";"
] |
[
"<",
"p",
">",
"for",
"each",
"amazon",
"lex",
"bot",
"created",
"with",
"the",
"amazon",
"lex",
"model",
"building",
"service",
"you",
"must",
"specify",
"whether",
"your",
"use",
"of",
"amazon",
"lex",
"is",
"related",
"to",
"a",
"website",
"program",
... | [
"this",
"child",
"directed",
"=",
"child",
"directed",
";"
] |
[
"<",
"p",
">",
"for",
"each",
"amazon",
"lex",
"bot",
"created",
"with",
"the",
"amazon",
"lex",
"model",
"building",
"service",
"you",
"must",
"specify",
"whether",
"your",
"use",
"of",
"amazon",
"lex",
"is",
"related",
"to",
"a",
"website",
"program",
... | [
"return",
"this",
"child",
"directed",
";"
] |
[
"<",
"p",
">",
"for",
"each",
"amazon",
"lex",
"bot",
"created",
"with",
"the",
"amazon",
"lex",
"model",
"building",
"service",
"you",
"must",
"specify",
"whether",
"your",
"use",
"of",
"amazon",
"lex",
"is",
"related",
"to",
"a",
"website",
"program",
... | [
"set",
"child",
"directed",
"(",
"child",
"directed",
")",
";",
"return",
"this",
";"
] |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.