SecurityAssessmentMetadataPartnerData Class

  • java.lang.Object
    • com.azure.resourcemanager.security.models.SecurityAssessmentMetadataPartnerData

public final class SecurityAssessmentMetadataPartnerData

Describes the partner that created the assessment.

Constructor Summary

Constructor Description
SecurityAssessmentMetadataPartnerData()

Creates an instance of SecurityAssessmentMetadataPartnerData class.

Method Summary

Modifier and Type Method and Description
String partnerName()

Get the partnerName property: Name of the company of the partner.

String productName()

Get the productName property: Name of the product of the partner that created the assessment.

String secret()

Get the secret property: Secret to authenticate the partner and verify it created the assessment - write only.

void validate()

Validates the instance.

SecurityAssessmentMetadataPartnerData withPartnerName(String partnerName)

Set the partnerName property: Name of the company of the partner.

SecurityAssessmentMetadataPartnerData withProductName(String productName)

Set the productName property: Name of the product of the partner that created the assessment.

SecurityAssessmentMetadataPartnerData 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

partnerName

public String partnerName()

Get the partnerName property: Name of the company of the partner.

Returns:

the partnerName value.

productName

public String productName()

Get the productName property: Name of the product of the partner that created the assessment.

Returns:

the productName value.

secret

public String secret()

Get the secret property: Secret to authenticate the partner and verify it created the assessment - write only.

Returns:

the secret value.

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:

partnerName - the partnerName value to set.

Returns:

the SecurityAssessmentMetadataPartnerData object itself.

withProductName

public SecurityAssessmentMetadataPartnerData withProductName(String productName)

Set the productName property: Name of the product of the partner that created the assessment.

Parameters:

productName - the productName value to set.

Returns:

the SecurityAssessmentMetadataPartnerData object itself.

withSecret

public SecurityAssessmentMetadataPartnerData withSecret(String secret)

Set the secret property: Secret to authenticate the partner and verify it created the assessment - write only.

Parameters:

secret - the secret value to set.

Returns:

the SecurityAssessmentMetadataPartnerData object itself.

Applies to