Class AttestationServiceCreationParams
java.lang.Object
com.azure.resourcemanager.attestation.models.AttestationServiceCreationParams
Parameters for creating an attestation provider.
-
Constructor Summary
ConstructorDescriptionCreates an instance of AttestationServiceCreationParams class. -
Method Summary
Modifier and TypeMethodDescriptionlocation()
Get the location property: The supported Azure location where the attestation provider should be created.Get the properties property: Properties of the attestation provider.tags()
Get the tags property: The tags that will be assigned to the attestation provider.void
validate()
Validates the instance.withLocation
(String location) Set the location property: The supported Azure location where the attestation provider should be created.Set the properties property: Properties of the attestation provider.Set the tags property: The tags that will be assigned to the attestation provider.
-
Constructor Details
-
AttestationServiceCreationParams
public AttestationServiceCreationParams()Creates an instance of AttestationServiceCreationParams class.
-
-
Method Details
-
location
Get the location property: The supported Azure location where the attestation provider should be created.- Returns:
- the location value.
-
withLocation
Set the location property: The supported Azure location where the attestation provider should be created.- Parameters:
location
- the location value to set.- Returns:
- the AttestationServiceCreationParams object itself.
-
tags
Get the tags property: The tags that will be assigned to the attestation provider.- Returns:
- the tags value.
-
withTags
Set the tags property: The tags that will be assigned to the attestation provider.- Parameters:
tags
- the tags value to set.- Returns:
- the AttestationServiceCreationParams object itself.
-
properties
Get the properties property: Properties of the attestation provider.- Returns:
- the properties value.
-
withProperties
public AttestationServiceCreationParams withProperties(AttestationServiceCreationSpecificParams properties) Set the properties property: Properties of the attestation provider.- Parameters:
properties
- the properties value to set.- Returns:
- the AttestationServiceCreationParams object itself.
-
validate
public void validate()Validates the instance.- Throws:
IllegalArgumentException
- thrown if the instance is not valid.
-