Class ApiOperationProperties


  • public final class ApiOperationProperties
    extends Object
    Additional details about an operation.
    • Constructor Detail

      • ApiOperationProperties

        public ApiOperationProperties()
    • Method Detail

      • serviceSpecification

        public ApiOperationPropertiesServiceSpecification serviceSpecification()
        Get the serviceSpecification property: Specification of the all the metrics provided for a resource type.
        Returns:
        the serviceSpecification value.
      • withServiceSpecification

        public ApiOperationProperties withServiceSpecification​(ApiOperationPropertiesServiceSpecification serviceSpecification)
        Set the serviceSpecification property: Specification of the all the metrics provided for a resource type.
        Parameters:
        serviceSpecification - the serviceSpecification value to set.
        Returns:
        the ApiOperationProperties object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.