ComputeProfile Class

  • java.lang.Object
    • com.azure.resourcemanager.hdinsight.models.ComputeProfile

public final class ComputeProfile

Describes the compute profile.

Constructor Summary

Constructor Description
ComputeProfile()

Creates an instance of ComputeProfile class.

Method Summary

Modifier and Type Method and Description
List<Role> roles()

Get the roles property: The list of roles in the cluster.

void validate()

Validates the instance.

ComputeProfile withRoles(List<Role> roles)

Set the roles property: The list of roles in the cluster.

Methods inherited from java.lang.Object

Constructor Details

ComputeProfile

public ComputeProfile()

Creates an instance of ComputeProfile class.

Method Details

roles

public List roles()

Get the roles property: The list of roles in the cluster.

Returns:

the roles value.

validate

public void validate()

Validates the instance.

withRoles

public ComputeProfile withRoles(List roles)

Set the roles property: The list of roles in the cluster.

Parameters:

roles - the roles value to set.

Returns:

the ComputeProfile object itself.

Applies to