91 строка
7.0 KiB
YAML
91 строка
7.0 KiB
YAML
### YamlMime:JavaType
|
|
uid: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault"
|
|
fullName: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault"
|
|
name: "JsonFieldWithDefault"
|
|
nameWithType: "JsonFieldWithDefault"
|
|
summary: "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema."
|
|
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 final class **JsonFieldWithDefault**"
|
|
constructors:
|
|
- uid: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.JsonFieldWithDefault()"
|
|
fullName: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.JsonFieldWithDefault()"
|
|
name: "JsonFieldWithDefault()"
|
|
nameWithType: "JsonFieldWithDefault.JsonFieldWithDefault()"
|
|
syntax: "public JsonFieldWithDefault()"
|
|
methods:
|
|
- uid: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.defaultValue()"
|
|
fullName: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.defaultValue()"
|
|
name: "defaultValue()"
|
|
nameWithType: "JsonFieldWithDefault.defaultValue()"
|
|
summary: "Get the default<wbr>Value property: The default value to be used for mapping when a Source<wbr>Field is not provided or if there's no property with the specified name in the published JSON event payload."
|
|
syntax: "public String defaultValue()"
|
|
desc: "Get the defaultValue property: The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload."
|
|
returns:
|
|
description: "the defaultValue value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.sourceField()"
|
|
fullName: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.sourceField()"
|
|
name: "sourceField()"
|
|
nameWithType: "JsonFieldWithDefault.sourceField()"
|
|
summary: "Get the source<wbr>Field property: Name of a field in the input event schema that's to be used as the source of a mapping."
|
|
syntax: "public String sourceField()"
|
|
desc: "Get the sourceField property: Name of a field in the input event schema that's to be used as the source of a mapping."
|
|
returns:
|
|
description: "the sourceField value."
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
- uid: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.validate()"
|
|
fullName: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.validate()"
|
|
name: "validate()"
|
|
nameWithType: "JsonFieldWithDefault.validate()"
|
|
summary: "Validates the instance."
|
|
syntax: "public void validate()"
|
|
desc: "Validates the instance."
|
|
- uid: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.withDefaultValue(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.withDefaultValue(String defaultValue)"
|
|
name: "withDefaultValue(String defaultValue)"
|
|
nameWithType: "JsonFieldWithDefault.withDefaultValue(String defaultValue)"
|
|
summary: "Set the default<wbr>Value property: The default value to be used for mapping when a Source<wbr>Field is not provided or if there's no property with the specified name in the published JSON event payload."
|
|
parameters:
|
|
- description: "the defaultValue value to set."
|
|
name: "defaultValue"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public JsonFieldWithDefault withDefaultValue(String defaultValue)"
|
|
desc: "Set the defaultValue property: The default value to be used for mapping when a SourceField is not provided or if there's no property with the specified name in the published JSON event payload."
|
|
returns:
|
|
description: "the JsonFieldWithDefault object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault?alt=com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault&text=JsonFieldWithDefault\" data-throw-if-not-resolved=\"False\" />"
|
|
- uid: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.withSourceField(java.lang.String)"
|
|
fullName: "com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault.withSourceField(String sourceField)"
|
|
name: "withSourceField(String sourceField)"
|
|
nameWithType: "JsonFieldWithDefault.withSourceField(String sourceField)"
|
|
summary: "Set the source<wbr>Field property: Name of a field in the input event schema that's to be used as the source of a mapping."
|
|
parameters:
|
|
- description: "the sourceField value to set."
|
|
name: "sourceField"
|
|
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
|
|
syntax: "public JsonFieldWithDefault withSourceField(String sourceField)"
|
|
desc: "Set the sourceField property: Name of a field in the input event schema that's to be used as the source of a mapping."
|
|
returns:
|
|
description: "the JsonFieldWithDefault object itself."
|
|
type: "<xref href=\"com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault?alt=com.azure.resourcemanager.eventgrid.models.JsonFieldWithDefault&text=JsonFieldWithDefault\" data-throw-if-not-resolved=\"False\" />"
|
|
type: "class"
|
|
desc: "This is used to express the source of an input schema mapping for a single target field in the Event Grid Event schema. This is currently used in the mappings for the 'subject', 'eventtype' and 'dataversion' properties. This represents a field in the input event schema along with a default value to be used, and at least one of these two properties should be provided."
|
|
metadata: {}
|
|
package: "com.azure.resourcemanager.eventgrid.models"
|
|
artifact: com.azure.resourcemanager:azure-resourcemanager-eventgrid:1.1.0
|