Class ProfileProperties
- java.lang.Object
-
- com.azure.resourcemanager.cdn.fluent.models.ProfileProperties
-
public final class ProfileProperties extends Object
The JSON object that contains the properties required to create a profile.
-
-
Constructor Summary
Constructors Constructor Description ProfileProperties()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringfrontDoorId()Get the frontDoorId property: The Id of the frontdoor.ManagedServiceIdentityidentity()Get the identity property: Managed service identity.IntegeroriginResponseTimeoutSeconds()Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.StringprovisioningState()Get the provisioningState property: Provisioning status of the profile.ProfileResourceStateresourceState()Get the resourceState property: Resource status of the profile.voidvalidate()Validates the instance.ProfilePropertieswithIdentity(ManagedServiceIdentity identity)Set the identity property: Managed service identity.ProfilePropertieswithOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin.
-
-
-
Method Detail
-
resourceState
public ProfileResourceState resourceState()
Get the resourceState property: Resource status of the profile.- Returns:
- the resourceState value.
-
identity
public ManagedServiceIdentity identity()
Get the identity property: Managed service identity.- Returns:
- the identity value.
-
withIdentity
public ProfileProperties withIdentity(ManagedServiceIdentity identity)
Set the identity property: Managed service identity.- Parameters:
identity- the identity value to set.- Returns:
- the ProfileProperties object itself.
-
provisioningState
public String provisioningState()
Get the provisioningState property: Provisioning status of the profile.- Returns:
- the provisioningState value.
-
frontDoorId
public String frontDoorId()
Get the frontDoorId property: The Id of the frontdoor.- Returns:
- the frontDoorId value.
-
originResponseTimeoutSeconds
public Integer originResponseTimeoutSeconds()
Get the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.- Returns:
- the originResponseTimeoutSeconds value.
-
withOriginResponseTimeoutSeconds
public ProfileProperties withOriginResponseTimeoutSeconds(Integer originResponseTimeoutSeconds)
Set the originResponseTimeoutSeconds property: Send and receive timeout on forwarding request to the origin. When timeout is reached, the request fails and returns.- Parameters:
originResponseTimeoutSeconds- the originResponseTimeoutSeconds value to set.- Returns:
- the ProfileProperties object itself.
-
validate
public void validate()
Validates the instance.- Throws:
IllegalArgumentException- thrown if the instance is not valid.
-
-