SecurityAssessmentPartnerData Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. SecurityAssessmentPartnerData
- com.
Implements
public final class SecurityAssessmentPartnerData
implements JsonSerializable<SecurityAssessmentPartnerData>
Data regarding 3rd party partner integration.
Constructor Summary
| Constructor | Description |
|---|---|
| SecurityAssessmentPartnerData() |
Creates an instance of Security |
Method Summary
| Modifier and Type | Method and Description |
|---|---|
|
static
Security |
fromJson(JsonReader jsonReader)
Reads an instance of Security |
| String |
partnerName()
Get the partner |
| String |
secret()
Get the secret property: secret to authenticate the partner - write only. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Security |
withPartnerName(String partnerName)
Set the partner |
|
Security |
withSecret(String secret)
Set the secret property: secret to authenticate the partner - write only. |
Methods inherited from java.lang.Object
Constructor Details
SecurityAssessmentPartnerData
public SecurityAssessmentPartnerData()
Creates an instance of SecurityAssessmentPartnerData class.
Method Details
fromJson
public static SecurityAssessmentPartnerData fromJson(JsonReader jsonReader)
Reads an instance of SecurityAssessmentPartnerData from the JsonReader.
Parameters:
Returns:
Throws:
partnerName
public String partnerName()
Get the partnerName property: Name of the company of the partner.
Returns:
secret
public String secret()
Get the secret property: secret to authenticate the partner - write only.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPartnerName
public SecurityAssessmentPartnerData withPartnerName(String partnerName)
Set the partnerName property: Name of the company of the partner.
Parameters:
Returns:
withSecret
public SecurityAssessmentPartnerData withSecret(String secret)
Set the secret property: secret to authenticate the partner - write only.
Parameters:
Returns: