azure-docs-sdk-java/docs-ref-autogen/com.azure.core.test.models....

132 строки
8.9 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.core.test.models.TestProxySanitizer"
fullName: "com.azure.core.test.models.TestProxySanitizer"
name: "TestProxySanitizer"
nameWithType: "TestProxySanitizer"
summary: "Keeps track of different sanitizers that redact the sensitive information when recording"
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public class **TestProxySanitizer**"
constructors:
- uid: "com.azure.core.test.models.TestProxySanitizer.TestProxySanitizer(java.lang.String,java.lang.String,com.azure.core.test.models.TestProxySanitizerType)"
fullName: "com.azure.core.test.models.TestProxySanitizer.TestProxySanitizer(String regex, String redactedValue, TestProxySanitizerType testProxySanitizerType)"
name: "TestProxySanitizer(String regex, String redactedValue, TestProxySanitizerType testProxySanitizerType)"
nameWithType: "TestProxySanitizer.TestProxySanitizer(String regex, String redactedValue, TestProxySanitizerType testProxySanitizerType)"
summary: "Creates an instance of Test<wbr>Proxy<wbr>Sanitizer with regex"
parameters:
- description: "the regex to apply for redaction"
name: "regex"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the replacement text for the regex matched content"
name: "redactedValue"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the type of sanitizer"
name: "testProxySanitizerType"
type: "<xref href=\"com.azure.core.test.models.TestProxySanitizerType?alt=com.azure.core.test.models.TestProxySanitizerType&text=TestProxySanitizerType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TestProxySanitizer(String regex, String redactedValue, TestProxySanitizerType testProxySanitizerType)"
desc: "Creates an instance of TestProxySanitizer with regex"
- uid: "com.azure.core.test.models.TestProxySanitizer.TestProxySanitizer(java.lang.String,java.lang.String,java.lang.String,com.azure.core.test.models.TestProxySanitizerType)"
fullName: "com.azure.core.test.models.TestProxySanitizer.TestProxySanitizer(String key, String regex, String redactedValue, TestProxySanitizerType testProxySanitizerType)"
name: "TestProxySanitizer(String key, String regex, String redactedValue, TestProxySanitizerType testProxySanitizerType)"
nameWithType: "TestProxySanitizer.TestProxySanitizer(String key, String regex, String redactedValue, TestProxySanitizerType testProxySanitizerType)"
summary: "Creates an instance of Test<wbr>Proxy<wbr>Sanitizer for a key with specified regex pattern"
parameters:
- description: "the body json key (\"$..apiKey\", \"$..resourceId\") or header key(\"Location\") to apply regex to"
name: "key"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the regex to apply for redaction"
name: "regex"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the replacement text for the regex matched content"
name: "redactedValue"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- description: "the type of sanitizer"
name: "testProxySanitizerType"
type: "<xref href=\"com.azure.core.test.models.TestProxySanitizerType?alt=com.azure.core.test.models.TestProxySanitizerType&text=TestProxySanitizerType\" data-throw-if-not-resolved=\"False\" />"
syntax: "public TestProxySanitizer(String key, String regex, String redactedValue, TestProxySanitizerType testProxySanitizerType)"
desc: "Creates an instance of TestProxySanitizer for a key with specified regex pattern"
methods:
- uid: "com.azure.core.test.models.TestProxySanitizer.getGroupForReplace()"
fullName: "com.azure.core.test.models.TestProxySanitizer.getGroupForReplace()"
name: "getGroupForReplace()"
nameWithType: "TestProxySanitizer.getGroupForReplace()"
summary: "Get the group for replace"
syntax: "public String getGroupForReplace()"
desc: "Get the group for replace"
returns:
description: "the group for replace."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.test.models.TestProxySanitizer.getKey()"
fullName: "com.azure.core.test.models.TestProxySanitizer.getKey()"
name: "getKey()"
nameWithType: "TestProxySanitizer.getKey()"
summary: "Get the header or body json key that is being redacted."
syntax: "public String getKey()"
desc: "Get the header or body json key that is being redacted."
returns:
description: "the header or body json key being redacted."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.test.models.TestProxySanitizer.getRedactedValue()"
fullName: "com.azure.core.test.models.TestProxySanitizer.getRedactedValue()"
name: "getRedactedValue()"
nameWithType: "TestProxySanitizer.getRedactedValue()"
summary: "Get the replacement for regex matched content"
syntax: "public String getRedactedValue()"
desc: "Get the replacement for regex matched content"
returns:
description: "the replacement for regex matched content"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.test.models.TestProxySanitizer.getRegex()"
fullName: "com.azure.core.test.models.TestProxySanitizer.getRegex()"
name: "getRegex()"
nameWithType: "TestProxySanitizer.getRegex()"
summary: "Get the regex to apply for redaction"
syntax: "public String getRegex()"
desc: "Get the regex to apply for redaction"
returns:
description: "the regex to apply for redaction"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.core.test.models.TestProxySanitizer.getType()"
fullName: "com.azure.core.test.models.TestProxySanitizer.getType()"
name: "getType()"
nameWithType: "TestProxySanitizer.getType()"
summary: "Get the type of proxy sanitizer"
syntax: "public TestProxySanitizerType getType()"
desc: "Get the type of proxy sanitizer"
returns:
description: "the type of proxy sanitizer"
type: "<xref href=\"com.azure.core.test.models.TestProxySanitizerType?alt=com.azure.core.test.models.TestProxySanitizerType&text=TestProxySanitizerType\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.core.test.models.TestProxySanitizer.setGroupForReplace(java.lang.String)"
fullName: "com.azure.core.test.models.TestProxySanitizer.setGroupForReplace(String groupForReplace)"
name: "setGroupForReplace(String groupForReplace)"
nameWithType: "TestProxySanitizer.setGroupForReplace(String groupForReplace)"
summary: "Set the group for replace."
parameters:
- description: "The name of the group to replace."
name: "groupForReplace"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public TestProxySanitizer setGroupForReplace(String groupForReplace)"
desc: "Set the group for replace."
returns:
description: "the <xref uid=\"com.azure.core.test.models.TestProxySanitizer\" data-throw-if-not-resolved=\"false\" data-raw-source=\"TestProxySanitizer\"></xref> itself."
type: "<xref href=\"com.azure.core.test.models.TestProxySanitizer?alt=com.azure.core.test.models.TestProxySanitizer&text=TestProxySanitizer\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Keeps track of different sanitizers that redact the sensitive information when recording"
metadata: {}
package: "com.azure.core.test.models"
artifact: com.azure:azure-core-test:1.26.2