TargetDescription Class
- java.
lang. Object - com.
azure. resourcemanager. quantum. models. TargetDescription
- com.
Implements
public final class TargetDescription
implements JsonSerializable<TargetDescription>
Information about a Target. A target is the component that can process a specific type of Job.
Constructor Summary
| Constructor | Description |
|---|---|
| TargetDescription() |
Creates an instance of Target |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
| List<String> |
acceptedContentEncodings()
Get the accepted |
| List<String> |
acceptedDataFormats()
Get the accepted |
| String |
description()
Get the description property: A description about this target. |
|
static
Target |
fromJson(JsonReader jsonReader)
Reads an instance of Target |
| String |
id()
Get the id property: Unique target id. |
| String |
name()
Get the name property: Display name of this target. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Target |
withAcceptedContentEncodings(List<String> acceptedContentEncodings)
Set the accepted |
|
Target |
withAcceptedDataFormats(List<String> acceptedDataFormats)
Set the accepted |
|
Target |
withDescription(String description)
Set the description property: A description about this target. |
|
Target |
withId(String id)
Set the id property: Unique target id. |
|
Target |
withName(String name)
Set the name property: Display name of this target. |
Methods inherited from java.lang.Object
Constructor Details
TargetDescription
public TargetDescription()
Creates an instance of TargetDescription class.
Method Details
acceptedContentEncodings
public List<String> acceptedContentEncodings()
Get the acceptedContentEncodings property: List of content encodings accepted by this target.
Returns:
acceptedDataFormats
public List<String> acceptedDataFormats()
Get the acceptedDataFormats property: List of data formats accepted by this target.
Returns:
description
public String description()
Get the description property: A description about this target.
Returns:
fromJson
public static TargetDescription fromJson(JsonReader jsonReader)
Reads an instance of TargetDescription from the JsonReader.
Parameters:
Returns:
Throws:
id
public String id()
Get the id property: Unique target id.
Returns:
name
public String name()
Get the name property: Display name of this target.
Returns:
toJson
validate
public void validate()
Validates the instance.
withAcceptedContentEncodings
public TargetDescription withAcceptedContentEncodings(List<String> acceptedContentEncodings)
Set the acceptedContentEncodings property: List of content encodings accepted by this target.
Parameters:
Returns:
withAcceptedDataFormats
public TargetDescription withAcceptedDataFormats(List<String> acceptedDataFormats)
Set the acceptedDataFormats property: List of data formats accepted by this target.
Parameters:
Returns:
withDescription
public TargetDescription withDescription(String description)
Set the description property: A description about this target.
Parameters:
Returns:
withId
public TargetDescription withId(String id)
Set the id property: Unique target id.
Parameters:
Returns:
withName
public TargetDescription withName(String name)
Set the name property: Display name of this target.
Parameters:
Returns: