SecurityAssessmentMetadataPartnerData Class
- java.
lang. Object - com.
azure. resourcemanager. security. models. SecurityAssessmentMetadataPartnerData
- com.
Implements
public final class SecurityAssessmentMetadataPartnerData
implements JsonSerializable<SecurityAssessmentMetadataPartnerData>
Describes the partner that created the assessment.
Constructor Summary
| Constructor | Description |
|---|---|
| SecurityAssessmentMetadataPartnerData() |
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 |
productName()
Get the product |
| String |
secret()
Get the secret property: Secret to authenticate the partner and verify it created the assessment - write only. |
|
Json |
toJson(JsonWriter jsonWriter) |
| void |
validate()
Validates the instance. |
|
Security |
withPartnerName(String partnerName)
Set the partner |
|
Security |
withProductName(String productName)
Set the product |
|
Security |
withSecret(String secret)
Set the secret property: Secret to authenticate the partner and verify it created the assessment - write only. |
Methods inherited from java.lang.Object
Constructor Details
SecurityAssessmentMetadataPartnerData
public SecurityAssessmentMetadataPartnerData()
Creates an instance of SecurityAssessmentMetadataPartnerData class.
Method Details
fromJson
public static SecurityAssessmentMetadataPartnerData fromJson(JsonReader jsonReader)
Reads an instance of SecurityAssessmentMetadataPartnerData from the JsonReader.
Parameters:
Returns:
Throws:
partnerName
public String partnerName()
Get the partnerName property: Name of the company of the partner.
Returns:
productName
public String productName()
Get the productName property: Name of the product of the partner that created the assessment.
Returns:
secret
public String secret()
Get the secret property: Secret to authenticate the partner and verify it created the assessment - write only.
Returns:
toJson
validate
public void validate()
Validates the instance.
withPartnerName
public SecurityAssessmentMetadataPartnerData withPartnerName(String partnerName)
Set the partnerName property: Name of the company of the partner.
Parameters:
Returns:
withProductName
public SecurityAssessmentMetadataPartnerData withProductName(String productName)
Set the productName property: Name of the product of the partner that created the assessment.
Parameters:
Returns:
withSecret
public SecurityAssessmentMetadataPartnerData withSecret(String secret)
Set the secret property: Secret to authenticate the partner and verify it created the assessment - write only.
Parameters:
Returns: